From fcc2f4704e39b0e69b377cc138f75027721dac22 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Tue, 22 Jul 2025 15:08:37 +0300 Subject: Initial template --- src/components/widgets/Contact.astro | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/components/widgets/Contact.astro (limited to 'src/components/widgets/Contact.astro') diff --git a/src/components/widgets/Contact.astro b/src/components/widgets/Contact.astro new file mode 100644 index 0000000..122f4b0 --- /dev/null +++ b/src/components/widgets/Contact.astro @@ -0,0 +1,40 @@ +--- +import FormContainer from '~/components/ui/Form.astro'; +import Headline from '~/components/ui/Headline.astro'; +import WidgetWrapper from '~/components/ui/WidgetWrapper.astro'; +import type { Contact as Props } from '~/types'; + +const { + title = await Astro.slots.render('title'), + subtitle = await Astro.slots.render('subtitle'), + tagline = await Astro.slots.render('tagline'), + inputs, + textarea, + disclaimer, + button, + description, + + id, + isDark = false, + classes = {}, + bg = await Astro.slots.render('bg'), +} = Astro.props; +--- + + + + + { + inputs && ( +
+ +
+ ) + } +
-- cgit v1.2.3