From 2a31da71a901de929135bdfd2f8ad2ace09691da Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 14 Mar 2026 05:38:46 +0000 Subject: [PATCH] Switch to version 3: modified src/app/booking/page.tsx --- src/app/booking/page.tsx | 347 +++++++++++++++++++++++++++------------ 1 file changed, 246 insertions(+), 101 deletions(-) diff --git a/src/app/booking/page.tsx b/src/app/booking/page.tsx index 8951b91..a280845 100644 --- a/src/app/booking/page.tsx +++ b/src/app/booking/page.tsx @@ -2,48 +2,17 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; -import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboardSplit'; -import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; -import FooterSimple from '@/components/sections/footer/FooterSimple'; -import { Sparkles } from 'lucide-react'; import { useState } from 'react'; - -export const metadata = { - title: "Book Your Event - Paintasy Face and Body Art", description: "Book professional face painting and body art services for your event. Easy booking form, flexible scheduling, and transparent pricing.", keywords: "book face painting, event booking, face painter booking, party entertainment booking"}; +import { Calendar, Clock, Users, Palette, Phone, Mail } from 'lucide-react'; +import FooterSimple from '@/components/sections/footer/FooterSimple'; export default function BookingPage() { - const [formData, setFormData] = useState({ - name: '', - email: '', - phone: '', - eventDate: '', - eventType: '', - guestCount: '', - eventDuration: '', - message: '', - }); - - const handleFormSubmit = (data: Record) => { - console.log('Booking form submitted:', data); - setFormData({ - name: '', - email: '', - phone: '', - eventDate: '', - eventType: '', - guestCount: '', - eventDuration: '', - message: '', - }); - }; - const navItems = [ - { name: "Home", id: "/" }, - { name: "Services", id: "/#services" }, + { name: "Home", id: "home" }, + { name: "Services", id: "services" }, { name: "Gallery", id: "/gallery" }, - { name: "Packages", id: "/#packages-home" }, - { name: "About", id: "/#about-home" }, - { name: "Booking", id: "/booking" }, + { name: "Packages", id: "/packages" }, + { name: "About", id: "about" }, { name: "Contact", id: "/contact" }, ]; @@ -59,10 +28,10 @@ export default function BookingPage() { }, { title: "Company", items: [ - { label: "About Us", href: "/#about-home" }, + { label: "About Us", href: "/about" }, { label: "Gallery", href: "/gallery" }, - { label: "Packages", href: "/#packages-home" }, - { label: "FAQ", href: "/#faq-home" }, + { label: "Packages", href: "/packages" }, + { label: "FAQ", href: "#faq" }, { label: "Contact", href: "/contact" }, ], }, @@ -79,12 +48,54 @@ export default function BookingPage() { title: "Service Areas", items: [ { label: "Local Events", href: "/contact" }, { label: "Regional Coverage", href: "/contact" }, - { label: "Book Now", href: "/booking" }, + { label: "Book Now", href: "/packages" }, { label: "Get Quote", href: "/contact" }, ], }, ]; + const [formData, setFormData] = useState({ + fullName: '', + email: '', + phone: '', + eventType: '', + eventDate: '', + eventTime: '', + guestCount: '', + serviceType: '', + additionalNotes: '', + }); + + 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(); + console.log('Form submitted:', formData); + setSubmitted(true); + setTimeout(() => { + setFormData({ + fullName: '', + email: '', + phone: '', + eventType: '', + eventDate: '', + eventTime: '', + guestCount: '', + serviceType: '', + additionalNotes: '', + }); + setSubmitted(false); + }, 3000); + }; + return ( -
- -
+
+
+

Book Your Event

+

Complete this form to request a booking for professional face and body art services at your event. We'll get back to you within 24 hours with availability and pricing details.

+
-
- + {submitted && ( +
+

Thank you! Your booking request has been submitted. We'll contact you soon to confirm details.

+
+ )} + +
+ {/* Contact Information Section */} +
+

+ + Contact Information +

+ +
+
+ + +
+ +
+ + +
+ +
+ + +
+
+
+ + {/* Event Details Section */} +
+

+ + Event Details +

+ +
+
+ + +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ + +
+
+
+ + {/* Service Selection Section */} +
+

+ + Service Selection +

+ +
+ + +
+
+ + {/* Additional Notes Section */} +
+ +