From d2f707f439dc612e6ed6a6004543873f3de6ef90 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Mon, 27 Jul 2026 18:59:55 +0000 Subject: [PATCH] Deploy --- .../sections/DropCampaignsSection.tsx | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 src/components/sections/DropCampaignsSection.tsx diff --git a/src/components/sections/DropCampaignsSection.tsx b/src/components/sections/DropCampaignsSection.tsx new file mode 100644 index 0000000..1da1da6 --- /dev/null +++ b/src/components/sections/DropCampaignsSection.tsx @@ -0,0 +1,85 @@ +'use client' + +import { useVulaContent } from "@/hooks/useVulaContent" +import Button from "@/components/ui/Button" +import Image from "next/image" + +export default function DropCampaignsSection() { + const { items, loading } = useVulaContent("campaigns") + + if (loading) { + return ( +
+
+
+ ) + } + + if (items.length === 0) return null + + return ( +
+
+

+ DROP CAMPAIGNS +

+

+ Limited drops — move before they vanish +

+
+ {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.title} +

+ {d.headline && ( +

+ {d.headline} +

+ )} + {d.body && ( +

+ {d.body} +

+ )} + {d.cta_text && ( + + )} +
+
+ ) + })} +
+
+
+ ) +}