From c133b6eb6d5b6f33858fd26d964cbc21837b5c6b Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Wed, 29 Jul 2026 19:04:17 +0000 Subject: [PATCH] Deploy --- .../sections/DivaLookbookSection.tsx | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/components/sections/DivaLookbookSection.tsx diff --git a/src/components/sections/DivaLookbookSection.tsx b/src/components/sections/DivaLookbookSection.tsx new file mode 100644 index 0000000..4f7bb81 --- /dev/null +++ b/src/components/sections/DivaLookbookSection.tsx @@ -0,0 +1,42 @@ +'use client' + +import { useVulaContent } from '@/hooks/useVulaContent' +import Image from 'next/image' + +export default function DivaLookbookSection() { + const { items, loading } = useVulaContent('gallery') + + if (loading) return
+ if (items.length === 0) return null + + return ( +
+
+

Diva Lookbook

+

Real women, real style – from Cape Town to Sandton.

+
+ {items.map((item) => { + const d = item.data as { title?: string; description?: string; image?: string } + return ( +
+ {d.image ? ( +
+ {d.title +
+
+ {d.title &&

{d.title}

} + {d.description &&

{d.description}

} +
+
+
+ ) : ( +
No image
+ )} +
+ ) + })} +
+
+
+ ) +} \ No newline at end of file