From 8091b1d163d685ec5a86c0d7c35dbf4dd5c8ce79 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Sat, 1 Aug 2026 17:20:26 +0000 Subject: [PATCH] Deploy --- .../sections/DropBannerHypeSection.tsx | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/components/sections/DropBannerHypeSection.tsx diff --git a/src/components/sections/DropBannerHypeSection.tsx b/src/components/sections/DropBannerHypeSection.tsx new file mode 100644 index 0000000..0eedc58 --- /dev/null +++ b/src/components/sections/DropBannerHypeSection.tsx @@ -0,0 +1,39 @@ +'use client' +import Image from 'next/image' +import Link from 'next/link' +import { ArrowRight } from 'lucide-react' +import { useVulaContent } from '@/hooks/useVulaContent' + +export default function DropBannerHypeSection() { + const { items, loading } = useVulaContent('advert_banners') + + if (loading) return
+ + if (items.length === 0) return null + + return ( +
+
+ {items.map((item) => { + const d = item.data as { title?: string; description?: string; price?: string; image?: string } + return ( +
+
+

Exclusive drop

+ {d.title ?

{d.title}

: null} + {d.description ?

{d.description}

: null} +
+ {d.price ? {d.price} : null} + Shop the drop +
+
+
+ {d.image ? {d.title :
} +
+
+ ) + })} +
+
+ ) +} \ No newline at end of file