From d631d6003f5d7d42d97cbdd6bbb43640dee1ab4e Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 15 Sep 2026 18:02:57 +0000 Subject: [PATCH] Deploy --- .../sections/ChiropracticFaqSection.tsx | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 src/components/sections/ChiropracticFaqSection.tsx diff --git a/src/components/sections/ChiropracticFaqSection.tsx b/src/components/sections/ChiropracticFaqSection.tsx new file mode 100644 index 0000000..c849be3 --- /dev/null +++ b/src/components/sections/ChiropracticFaqSection.tsx @@ -0,0 +1,69 @@ +'use client' + +import { useVulaContent } from '@/hooks/useVulaContent' +import { useState } from 'react' +import Link from 'next/link' +import { ArrowRight, ChevronDown } from 'lucide-react' +import Button from '@/components/ui/Button' + + + +export default function ChiropracticFaqSection() { + const { items } = useVulaContent('chiropractic_faq') + const faqs = items.map((i) => i.data as Record) + + const [open, setOpen] = useState(0) + + return ( +
+
+
+
+ Chiropractic care +

+ The questions people ask before their first adjustment. +

+

+ Straight answers on what a visit involves, who we treat, and how booking works. If yours is not on this list, send it through rather than putting the visit off. +

+ +
+ +
+ {faqs.map((item, i) => { + const isOpen = open === i + return ( +
+ + {isOpen ? ( +

{item.a}

+ ) : null} +
+ ) + })} +
+
+
+
+ ) +}