From 190a6bf9a97857161843951a9557c703d093b6d0 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Sat, 25 Jul 2026 11:17:58 +0000 Subject: [PATCH] Deploy --- .../sections/EarthyMomentsGallerySection.tsx | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 src/components/sections/EarthyMomentsGallerySection.tsx diff --git a/src/components/sections/EarthyMomentsGallerySection.tsx b/src/components/sections/EarthyMomentsGallerySection.tsx new file mode 100644 index 0000000..f4167f1 --- /dev/null +++ b/src/components/sections/EarthyMomentsGallerySection.tsx @@ -0,0 +1,80 @@ +'use client' + +import { useEmDashContent } from '@/hooks/useEmDashContent' +import Image from 'next/image' + +export default function EarthyMomentsGallerySection() { + const { items, loading } = useEmDashContent('gallery') + + if (loading) { + return ( +
+
+
+ ) + } + + if (items.length === 0) return null + + return ( +
+
+
+ + Visual Stories + +

+ Earthy Moments +

+

+ A glimpse into the soul of Masai Suites +

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

+ {d.title} +

+ {d.description && ( +

+ {d.description} +

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