diff --git a/packages/ui/src/components/Organisms/PageContent/BlockImageTeasers.tsx b/packages/ui/src/components/Organisms/PageContent/BlockImageTeasers.tsx index 596a50f38..a7ac6f8f9 100644 --- a/packages/ui/src/components/Organisms/PageContent/BlockImageTeasers.tsx +++ b/packages/ui/src/components/Organisms/PageContent/BlockImageTeasers.tsx @@ -29,7 +29,7 @@ export function BlockImageTeaser( props: BlockImageTeasersFragment['teasers'][0], ) { return ( -
+
{props.image ? ( ) { function DefaultHero(props: NonNullable) { return ( <> -
+
{props.image ? ( {props.image.alt}) { data-test-id={'hero-image'} /> ) : null} -
+

{props.headline} @@ -82,33 +82,37 @@ function FormHero(props: NonNullable) { ) : null} -
-

- {props.headline} -

- {props.lead ? ( -

{props.lead}

- ) : null} - {props.ctaText && props.ctaUrl ? ( - - +
+

+ {props.headline} +

+ {props.lead ? ( +

+ {props.lead} +

+ ) : null} + {props.ctaText && props.ctaUrl ? ( + - - - {props.ctaText} - - ) : null} + + + + {props.ctaText} + + ) : null} +

{props.formUrl ? ( @@ -126,34 +130,38 @@ function NoImageHero(props: NonNullable) { return ( <> -
-
-

- {props.headline} -

- {props.lead ? ( -

{props.lead}

- ) : null} - {props.ctaText && props.ctaUrl ? ( - - +
+
+

+ {props.headline} +

+ {props.lead ? ( +

+ {props.lead} +

+ ) : null} + {props.ctaText && props.ctaUrl ? ( + - - - {props.ctaText} - - ) : null} + + + + {props.ctaText} + + ) : null} +