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