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

+ +
+ +