From 323f2f6f1f6b43e4a02417cd663809db4a39d0dd Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Sun, 26 Jul 2026 17:04:57 +0000 Subject: [PATCH] Deploy --- src/components/sections/GallerySection.tsx | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 src/components/sections/GallerySection.tsx 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 ( + + ) +}