diff --git a/src/components/widgets/Content.astro b/src/components/widgets/Content.astro index 7417285..3da7f75 100644 --- a/src/components/widgets/Content.astro +++ b/src/components/widgets/Content.astro @@ -2,6 +2,8 @@ import { Icon } from 'astro-icon/components'; import { Picture } from '@astrojs/image/components'; import type { Content } from '~/types'; +import Headline from '../ui/Headline.astro'; +import WidgetWrapper from '../ui/WidgetWrapper.astro'; const { title = await Astro.slots.render('title'), @@ -12,34 +14,30 @@ const { image = await Astro.slots.render('image'), isReversed = false, isAfterContent = false, + + id, + isDark = false, + classes = {}, + bg = await Astro.slots.render('bg'), } = Astro.props as Content; --- -
-
- { - (title || subtitle || tagline) && ( -
- {tagline && ( -

- )} - {title && ( -

- )} - - {subtitle && ( -

- )} -

- ) - } -
+ +
@@ -88,4 +86,4 @@ const {
-
+ diff --git a/src/components/widgets/Steps2.astro b/src/components/widgets/Steps2.astro index 68e2981..9482ff1 100644 --- a/src/components/widgets/Steps2.astro +++ b/src/components/widgets/Steps2.astro @@ -28,14 +28,14 @@ const { tagline={tagline} callToAction={callToAction} classes={{ - container: 'text-left mb-4 md:mb-8', + container: 'text-center md:text-left mb-4 md:mb-8', title: 'mb-4 text-3xl lg:text-4xl font-bold font-heading', subtitle: 'mb-8 text-xl text-muted dark:text-slate-400', // ...((classes?.headline as {}) ?? {}), }} /> -
+
{ typeof callToAction === 'string' ? ( @@ -52,7 +52,7 @@ const { }
-
+