diff --git a/website/src/landings/manualLandingsUtils.tsx b/website/src/landings/manualLandingsUtils.tsx index 6b8d2a02..83006ff5 100644 --- a/website/src/landings/manualLandingsUtils.tsx +++ b/website/src/landings/manualLandingsUtils.tsx @@ -70,19 +70,19 @@ export function NarrowAndCentered({children, narrower = false}: ChildrenProps & ) } -export function LinkToFichePratique({url, url2}: {url: string; url2?: string}) { +export function LinkToFichePratique({url, url2, text, text2}: {url: string; url2?: string; text?: string; text2?: string}) { return (

Pour en savoir plus sur vos droits, rendez-vous sur{' '} - {url} + {text ?? url} {url2 ? ( <> {' '} et{' '} - {url2} + {text2 ?? url2} ) : null} diff --git a/website/src/reusablePages/manual_landings/blackFridayAboFraisCaches.tsx b/website/src/reusablePages/manual_landings/blackFridayAboFraisCaches.tsx index d93b6a90..9a69ae0b 100644 --- a/website/src/reusablePages/manual_landings/blackFridayAboFraisCaches.tsx +++ b/website/src/reusablePages/manual_landings/blackFridayAboFraisCaches.tsx @@ -1,16 +1,17 @@ -import {FullWidthPageContainer} from '@/components_simple/PageContainers' -import {PageComponentProps} from '@/core/metadatas' import { AlternatingPurpleBands, - getManualLpButtonProps, HighlightBlue, HighlightPurple, LinkToFichePratique, LpColoredBand, NarrowAndCentered, WithSuperheroIllustration, + getManualLpButtonProps, } from '@/landings/manualLandingsUtils' + import Button from '@codegouvfr/react-dsfr/Button' +import {FullWidthPageContainer} from '@/components_simple/PageContainers' +import {PageComponentProps} from '@/core/metadatas' import {notFound} from 'next/navigation' export function blackFridayAboFraisCaches(props: PageComponentProps) { @@ -108,7 +109,9 @@ export function blackFridayAboFraisCaches(props: PageComponentProps) { diff --git a/website/src/reusablePages/manual_landings/blackFridayColis.tsx b/website/src/reusablePages/manual_landings/blackFridayColis.tsx index 969b308a..2d6a05e0 100644 --- a/website/src/reusablePages/manual_landings/blackFridayColis.tsx +++ b/website/src/reusablePages/manual_landings/blackFridayColis.tsx @@ -1,16 +1,17 @@ -import {FullWidthPageContainer} from '@/components_simple/PageContainers' -import {PageComponentProps} from '@/core/metadatas' import { AlternatingPurpleBands, - getManualLpButtonProps, HighlightBlue, HighlightPurple, LinkToFichePratique, LpColoredBand, NarrowAndCentered, WithSuperheroIllustration, + getManualLpButtonProps, } from '@/landings/manualLandingsUtils' + import Button from '@codegouvfr/react-dsfr/Button' +import {FullWidthPageContainer} from '@/components_simple/PageContainers' +import {PageComponentProps} from '@/core/metadatas' import {notFound} from 'next/navigation' export function blackFridayColis(props: PageComponentProps) { @@ -112,7 +113,10 @@ export function blackFridayColis(props: PageComponentProps) {

{button} - + ) diff --git a/website/src/reusablePages/manual_landings/blackFridayDarkPatterns.tsx b/website/src/reusablePages/manual_landings/blackFridayDarkPatterns.tsx index 29e8ed85..2507d72f 100644 --- a/website/src/reusablePages/manual_landings/blackFridayDarkPatterns.tsx +++ b/website/src/reusablePages/manual_landings/blackFridayDarkPatterns.tsx @@ -1,16 +1,17 @@ -import {FullWidthPageContainer} from '@/components_simple/PageContainers' -import {PageComponentProps} from '@/core/metadatas' import { AlternatingPurpleBands, - getManualLpButtonProps, HighlightBlue, HighlightPurple, LinkToFichePratique, LpColoredBand, NarrowAndCentered, WithSuperheroIllustration, + getManualLpButtonProps, } from '@/landings/manualLandingsUtils' + import Button from '@codegouvfr/react-dsfr/Button' +import {FullWidthPageContainer} from '@/components_simple/PageContainers' +import {PageComponentProps} from '@/core/metadatas' import {notFound} from 'next/navigation' export function blackFridayDarkPatterns(props: PageComponentProps) { @@ -117,7 +118,10 @@ export function blackFridayDarkPatterns(props: PageComponentProps) {

{button} - + ) diff --git a/website/src/reusablePages/manual_landings/blackFridayFausseReduction.tsx b/website/src/reusablePages/manual_landings/blackFridayFausseReduction.tsx index b110ebb6..b06e1f28 100644 --- a/website/src/reusablePages/manual_landings/blackFridayFausseReduction.tsx +++ b/website/src/reusablePages/manual_landings/blackFridayFausseReduction.tsx @@ -1,16 +1,17 @@ -import {FullWidthPageContainer} from '@/components_simple/PageContainers' -import {PageComponentProps} from '@/core/metadatas' import { AlternatingPurpleBands, - getManualLpButtonProps, HighlightBlue, HighlightPurple, LinkToFichePratique, LpColoredBand, NarrowAndCentered, WithSuperheroIllustration, + getManualLpButtonProps, } from '@/landings/manualLandingsUtils' + import Button from '@codegouvfr/react-dsfr/Button' +import {FullWidthPageContainer} from '@/components_simple/PageContainers' +import {PageComponentProps} from '@/core/metadatas' import {notFound} from 'next/navigation' export function blackFridayFausseReduction(props: PageComponentProps) { @@ -100,7 +101,10 @@ export function blackFridayFausseReduction(props: PageComponentProps) {

{button} - + ) diff --git a/website/src/reusablePages/manual_landings/blackFridayFauxStocks.tsx b/website/src/reusablePages/manual_landings/blackFridayFauxStocks.tsx index b67f57a8..57f2e177 100644 --- a/website/src/reusablePages/manual_landings/blackFridayFauxStocks.tsx +++ b/website/src/reusablePages/manual_landings/blackFridayFauxStocks.tsx @@ -1,15 +1,16 @@ -import {FullWidthPageContainer} from '@/components_simple/PageContainers' -import {PageComponentProps} from '@/core/metadatas' import { AlternatingPurpleBands, - getManualLpButtonProps, HighlightBlue, HighlightPurple, LinkToFichePratique, LpColoredBand, NarrowAndCentered, + getManualLpButtonProps, } from '@/landings/manualLandingsUtils' + import Button from '@codegouvfr/react-dsfr/Button' +import {FullWidthPageContainer} from '@/components_simple/PageContainers' +import {PageComponentProps} from '@/core/metadatas' import {notFound} from 'next/navigation' export function blackFridayFauxStocks(props: PageComponentProps) { @@ -94,7 +95,10 @@ export function blackFridayFauxStocks(props: PageComponentProps) {

{button} - + ) diff --git a/website/src/reusablePages/manual_landings/blackFridayRetractation.tsx b/website/src/reusablePages/manual_landings/blackFridayRetractation.tsx index c9970b33..24e5690a 100644 --- a/website/src/reusablePages/manual_landings/blackFridayRetractation.tsx +++ b/website/src/reusablePages/manual_landings/blackFridayRetractation.tsx @@ -1,16 +1,17 @@ -import {FullWidthPageContainer} from '@/components_simple/PageContainers' -import {PageComponentProps} from '@/core/metadatas' import { AlternatingPurpleBands, - getManualLpButtonProps, HighlightBlue, HighlightPurple, LinkToFichePratique, LpColoredBand, NarrowAndCentered, WithSuperheroIllustration, + getManualLpButtonProps, } from '@/landings/manualLandingsUtils' + import Button from '@codegouvfr/react-dsfr/Button' +import {FullWidthPageContainer} from '@/components_simple/PageContainers' +import {PageComponentProps} from '@/core/metadatas' import {notFound} from 'next/navigation' export function blackFridayRetractation(props: PageComponentProps) { @@ -113,7 +114,10 @@ export function blackFridayRetractation(props: PageComponentProps) {

{button} - + ) diff --git a/website/src/reusablePages/manual_landings/blackFridaySav.tsx b/website/src/reusablePages/manual_landings/blackFridaySav.tsx index 95bbe62a..e29475db 100644 --- a/website/src/reusablePages/manual_landings/blackFridaySav.tsx +++ b/website/src/reusablePages/manual_landings/blackFridaySav.tsx @@ -1,16 +1,17 @@ -import {FullWidthPageContainer} from '@/components_simple/PageContainers' -import {PageComponentProps} from '@/core/metadatas' import { AlternatingPurpleBands, - getManualLpButtonProps, HighlightBlue, HighlightPurple, LinkToFichePratique, LpColoredBand, NarrowAndCentered, WithSuperheroIllustration, + getManualLpButtonProps, } from '@/landings/manualLandingsUtils' + import Button from '@codegouvfr/react-dsfr/Button' +import {FullWidthPageContainer} from '@/components_simple/PageContainers' +import {PageComponentProps} from '@/core/metadatas' import {notFound} from 'next/navigation' export function blackFridaySav(props: PageComponentProps) { @@ -112,7 +113,10 @@ export function blackFridaySav(props: PageComponentProps) {

{button} - + ) diff --git a/website/src/reusablePages/manual_landings/blackFridaySitesFrauduleux.tsx b/website/src/reusablePages/manual_landings/blackFridaySitesFrauduleux.tsx index f4527ff8..d2c4b980 100644 --- a/website/src/reusablePages/manual_landings/blackFridaySitesFrauduleux.tsx +++ b/website/src/reusablePages/manual_landings/blackFridaySitesFrauduleux.tsx @@ -1,15 +1,16 @@ -import {FullWidthPageContainer} from '@/components_simple/PageContainers' -import {PageComponentProps} from '@/core/metadatas' import { AlternatingPurpleBands, - getManualLpButtonProps, HighlightBlue, HighlightPurple, LinkToFichePratique, LpColoredBand, NarrowAndCentered, + getManualLpButtonProps, } from '@/landings/manualLandingsUtils' + import Button from '@codegouvfr/react-dsfr/Button' +import {FullWidthPageContainer} from '@/components_simple/PageContainers' +import {PageComponentProps} from '@/core/metadatas' import {notFound} from 'next/navigation' export function blackFridaySitesFrauduleux(props: PageComponentProps) { @@ -108,7 +109,10 @@ export function blackFridaySitesFrauduleux(props: PageComponentProps) {

{button} - + )