"use client"; import { Check, X } from "lucide-react"; import { useLanguage } from "@/components/LanguageContext"; import { translations } from "@/lib/languages"; import { ShimmerButton } from "@/components/ui/shimmer-button"; type TranslationKeys = keyof typeof translations.en; const ROW_INDICES = [1, 2, 3, 4, 5, 6, 7, 8, 9] as const; export function ComparisonTable() { const { t, language } = useLanguage(); const scrollToWaitlist = () => { const input = document.getElementById("email-input"); if (input) { input.scrollIntoView({ behavior: "smooth", block: "center" }); setTimeout(() => input.focus(), 850); } }; const scrollToModels = () => { document.getElementById("models")?.scrollIntoView({ behavior: "smooth", block: "start" }); }; return (
{t("compBadge")}

{t("compTitle")}

{t("compIntroLead")}

{t("compIntro1")}

{t("compIntro2")}

{t("compIntro3")}

{t("compIntroClosing")}

{t("compIntroSummary")}

{ROW_INDICES.map((num, idx) => { const featureKey = `compRow${num}F` as TranslationKeys; const directKey = `compRow${num}Direct` as TranslationKeys; const hubKey = `compRow${num}Hub` as TranslationKeys; return ( ); })}
{t("compThFeatures")} {t("compThDirect")} {t("compThHub")}
{t(featureKey)}
{t(directKey)}
{t(hubKey)}
{t("heroCtaGetKey")}
); }