Add src/app/book-appointment/page.tsx

This commit is contained in:
2026-04-28 01:58:31 +00:00
parent ed9424958d
commit ef71150c09

View File

@@ -0,0 +1,70 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBase from '@/components/sections/footer/FooterBase';
export default function BookAppointmentPage() {
return (
<ThemeProvider
defaultButtonVariant="hover-magnetic"
defaultTextAnimation="background-highlight"
borderRadius="rounded"
contentWidth="smallMedium"
sizing="large"
background="floatingGradient"
cardStyle="gradient-bordered"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="solid"
headingFontWeight="normal"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "/" },
{ name: "Services", id: "/" },
{ name: "Gallery", id: "/" },
{ name: "Contact", id: "/" },
{ name: "Book", id: "/book-appointment" },
{ name: "Admin", id: "/admin" }
]}
brandName="Elite Grooming"
/>
</div>
<div id="booking" data-section="booking" className="py-24">
<ContactSplitForm
title="Schedule Your Appointment"
description="Select your preferred service and time. Our team will confirm your booking shortly."
inputs={[
{ name: "fullName", type: "text", placeholder: "Full Name", required: true },
{ name: "email", type: "email", placeholder: "Email Address", required: true },
{ name: "date", type: "date", placeholder: "Appointment Date", required: true }
]}
multiSelect={{
name: "service",
label: "Choose Service",
options: ["Precision Fade", "Beard Sculpt", "Hot Towel Shave"]
}}
textarea={{ name: "notes", placeholder: "Any special instructions or requests?" }}
buttonText="Confirm Booking"
onSubmit={(data) => console.log("Booking submitted:", data)}
/>
</div>
<div id="footer" data-section="footer">
<FooterBase
logoText="Elite Grooming"
columns={[
{ title: "Navigation", items: [{ label: "Home", href: "/" }, { label: "Services", href: "/" }] },
{ title: "Support", items: [{ label: "FAQ", href: "/" }, { label: "Book", href: "/book-appointment" }] }
]}
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}