diff --git a/src/components/sections/ContactSection.tsx b/src/components/sections/ContactSection.tsx new file mode 100644 index 0000000..7c10a5c --- /dev/null +++ b/src/components/sections/ContactSection.tsx @@ -0,0 +1,156 @@ +'use client' + +import { useState } from 'react' +import { useVulaContent } from '@/hooks/useVulaContent' +import Button from '@/components/ui/Button' +import Input from '@/components/ui/Input' +import { ArrowRight, Mail, MapPin, MessageCircle, Phone, Send } from 'lucide-react' + +export default function ContactSection() { + const { items, loading } = useVulaContent('business_hours') + + // Form state — MUST be declared before any early return + const [formState, setFormState] = useState({ name: '', email: '', message: '' }) + const [sent, setSent] = useState(false) + + if (loading) { + return
We'll get back to you within 24 hours.
+