From 294d0121f58df76743ccb752dd8c03616b8b272d Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Tue, 22 Jul 2025 16:58:20 +0300 Subject: Add portfolio --- src/components/widgets/Portfolio.astro | 56 ++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 src/components/widgets/Portfolio.astro (limited to 'src/components/widgets') diff --git a/src/components/widgets/Portfolio.astro b/src/components/widgets/Portfolio.astro new file mode 100644 index 0000000..8cd230c --- /dev/null +++ b/src/components/widgets/Portfolio.astro @@ -0,0 +1,56 @@ +--- +import type { Portfolio as Props } from '~/types'; +import Headline from '~/components/ui/Headline.astro'; +import WidgetWrapper from '~/components/ui/WidgetWrapper.astro'; +import Image from '~/components/common/Image.astro'; +import Button from '~/components/ui/Button.astro'; + +const { + title = '', + subtitle = '', + tagline = '', + items = [], + columns = 3, + callToAction, + + id, + isDark = false, + classes = {}, + bg = await Astro.slots.render('bg'), +} = Astro.props; +--- + + + + +
+
+ { + items && + items.map((image) => ( +
+
+ +
+
+
+ )) + } +
+
+ + { + callToAction && ( +
+
+ ) + } +
\ No newline at end of file -- cgit v1.2.3