"use client"; import { LogIn, ShieldCheck, Smartphone, Lock, KeyRound, Sparkles, type LucideIcon, } from "lucide-react"; import { useLanguage } from "@/components/language-provider"; import { Section, SectionHeading } from "@/components/ui/section"; const ICONS: Record = { signin: LogIn, shield: ShieldCheck, devices: Smartphone, privacy: Lock, recovery: KeyRound, personalize: Sparkles, }; export function Capabilities() { const { t } = useLanguage(); return (
{t.capabilities.items.map((it) => { const Icon = ICONS[it.icon] ?? Sparkles; return (

{it.title}

{it.body}

); })}
); }