import { HeroScrollLink, HeroShell, HeroTitle } from "@/components/layout/site-hero"; type HomeHeroProps = { locale: string; kicker: string; title: string; description: string; }; export function HomeHero({ locale, kicker, title, description, }: HomeHeroProps) { const titleLines = title.split("\n").filter(Boolean); const isArabic = locale === "ar"; const lines = titleLines.map((line, index) => ({ text: line, tone: isArabic ? index === 0 ? "accent" : "default" : index === titleLines.length - 1 ? "accent" : index === 0 ? "soft" : "default", align: isArabic ? "center" : index === 1 ? "end" : "start", })) as { text: string; tone: "default" | "accent" | "soft"; align: "start" | "center" | "end"; }[]; return (

{kicker}

{description}

); }