import { Boxes, Network, Send, ShieldCheck, TerminalSquare, Users, type LucideIcon, } from 'lucide-react'; // Icons map by position to the localized feature items in lib/site-i18n.ts // (Every major protocol, REALITY, Clients, Multi-node, Telegram, Self-hosted). const ICONS: LucideIcon[] = [Boxes, ShieldCheck, Users, Network, Send, TerminalSquare]; export function Features({ heading, subtitle, items, }: { heading: string; subtitle: string; items: { title: string; description: string }[]; }) { return (

{heading}

{subtitle}

{items.map(({ title, description }, i) => { const Icon = ICONS[i] ?? Boxes; return (

{title}

{description}

); })}
); }