From 8b6e85e20d64cf6c246ee2d9ef0d893ebc0d2419 Mon Sep 17 00:00:00 2001 From: development Date: Thu, 29 Jan 2026 14:51:48 +0000 Subject: [PATCH] Add src/app/contact/page.tsx --- src/app/contact/page.tsx | 223 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 223 insertions(+) create mode 100644 src/app/contact/page.tsx diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx new file mode 100644 index 0000000..693d0da --- /dev/null +++ b/src/app/contact/page.tsx @@ -0,0 +1,223 @@ +"use client"; + +import { useState } from "react"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; +import Input from '@/components/form/Input'; +import ButtonShiftHover from '@/components/button/ButtonShiftHover/ButtonShiftHover'; +import { MapPin, Phone, Mail, Clock } from 'lucide-react'; + +export default function ContactPage() { + const [formData, setFormData] = useState({ + name: '', + email: '', + phone: '', + subject: '', + message: '' + }); + const [submitted, setSubmitted] = useState(false); + + const handleInputChange = (field: string, value: string) => { + setFormData(prev => ({ + ...prev, + [field]: value + })); + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + // Here you would typically send the form data to your backend + console.log('Form submitted:', formData); + setSubmitted(true); + setTimeout(() => { + setSubmitted(false); + setFormData({ name: '', email: '', phone: '', subject: '', message: '' }); + }, 3000); + }; + + return ( + + + +
+
+ {/* Contact Form */} +
+

Get In Touch

+

Have a question about our fleet or rental process? We'd love to hear from you. Fill out the form below and our team will respond as soon as possible.

+ +
+
+ + handleInputChange('name', value)} + placeholder="Your name" + required + /> +
+ +
+ + handleInputChange('email', value)} + type="email" + placeholder="your@email.com" + required + /> +
+ +
+ + handleInputChange('phone', value)} + type="tel" + placeholder="+1 (555) 000-0000" + /> +
+ +
+ + handleInputChange('subject', value)} + placeholder="Inquiry about rental" + required + /> +
+ +
+ +