diff --git a/public/images/sourcing/sourcing-my-location.svg b/public/images/sourcing/sourcing-my-location.svg new file mode 100644 index 00000000..488e0b6f --- /dev/null +++ b/public/images/sourcing/sourcing-my-location.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/components/sourcing/map/sourcing-map-legend.tsx b/src/components/sourcing/map/sourcing-map-legend.tsx index e3e60fce..41baf7b4 100644 --- a/src/components/sourcing/map/sourcing-map-legend.tsx +++ b/src/components/sourcing/map/sourcing-map-legend.tsx @@ -4,7 +4,7 @@ import Image from "next/image"; const legends = [ { picto: "ma-collectivite", - label: "Ma collectivité", + label: "Mon projet", }, { picto: "rex", diff --git a/src/components/sourcing/side-panel/sourcing-my-location.tsx b/src/components/sourcing/side-panel/sourcing-my-location.tsx deleted file mode 100644 index fd7d9587..00000000 --- a/src/components/sourcing/side-panel/sourcing-my-location.tsx +++ /dev/null @@ -1,3 +0,0 @@ -export const SourcingMyLocation = () => { - return
{"J'ai séléctionné ma localisation"}
; -}; diff --git a/src/components/sourcing/side-panel/sourcing-side-panel-container.tsx b/src/components/sourcing/side-panel/sourcing-side-panel-container.tsx index d699962d..d6e82630 100644 --- a/src/components/sourcing/side-panel/sourcing-side-panel-container.tsx +++ b/src/components/sourcing/side-panel/sourcing-side-panel-container.tsx @@ -1,10 +1,11 @@ import { CustomMarker } from "@/src/components/sourcing/types"; import { Case, Conditional, Default } from "@/src/components/common/conditional-renderer"; -import { SourcingMyLocation } from "@/src/components/sourcing/side-panel/sourcing-my-location"; + import { SourcingRexSidePanelContainer } from "@/src/components/sourcing/side-panel/sourcing-rex-container"; // eslint-disable-next-line max-len import { SourcingInProgressSidePanelContainer } from "@/src/components/sourcing/side-panel/sourcing-in-progress-projet-container"; import { SourcingNoSelection } from "@/src/components/sourcing/side-panel/sourcing-no-selection"; +import { SourcingUserProjetLocation } from "./sourcing-user-projet-location"; export const SourcingSidePanelContainer = ({ marker }: { marker: CustomMarker | undefined }) => { return ( @@ -16,7 +17,7 @@ export const SourcingSidePanelContainer = ({ marker }: { marker: CustomMarker | - + diff --git a/src/components/sourcing/side-panel/sourcing-user-projet-location.tsx b/src/components/sourcing/side-panel/sourcing-user-projet-location.tsx new file mode 100644 index 00000000..859ffc45 --- /dev/null +++ b/src/components/sourcing/side-panel/sourcing-user-projet-location.tsx @@ -0,0 +1,14 @@ +import Image from "next/image"; + +export const SourcingUserProjetLocation = () => { + return ( +
+ +

Votre projet

+

Vous êtes sur le point de géolocalisation de votre projet.

+

+ {"Pour découvrir d'autres prestataires, cliquez sur les autres projets à proximité."} +

+
+ ); +};