'use client'
import { useVulaContent } from '@/hooks/useVulaContent'
import Image from 'next/image'
import Button from '@/components/ui/Button'
export default function SowetoHeroSection() {
const { items, loading } = useVulaContent('hero_banners')
if (loading) {
return (
)
}
if (items.length === 0) return null
const d = items[0].data as {
title?: string
subtitle?: string
cta_text?: string
cta_url?: string
image?: string
}
return (
{/* Left solid block — ink black */}
{d.title || 'FROM THE TOWNSHIP'}
TO THE WORLD
{d.subtitle && (
{d.subtitle}
)}
{d.cta_text && (
)}
{/* Right block — brand color (accent red) + image overlay */}
{/* Decorative offset shadow */}
)
}