From 01a0f7c3c51ebe095702bb99b0b7e16f6a5f558a Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 14 Mar 2026 05:31:52 +0000 Subject: [PATCH] Update src/app/contact/page.tsx --- src/app/contact/page.tsx | 279 ++++++++++++++++++++++++++++++++++----- 1 file changed, 247 insertions(+), 32 deletions(-) diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 048af42..8094132 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -2,17 +2,30 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; -import ContactSplit from '@/components/sections/contact/ContactSplit'; +import HeroLogo from '@/components/sections/hero/HeroLogo'; +import ContactCenter from '@/components/sections/contact/ContactCenter'; import FooterSimple from '@/components/sections/footer/FooterSimple'; -import { Mail, Phone, MapPin } from 'lucide-react'; +import { useState } from 'react'; +import { Mail, Phone, MapPin, Clock, CheckCircle } from 'lucide-react'; export default function ContactPage() { + const [formData, setFormData] = useState({ + name: '', + email: '', + phone: '', + subject: '', + message: '', + }); + + const [submitted, setSubmitted] = useState(false); + const navItems = [ - { name: "Home", id: "home" }, - { name: "Services", id: "services" }, + { name: "Home", id: "/" }, + { name: "Services", id: "/#services" }, { name: "Gallery", id: "/gallery" }, - { name: "Packages", id: "/packages" }, - { name: "About", id: "about" }, + { name: "Packages", id: "/#packages" }, + { name: "About", id: "/#about" }, + { name: "Booking", id: "/booking" }, { name: "Contact", id: "/contact" }, ]; @@ -28,10 +41,10 @@ export default function ContactPage() { }, { title: "Company", items: [ - { label: "About Us", href: "/about" }, + { label: "About Us", href: "/#about" }, { label: "Gallery", href: "/gallery" }, - { label: "Packages", href: "/packages" }, - { label: "FAQ", href: "#faq" }, + { label: "Packages", href: "/#packages" }, + { label: "FAQ", href: "/#faq" }, { label: "Contact", href: "/contact" }, ], }, @@ -48,12 +61,23 @@ export default function ContactPage() { title: "Service Areas", items: [ { label: "Local Events", href: "/contact" }, { label: "Regional Coverage", href: "/contact" }, - { label: "Book Now", href: "/packages" }, + { label: "Book Now", href: "/booking" }, { label: "Get Quote", href: "/contact" }, ], }, ]; + const handleInputChange = (e: React.ChangeEvent) => { + const { name, value } = e.target; + setFormData(prev => ({ ...prev, [name]: value })); + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + setSubmitted(true); + setTimeout(() => setSubmitted(false), 5000); + }; + return ( -
- { - console.log("Form submitted with email:", email); - }} - ariaLabel="Contact form section" - containerClassName="gap-12" - tagClassName="text-sm" - titleClassName="text-4xl font-extrabold" - descriptionClassName="text-lg opacity-90 max-w-2xl" - buttonClassName="px-8 py-3" - buttonTextClassName="font-semibold" +
+
+
+
+

Contact Information

+

Multiple ways to reach us. Choose what works best for you.

+ +
+
+ +

Email

+ + paintasy@events.com + +

24-hour response

+
+ +
+ +

Phone

+ + +1 (555) 123-4567 + +

Call or text anytime

+
+ +
+ +

Location

+

Serving City Metro Area

+

Local & Regional Coverage

+
+ +
+ +

Hours

+

Flexible Availability

+

Weekend & Evening Events

+
+
+
+
+ +
+
+

Send us a Message

+

Fill out the form below and we'll get back to you as soon as possible.

+ + {submitted ? ( +
+ +

Message Sent Successfully!

+

Thank you for contacting us. We'll respond within 24 hours.

+
+ ) : ( +
+
+
+ + +
+ +
+ + +
+
+ +
+ + +
+ +
+ + +
+ +
+ +