import { HelpCircle } from "lucide-react"; import Link from "next/link"; import { useTranslation } from "~/providers/I18nProvider"; import { ExpandableScreen, ExpandableScreenContent, ExpandableScreenTrigger, } from "./expandable_screen"; import { Button } from "./ui/button"; import { Separator } from "./ui/separator"; export const ComeFunziona = () => { const { t } = useTranslation(); return (
{t.come_funziona_guida.features.map((text, index) => ( // biome-ignore lint/suspicious/noArrayIndexKey:

{text.title}

{text.parts.map((p, i) => { return typeof p === "object" ? ( key={`${index}-link-${i}`} > {p.text} ) : (

key={`${index}-${i}`} > {p}

); })}
))}
); };