From a77d1300f79bbfddd8ad6287ea4664c44104abe1 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Mon, 27 Jul 2026 17:10:22 +0000 Subject: [PATCH] Deploy --- src/components/sections/GallerySection.tsx | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/components/sections/GallerySection.tsx diff --git a/src/components/sections/GallerySection.tsx b/src/components/sections/GallerySection.tsx new file mode 100644 index 0000000..dc9a7cc --- /dev/null +++ b/src/components/sections/GallerySection.tsx @@ -0,0 +1,41 @@ +'use client' +import { useVulaContent } from '@/hooks/useVulaContent' +import { Card, CardContent } from '@/components/ui/Card' +import Image from 'next/image' + +export default function GallerySection() { + const { items, loading } = useVulaContent('gallery') + + if (loading) return
+ if (items.length === 0) return null + + return ( +
+
+

+ LOOKBOOK +

+
+ {items.slice(0, 8).map((item, i) => { + const d = item.data as { title?: string; description?: string; image?: string } + return ( + +
+ {d.image && ( + {d.title + )} +
+ + {d.title &&

{d.title}

} + {d.description &&

{d.description}

} +
+
+
+
+ ) + })} +
+
+
+ ) +} \ No newline at end of file