From e11f49721f7b288d1c3bc57f9b43d3dbb830deca Mon Sep 17 00:00:00 2001 From: Alan Le Ruyet Date: Mon, 16 Sep 2024 10:44:22 +0200 Subject: [PATCH 1/6] =?UTF-8?q?feat:=20hackaton=20-=20am=C3=A9lioration=20?= =?UTF-8?q?marges=20d=C3=A9p=C3=B4t=20d'offre=20+=20affichage=20localisati?= =?UTF-8?q?on=20fiche=20(#1507)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: améliorations présentation localisation * feat: amélioration affichage localisation * feat: progress marges * feat: mt page de création * feat: réduction du padding du container --- .../ItemDetailServices/ItemDetailCard.tsx | 28 +++++++++++-------- .../ItemDistanceToCenter.tsx | 2 +- .../Authentification/CreationCompte.tsx | 2 +- .../espace_pro/AuthentificationLayout.tsx | 12 ++++---- ui/components/espace_pro/Layout/index.tsx | 2 +- ui/theme/components/logos_pro/LbaNew.tsx | 2 +- 6 files changed, 27 insertions(+), 21 deletions(-) diff --git a/ui/components/ItemDetail/ItemDetailServices/ItemDetailCard.tsx b/ui/components/ItemDetail/ItemDetailServices/ItemDetailCard.tsx index e584a1554a..835d220d17 100644 --- a/ui/components/ItemDetail/ItemDetailServices/ItemDetailCard.tsx +++ b/ui/components/ItemDetail/ItemDetailServices/ItemDetailCard.tsx @@ -28,18 +28,22 @@ export default function ItemDetailCard({ selectedItem }) { ) : ( - - - - - {selectedItem?.place?.zipCode} - - {selectedItem?.place?.city || selectedItem?.place?.address} - - + + + + + + + + {selectedItem?.place?.zipCode} + + {selectedItem?.place?.city || selectedItem?.place?.address} + + + ) diff --git a/ui/components/ItemDetail/ItemDetailServices/ItemDistanceToCenter.tsx b/ui/components/ItemDetail/ItemDetailServices/ItemDistanceToCenter.tsx index c6eb644617..4a8d152c5e 100644 --- a/ui/components/ItemDetail/ItemDetailServices/ItemDistanceToCenter.tsx +++ b/ui/components/ItemDetail/ItemDetailServices/ItemDistanceToCenter.tsx @@ -8,7 +8,7 @@ export default function ItemDistanceToCenter({ item }: { item: ILbaItemFormation const { formValues } = useContext(DisplayContext) return formValues?.location?.value && (item?.place?.distance ?? -1) >= 0 ? ( - + {item?.place?.distance} km(s) du lieu de recherche ) : ( diff --git a/ui/components/espace_pro/Authentification/CreationCompte.tsx b/ui/components/espace_pro/Authentification/CreationCompte.tsx index c9ccb7ffe4..8f1e867294 100644 --- a/ui/components/espace_pro/Authentification/CreationCompte.tsx +++ b/ui/components/espace_pro/Authentification/CreationCompte.tsx @@ -267,7 +267,7 @@ export default function CreationCompte({ type, isWidget = false, origin = "lba" {bandeau && } - + {wid.isWidget && ( diff --git a/ui/components/espace_pro/AuthentificationLayout.tsx b/ui/components/espace_pro/AuthentificationLayout.tsx index 74a5f12511..62406727ab 100644 --- a/ui/components/espace_pro/AuthentificationLayout.tsx +++ b/ui/components/espace_pro/AuthentificationLayout.tsx @@ -27,13 +27,13 @@ export default function AuthentificationLayout(props) { } return ( - + - + - - marianne + + @@ -48,7 +48,9 @@ export default function AuthentificationLayout(props) { {props.fromDashboard ? "fermer" : "Retour à l'accueil"} - {props.children} + + {props.children} + ) diff --git a/ui/components/espace_pro/Layout/index.tsx b/ui/components/espace_pro/Layout/index.tsx index 69eb657efe..978c09834c 100644 --- a/ui/components/espace_pro/Layout/index.tsx +++ b/ui/components/espace_pro/Layout/index.tsx @@ -33,7 +33,7 @@ export default function Layout({ {adminPage && } )} - + {children} {!widget && footer &&