import { cn } from "@ui/lib"; import { useTranslations } from "next-intl"; export function FaqSection({ className }: { className?: string }) { const t = useTranslations(); const items = [ { question: "What is the refund policy?", answer: "We offer a 30-day money-back guarantee if you're not happy with our product.", }, { question: "How do I cancel my subscription?", answer: "You can cancel your subscription by visiting the billing page.", }, { question: "Can I change my plan?", answer: "Yes, you can change your plan at any time by visiting the billing page.", }, { question: "Do you offer a free trial?", answer: "Yes, we offer a 14-day free trial.", }, ]; if (!items) { return null; } return (

{t("faq.title")}

{t("faq.description")}

{items.map((item, i) => (

{item.question}

{item.answer}

))}
); }