From 96a55bc484df114c67c2e64d7c6c67a263c97dc7 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Thu, 4 Jun 2026 11:45:21 +0000 Subject: [PATCH] Deploy --- src/components/sections/GallerySection.tsx | 50 ++++++++++++++++++++++ 1 file changed, 50 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..703d382 --- /dev/null +++ b/src/components/sections/GallerySection.tsx @@ -0,0 +1,50 @@ +'use client' + +import Image from 'next/image' +import { useEmDashContent } from '@/hooks/useEmDashContent' + +export default function GallerySection() { + const { items, loading } = useEmDashContent('gallery') + + if (loading) { + return ( +
+
+
+ ) + } + + if (items.length === 0) return null + + return ( + + ) +}