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