diff --git a/src/components/sections/GallerySection.tsx b/src/components/sections/GallerySection.tsx new file mode 100644 index 0000000..aa957de --- /dev/null +++ b/src/components/sections/GallerySection.tsx @@ -0,0 +1,40 @@ +'use client' +import { useState } from 'react'; +import { useVulaContent } from '@/hooks/useVulaContent' +import Image from 'next/image' + +export default function GallerySection() { + const { items, loading } = useVulaContent('gallery') + const [active, setActive] = useState(0) // hook before guard + if (loading) return
{d.title}
} + {d.description &&{d.description}
} +