From 89d10bc1d159602351b1cc5dbaededb31f576373 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 23 Jun 2026 08:47:35 +0000 Subject: [PATCH] Deploy --- .../sections/OnlineEnquirySection.tsx | 141 ++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 src/components/sections/OnlineEnquirySection.tsx diff --git a/src/components/sections/OnlineEnquirySection.tsx b/src/components/sections/OnlineEnquirySection.tsx new file mode 100644 index 0000000..55a5104 --- /dev/null +++ b/src/components/sections/OnlineEnquirySection.tsx @@ -0,0 +1,141 @@ +'use client' + +import { useState } from "react" +import { Send } from 'lucide-react' +import Button from "@/components/ui/Button" +import Input from "@/components/ui/Input" + +export default function OnlineEnquirySection() { + const [formData, setFormData] = useState({ + name: "", + email: "", + phone: "", + legalMatter: "", + message: "", + }) + + const handleChange = (e: React.ChangeEvent) => { + const { name, value } = e.target + setFormData((prev) => ({ ...prev, [name]: value })) + } + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault() + // In production, submit to backend + alert("Thank you for your enquiry. A member of our team will respond within 24 hours.") + } + + return ( +
+
+

+ Online Enquiry +

+

+ Share the details of your legal matter in confidence. We treat every submission with the utmost discretion. +

+ +
+
+
+ + +
+
+ + +
+
+ +
+ + +
+ +
+ + +
+ +
+ +