diff --git a/src/components/widgets/Hero.astro b/src/components/widgets/Hero.astro index e8ce3ee..15f3708 100644 --- a/src/components/widgets/Hero.astro +++ b/src/components/widgets/Hero.astro @@ -6,6 +6,7 @@ import type { CallToAction } from '~/types'; export interface Props { id?: string; title?: string; + title2?: string; subtitle?: string; tagline?: string; content?: string; @@ -16,6 +17,7 @@ export interface Props { const { id, title = await Astro.slots.render('title'), + title2 = await Astro.slots.render('title2'), subtitle = await Astro.slots.render('subtitle'), tagline, content = await Astro.slots.render('content'), @@ -46,6 +48,14 @@ const { /> ) } + { + title2 && ( +
+ ) + }