From 389be8767e6f7a8b464616904c925fb11df1231c Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 06:14:57 +0000 Subject: [PATCH] Add src/app/contact-inquiry/page.tsx --- src/app/contact-inquiry/page.tsx | 210 +++++++++++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 src/app/contact-inquiry/page.tsx diff --git a/src/app/contact-inquiry/page.tsx b/src/app/contact-inquiry/page.tsx new file mode 100644 index 0000000..fdf4bfc --- /dev/null +++ b/src/app/contact-inquiry/page.tsx @@ -0,0 +1,210 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; +import { useState } from "react"; +import { Textarea } from "@/components/form/Textarea"; +import { MessageCircle } from "lucide-react"; + +export default function ContactInquiryPage() { + const [formData, setFormData] = useState({ + name: "", email: "", phone: "", vehicleInterest: "", inquiryType: "general", message: "" + }); + + const [submitted, setSubmitted] = useState(false); + + const handleChange = (e: React.ChangeEvent) => { + const { name, value } = e.target; + setFormData(prev => ({ + ...prev, + [name]: value + })); + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + // Handle form submission here (API call, email, etc.) + console.log("Form submitted:", formData); + setSubmitted(true); + setTimeout(() => { + setFormData({ + name: "", email: "", phone: "", vehicleInterest: "", inquiryType: "general", message: "" + }); + setSubmitted(false); + }, 3000); + }; + + return ( + + + +
+
+
+
+ +
+

Car Inquiry Form

+

Tell us about your interest in our luxury vehicles. Our team will get back to you shortly with personalized recommendations.

+
+ + {submitted ? ( +
+

Thank You!

+

We've received your inquiry and will contact you within 24 hours.

+
+ ) : ( +
+ {/* Personal Information */} +
+

Personal Information

+ +
+ + +
+ +
+
+ + +
+
+ + +
+
+
+ + {/* Vehicle Interest */} +
+

Vehicle Interest

+ +
+ + +
+
+ + {/* Inquiry Type */} +
+

Inquiry Type

+ +
+ {[ + { value: "general", label: "General Inquiry" }, + { value: "purchase", label: "Purchase Interest" }, + { value: "sell", label: "Sell My Vehicle" }, + { value: "testdrive", label: "Book Test Drive" }, + { value: "financing", label: "Financing Information" } + ].map(option => ( + + ))} +
+
+ + {/* Message */} +
+

Additional Information

+ +
+ +