"use client"; import { useState } from "react"; import { AnimatePresence, motion } from "framer-motion"; import { Plus } from "lucide-react"; import { Container } from "@/components/ui/Container"; import { Reveal } from "@/components/ui/Reveal"; import { FAQS } from "@/lib/constants"; import { EASE_OUT } from "@/lib/motion"; export function FAQ() { const [open, setOpen] = useState(null); return (

Questions,
answered.

    {FAQS.map((faq, idx) => { const isOpen = open === idx; const panelId = `faq-panel-${idx}`; const btnId = `faq-btn-${idx}`; return (
  • {isOpen && (

    {faq.a}

    )}
  • ); })}
); }