diff --git a/src/components/sections/GallerySection.tsx b/src/components/sections/GallerySection.tsx new file mode 100644 index 0000000..2c59f38 --- /dev/null +++ b/src/components/sections/GallerySection.tsx @@ -0,0 +1,43 @@ +'use client' + +import { useEmDashContent } from '@/hooks/useEmDashContent' +import Image from 'next/image' + +export default function GallerySection() { + const { items, loading } = useEmDashContent('gallery') + + if (loading) { + return ( +
+
+
+ ) + } + + if (items.length === 0) return null + + return ( + + ) +} \ No newline at end of file