diff --git a/src/components/sections/HeritageGlowHeroSection.tsx b/src/components/sections/HeritageGlowHeroSection.tsx new file mode 100644 index 0000000..32f89db --- /dev/null +++ b/src/components/sections/HeritageGlowHeroSection.tsx @@ -0,0 +1,40 @@ +'use client' +import { useVulaContent } from '@/hooks/useVulaContent' +import Image from 'next/image' +import Button from '@/components/ui/Button' +import { CircleArrowDown } from 'lucide-react' + +export default function HeritageGlowHeroSection() { + const { items, loading } = useVulaContent('hero_banners') + if (loading) return
+ if (items.length === 0) return null + + const item = items[0] + const d = item.data as { title?: string; subtitle?: string; cta_text?: string; cta_url?: string; image?: string } + const imageUrl = d.image || 'https://images.pexels.com/photos/9956160/pexels-photo-9956160.jpeg?auto=compress&cs=tinysrgb&h=650&w=940' + + return ( +
+
+ Hero background +
+
+
+
+

+ {d.title || 'Imvelo Yakho – Your Nature'} +

+

+ {d.subtitle || 'Handcrafted skincare from Pretoria\'s indigenous botanicals – cold-pressed, small-batch, rooted in South African wisdom.'} +

+ + + +
+
+
+ ) +} \ No newline at end of file