diff --git a/src/app/profile/components/CustomerSupportPanel.tsx b/src/app/profile/components/CustomerSupportPanel.tsx new file mode 100644 index 00000000..a812d3cd --- /dev/null +++ b/src/app/profile/components/CustomerSupportPanel.tsx @@ -0,0 +1,214 @@ +'use client'; + +import { memo, useCallback, useState } from 'react'; +import { ChevronDown, ChevronUp, Mail, MessageCircle, Phone } from 'lucide-react'; +import { supportFaqs, supportContactOptions } from '../profile-data'; + +// ── FAQ Accordion Item ──────────────────────────────────────────────────────── + +interface FaqItemProps { + id: string; + question: string; + answer: string; +} + +function FaqItem({ id, question, answer }: FaqItemProps) { + const [isOpen, setIsOpen] = useState(false); + const headingId = `faq-heading-${id}`; + const panelId = `faq-panel-${id}`; + + const toggle = useCallback(() => setIsOpen((prev) => !prev), []); + + return ( +
+ ✅ Your message has been sent. We'll get back to you within 24 hours. +
+ ++ Can't find what you're looking for? Fill out the form below and our support + team will respond within 24 hours. +
+