From c9d2861805cacc00bb9c9b1f5318edbf0ff04366 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 23 Jun 2026 08:47:28 +0000 Subject: [PATCH] Deploy --- .../sections/KwaNtofontofoGallerySection.tsx | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/components/sections/KwaNtofontofoGallerySection.tsx diff --git a/src/components/sections/KwaNtofontofoGallerySection.tsx b/src/components/sections/KwaNtofontofoGallerySection.tsx new file mode 100644 index 0000000..35ef5f7 --- /dev/null +++ b/src/components/sections/KwaNtofontofoGallerySection.tsx @@ -0,0 +1,58 @@ +'use client' + +import { useEmDashContent } from '@/hooks/useEmDashContent' +import Image from 'next/image' + +export default function KwaNtofontofoGallerySection() { + const { items, loading } = useEmDashContent('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.title +
+
+

{d.title}

+ {d.description && ( +

{d.description}

+ )} +
+
+ ) + })} +
+
+
+ ) +}