import Link from "next/link"; import type { CommonContent, HomeContent, HomeVariantContent } from "@/content/types"; import type { Locale } from "@/lib/i18n"; import { getEmailHref, getModeValue, isComingSoonMode } from "@/lib/site"; type HeroSectionProps = { locale: Locale; home: HomeContent; common: CommonContent; }; export default function HeroSection({ locale, home, common }: HeroSectionProps) { const activeHome: HomeVariantContent = getModeValue(home); const emailHref = getEmailHref(); return (

{activeHome.badge}

{activeHome.kicker}

{activeHome.title}

{activeHome.description}

{emailHref ? ( {activeHome.primaryCta} ) : ( {activeHome.primaryCta} )} {activeHome.secondaryCta}
{activeHome.highlights.map((item) => (
{item.value} {item.label}
))}
); }