import Button from "@/components/ui/Button"; import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot"; import TextAnimation from "@/components/ui/TextAnimation"; import ImageOrVideo from "@/components/ui/ImageOrVideo"; import ScrollReveal from "@/components/ui/ScrollReveal"; import AvatarGroup from "@/components/ui/AvatarGroup"; import { Clock, ShieldCheck, DollarSign } from "lucide-react"; type HeroBillboardProps = { tag?: string; title: string; description: string; primaryButton: { text: string; href: string }; secondaryButton: { text: string; href: string }; avatars?: { src: string }[]; avatarsLabel?: string; } & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); const HeroBillboard = ({ tag, title, description, primaryButton, secondaryButton, avatars, avatarsLabel, imageSrc, videoSrc, }: HeroBillboardProps) => { const usps = [ { icon: Clock, title: "24/7 Service", description: "Always available for emergency repairs.", }, { icon: ShieldCheck, title: "Certified Technicians", description: "Expertise you can trust for every job.", }, { icon: DollarSign, title: "Transparent Pricing", description: "No hidden fees, just honest quotes.", }, ]; return (
{avatars && avatars.length > 0 ? ( ) : tag ? ( {tag} ) : null}
{usps.map((usp, index) => (

{usp.title}

{usp.description}

))}
); }; export default HeroBillboard;