diff --git a/src/components/widgets/Button.astro b/src/components/widgets/Button.astro new file mode 100644 index 0000000..b92bfef --- /dev/null +++ b/src/components/widgets/Button.astro @@ -0,0 +1,21 @@ +--- +import Icon from 'astro-icon'; + +export interface Props { + text: string; + href: string; + icon?: string; +} + +const { href, icon, text } = Astro.props; +--- + + + {icon && } + {text} + diff --git a/src/pages/docs/download.astro b/src/pages/docs/download.astro index 2faad71..4329e61 100644 --- a/src/pages/docs/download.astro +++ b/src/pages/docs/download.astro @@ -1,30 +1,21 @@ --- import Layout from "~/layouts/PageLayout.astro"; import CallToAction from "~/components/widgets/CallToAction.astro"; +import Button from "~/components/widgets/Button.astro"; const meta = { - title: "FAQs", + title: "FAQs", }; --- - - - + +
+
+
+
+