From 145552347f5a7e7cb838584e5c1e3fa1f88b6dae Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Sun, 26 Jul 2026 16:40:57 +0000 Subject: [PATCH] Deploy --- src/components/sections/GallerySection.tsx | 89 ++++++++++++++++++++++ 1 file changed, 89 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..9d696a0 --- /dev/null +++ b/src/components/sections/GallerySection.tsx @@ -0,0 +1,89 @@ +'use client' + +import { useState } from 'react' +import Image from 'next/image' +import { X } from 'lucide-react' +import { useEmDashContent } from '@/hooks/useEmDashContent' + +export default function GallerySection() { + const { items, loading } = useEmDashContent('gallery') + const [selected, setSelected] = useState<{ image: string; title: string; description: string } | null>(null) + + if (loading) return ( +
+
+
+ ) + + if (items.length === 0) return null + + return ( + + ) +}