diff --git a/src/components/sections/BookingSection.tsx b/src/components/sections/BookingSection.tsx new file mode 100644 index 0000000..a221275 --- /dev/null +++ b/src/components/sections/BookingSection.tsx @@ -0,0 +1,89 @@ +'use client' + +import { useState } from 'react' +import Button from '@/components/ui/Button' +import Input from '@/components/ui/Input' + +const serviceOptions = ['Corporate Law', 'Real Estate Transactions', 'Business Litigation', 'Contract Review', 'Mergers & Acquisitions'] + +export default function BookingSection() { + const [name, setName] = useState('') + const [email, setEmail] = useState('') + const [phone, setPhone] = useState('') + const [service, setService] = useState('') + const [message, setMessage] = useState('') + const [submitted, setSubmitted] = useState(false) + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault() + setSubmitted(true) + } + + if (submitted) { + return ( + + + + Thank You + We have received your consultation request. A member of our team will contact you within 24 hours. + + + + ) + } + + return ( + + + + Book a Consultation + Schedule Your Case Review + Tell us about your legal needs and our attorneys will arrange a confidential meeting. + + + setName(e.target.value)} + required + /> + setEmail(e.target.value)} + required + /> + setPhone(e.target.value)} + required + /> + setService(e.target.value)} + required + className="w-full rounded-lg border border-neutral-200 bg-white px-4 py-3 text-neutral-900 placeholder-neutral-400 shadow-[var(--shadow-surface)] transition-all duration-200 focus:border-[#000080] focus:ring-2 focus:ring-[#000080]/20" + > + Select Service + {serviceOptions.map((opt) => ( + {opt} + ))} + + setMessage(e.target.value)} + rows={4} + className="w-full rounded-lg border border-neutral-200 bg-white px-4 py-3 text-neutral-900 placeholder-neutral-400 shadow-[var(--shadow-surface)] transition-all duration-200 focus:border-[#000080] focus:ring-2 focus:ring-[#000080]/20" + /> + + Request Consultation + + + + + ) +} \ No newline at end of file
We have received your consultation request. A member of our team will contact you within 24 hours.
Tell us about your legal needs and our attorneys will arrange a confidential meeting.