diff --git a/www/src/components/PageHero.astro b/www/src/components/PageHero.astro index b245e2d..02ad056 100644 --- a/www/src/components/PageHero.astro +++ b/www/src/components/PageHero.astro @@ -1,33 +1,40 @@ --- interface Props { title: string; + subtitle?: string; image?: string; eyebrow?: string; constrain?: boolean; } -const { title, image, eyebrow, constrain = false } = Astro.props; +const { title, subtitle, image, eyebrow, constrain = false } = Astro.props; ---
+
{eyebrow - ?

{eyebrow}

{title}

- :

{title}

+ ?

{eyebrow}

{title}

{subtitle &&

{subtitle}

}
+ : <>

{title}

{subtitle &&

{subtitle}

} } +