Skip to content

Commit

Permalink
LP : disable illustrations
Browse files Browse the repository at this point in the history
  • Loading branch information
eletallbetagouv committed Nov 5, 2024
1 parent 99d7aa4 commit 1ff1c46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/src/landings/manualLandingsUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ export function LinkToFichePratique({url, url2}: {url: string; url2?: string}) {
// - adds the illustration on the left on desktop
// - provides the illustration for mobile through a render prop, to be inserted somewhere in the children
export function WithSuperheroIllustration({children}: {children: (mobileIllustration: ReactNode) => ReactNode}) {
// we disable for now, until we have setup the proper illustration for each LP
const noIllustrationsForNow = true
if (noIllustrationsForNow) {
return <NarrowAndCentered>{children(null)}</NarrowAndCentered>
}
const alt = 'Superhéroïne brandissant un smartphone'
return (
<div className="flex gap items-center gap-4 flex-row">
Expand Down

0 comments on commit 1ff1c46

Please sign in to comment.