"use client"; import { KeyRound, ShieldCheck, RefreshCw, ScrollText } from "lucide-react"; import { useLanguage } from "@/components/language-provider"; import { Section, SectionHeading } from "@/components/ui/section"; const ICONS: Record> = { "RS256 signing": KeyRound, "امضای RS256": KeyRound, "Verify with public key": ShieldCheck, "تأیید با کلید عمومی": ShieldCheck, "Session & token revocation": RefreshCw, "لغو نشست و توکن": RefreshCw, "Audit log & service credentials": ScrollText, "لاگ حسابرسی و اعتبار سرویس": ScrollText, }; export function Security() { const { t } = useLanguage(); return (
{t.security.points.map((p) => { const Icon = ICONS[p.title] ?? KeyRound; return (

{p.title}

{p.body}

); })}
); }