"use client"; import Link from "next/link"; import { useLanguage } from "@/app/context/LanguageContext"; type SponsorHeroData = { eyebrow: string; title: string; subtitle: string; description: string; primaryCta: { label: string; href: string }; secondaryCta: { label: string; href: string }; }; const PROSPECTUS_LINKS: Record = { en: "https://drive.google.com/file/d/12uNVGFQ5ixuL2UwJpb6d-x-iuYjAt7Pc/view", vi: "https://drive.google.com/file/d/1YDpYwdWJHbxKa66u0Iq5PQ4aEaWgvkfI/view", }; export default function SponsorHero({ data }: { data: SponsorHeroData }) { const { lang } = useLanguage(); const prospectusHref = PROSPECTUS_LINKS[lang] ?? PROSPECTUS_LINKS.en; return (
{/* Eyebrow */}

{data.eyebrow}

{/* Title */}

{data.title}

{/* Subtitle */}

{data.subtitle}

{/* Description */}

{data.description}

{/* CTAs */}
{data.primaryCta.label} {data.secondaryCta.label}
); }