diff --git a/src/components/sections/GallerySection.tsx b/src/components/sections/GallerySection.tsx new file mode 100644 index 0000000..cc0a95b --- /dev/null +++ b/src/components/sections/GallerySection.tsx @@ -0,0 +1,74 @@ +'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 ( + + ) +}