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 ( + + ) +}