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