"use client"; import { useState } from "react"; import { Plus, Minus } from "lucide-react"; import { motion, AnimatePresence } from "framer-motion"; import { useTranslations } from "@/lib/i18n"; export default function FAQ() { const [openIndex, setOpenIndex] = useState(0); const t = useTranslations(); return (

{t.faq.title}

{t.faq.subtitle}

{t.faq.items.map((faq, i) => (
{openIndex === i && (
{faq.a}
)}
))}
); }