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

Style Obsessions

+

Limited edition drops and seasonal edits.

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

{d.headline}

} +

{d.title}

+ {d.body &&

{d.body}

} + {d.cta_text && ( + + )} +
+
+ ) + })} +
+
+
+ ) +} \ No newline at end of file