From 77ebe8f6a039f5e54e704bf3093082d3025080a5 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Fri, 31 Jul 2026 14:12:32 +0000 Subject: [PATCH] Deploy --- .../sections/UmuziGallerySection.tsx | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/components/sections/UmuziGallerySection.tsx diff --git a/src/components/sections/UmuziGallerySection.tsx b/src/components/sections/UmuziGallerySection.tsx new file mode 100644 index 0000000..f94e1d4 --- /dev/null +++ b/src/components/sections/UmuziGallerySection.tsx @@ -0,0 +1,34 @@ +'use client' +import Image from 'next/image' +import { useVulaContent } from '@/hooks/useVulaContent' + +export default function UmuziGallerySection() { + const { items, loading } = useVulaContent('gallery') + if (loading) return
+ if (items.length === 0) return null + + return ( +
+
+
+

Gallery

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

{d.title}

+
+ )} +
+ ) : null + })} +
+
+
+ ) +}