From c7b6e597d556fd6be87f568f516c35208a22589e Mon Sep 17 00:00:00 2001 From: widgeter Date: Thu, 10 Aug 2023 11:03:23 +0200 Subject: [PATCH] Include Faqs widged on pricing page --- src/components/widgets/FAQs.astro | 26 ++++++++---------- src/pages/pricing.astro | 44 ++++++++++++++++++++++++++++--- 2 files changed, 52 insertions(+), 18 deletions(-) diff --git a/src/components/widgets/FAQs.astro b/src/components/widgets/FAQs.astro index 159beab..dd7ffec 100644 --- a/src/components/widgets/FAQs.astro +++ b/src/components/widgets/FAQs.astro @@ -1,37 +1,33 @@ --- -import Headline from "~/components/ui/Headline.astro"; -import ItemGrid from "~/components/ui/ItemGrid.astro"; -import WidgetWrapper from "~/components/ui/WidgetWrapper.astro"; -import type { Faqs } from "~/types"; +import Headline from '~/components/ui/Headline.astro'; +import ItemGrid from '~/components/ui/ItemGrid.astro'; +import WidgetWrapper from '~/components/ui/WidgetWrapper.astro'; +import type { Faqs } from '~/types'; const { - title = "", - subtitle = "", - tagline = "", + title = '', + subtitle = '', + tagline = '', items = [], columns = 2, id, isDark = false, classes = {}, - bg = await Astro.slots.render("bg"), + bg = await Astro.slots.render('bg'), } = Astro.props as Faqs; --- - + diff --git a/src/pages/pricing.astro b/src/pages/pricing.astro index a55840a..7926cc8 100644 --- a/src/pages/pricing.astro +++ b/src/pages/pricing.astro @@ -1,6 +1,7 @@ --- import Layout from '~/layouts/PageLayout.astro'; import Prices from '~/components/widgets/Pricing.astro'; +import FAQs from '~/components/widgets/FAQs.astro'; const metadata = { title: 'Pricing', @@ -8,6 +9,8 @@ const metadata = { --- + + + + + +