diff --git a/src/components/widgets/CallToAction.astro b/src/components/widgets/CallToAction.astro index adc8aab..396fdd4 100644 --- a/src/components/widgets/CallToAction.astro +++ b/src/components/widgets/CallToAction.astro @@ -25,13 +25,17 @@ const { --- -
+
{ diff --git a/src/components/widgets/Features3.astro b/src/components/widgets/Features3.astro new file mode 100644 index 0000000..843652f --- /dev/null +++ b/src/components/widgets/Features3.astro @@ -0,0 +1,40 @@ +--- +import Headline from '~/components/ui/Headline.astro'; +import ItemGrid from '~/components/ui/ItemGrid.astro'; +import WidgetWrapper from '~/components/ui/WidgetWrapper.astro'; +import type { Features } from '~/types'; + +const { + title = await Astro.slots.render('title'), + subtitle = await Astro.slots.render('subtitle'), + tagline = await Astro.slots.render('tagline'), + image, + items = [], + columns, + + id, + isDark = false, + classes = {}, + bg = await Astro.slots.render('bg'), +} = Astro.props as Features; +--- + + + + +
+ {image && image.src && {image.alt} +
+ + +
diff --git a/src/pages/landing/startup.astro b/src/pages/landing/startup.astro index 7b7595c..c7d032d 100644 --- a/src/pages/landing/startup.astro +++ b/src/pages/landing/startup.astro @@ -9,6 +9,7 @@ import { headerData } from '~/navigation'; import Features2 from '~/components/widgets/Features2.astro'; import Features from '~/components/widgets/Features.astro'; import Stats from '~/components/widgets/Stats.astro'; +import Features3 from '~/components/widgets/Features3.astro'; const metadata = { title: 'Startup Landing Page', @@ -142,6 +143,7 @@ const metadata = { + + + + + +
+
+
diff --git a/src/types.d.ts b/src/types.d.ts index b4145a3..963d00b 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -154,7 +154,7 @@ export interface Testimonial { // COMPONENTS export interface CallToAction { - targetBlank: boolean; + targetBlank?: boolean; text?: string; icon?: string; href?: string;