diff --git a/site/source/components/ShareSimulationBanner/index.tsx b/site/source/components/ShareSimulationBanner/index.tsx index c3d480dbe..f947864ec 100644 --- a/site/source/components/ShareSimulationBanner/index.tsx +++ b/site/source/components/ShareSimulationBanner/index.tsx @@ -16,6 +16,7 @@ import { TrackingContext } from '../../ATInternetTracking' import { useParamsFromSituation } from '../utils/useSearchParamsSimulationSharing' import { ShareSimulationPopup } from './ShareSimulationPopup' import { PlacesDesEntreprisesButton } from '../PlaceDesEntreprises' +import { Link } from '@/design-system/typography/link' export function useUrl() { const language = useTranslation().i18n.language @@ -37,10 +38,6 @@ export function useUrl() { return siteUrl + path + '?' + searchParams.toString() } -const ButtonLabel = styled.span` - margin-left: 1rem; -` - export default function ShareOrSaveSimulationBanner() { const { t } = useTranslation() const tracker = useContext(TrackingContext) @@ -65,17 +62,15 @@ export default function ShareOrSaveSimulationBanner() { ( - + {' '} + + Générer un lien de partage + + )} small > @@ -104,14 +97,12 @@ export default function ShareOrSaveSimulationBanner() { {typeof window.print === 'function' && ( - + window.print()}> + {' '} + + Imprimer ou sauvegarder en PDF + + )} diff --git a/site/source/components/Simulation/index.tsx b/site/source/components/Simulation/index.tsx index 695fa6e62..047920afc 100644 --- a/site/source/components/Simulation/index.tsx +++ b/site/source/components/Simulation/index.tsx @@ -1,7 +1,7 @@ import { ConversationProps } from '@/components/conversation/Conversation' import PageFeedback from '@/components/Feedback' import ShareOrSaveSimulationBanner from '@/components/ShareSimulationBanner' -import { PopoverWithTrigger } from '@/design-system' +import { Message, PopoverWithTrigger } from '@/design-system' import { Spacing } from '@/design-system/layout' import { Link } from '@/design-system/typography/link' import { diff --git a/site/source/components/conversation/SeeAnswersButton.tsx b/site/source/components/conversation/SeeAnswersButton.tsx index 51f6b157f..f048886b7 100644 --- a/site/source/components/conversation/SeeAnswersButton.tsx +++ b/site/source/components/conversation/SeeAnswersButton.tsx @@ -8,7 +8,7 @@ export default function SeeAnswersButton() { return ( ( - )}