diff --git a/src/components/sections/LimitedDropCampaignSection.tsx b/src/components/sections/LimitedDropCampaignSection.tsx new file mode 100644 index 0000000..4eadcac --- /dev/null +++ b/src/components/sections/LimitedDropCampaignSection.tsx @@ -0,0 +1,52 @@ +'use client' + +import { useVulaContent } from '@/hooks/useVulaContent' +import Button from '@/components/ui/Button' +import { Card, CardContent } from '@/components/ui/Card' +import Badge from '@/components/ui/Badge' +import { ArrowRight, Clock } from 'lucide-react' +import Image from 'next/image' + +export default function LimitedDropCampaignSection() { + const { items, loading } = useVulaContent('campaigns') + if (loading) return
+ if (items.length === 0) return null + + return ( +
+
+
+ +

+ Limited Drops +

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

{d.title}

+

{d.headline}

+

{d.body}

+
+ +
+
+
+ ) + })} +
+
+
+ ) +}