Add src/app/reservations/page.tsx
This commit is contained in:
82
src/app/reservations/page.tsx
Normal file
82
src/app/reservations/page.tsx
Normal file
@@ -0,0 +1,82 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
|
||||
import { MapPin, Calendar, Users, Clock, Phone } from 'lucide-react';
|
||||
|
||||
export default function ReservationsPage() {
|
||||
const handleSubmit = (data: Record<string, string>) => {
|
||||
console.log('Reservation submitted:', data);
|
||||
// Handle reservation submission
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="rounded"
|
||||
contentWidth="smallMedium"
|
||||
sizing="medium"
|
||||
background="noiseDiagonalGradient"
|
||||
cardStyle="inset"
|
||||
primaryButtonStyle="flat"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Menu", id: "menu" },
|
||||
{ name: "Testimonials", id: "testimonials" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
{ name: "Reservations", id: "/reservations" }
|
||||
]}
|
||||
button={{ text: "Reserve Table", href: "/reservations" }}
|
||||
brandName="Sheila's Café"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="reservations" data-section="reservations">
|
||||
<ContactSplitForm
|
||||
title="Book Your Table at Sheila's Café"
|
||||
description="Reserve your seat for an exceptional breakfast or coffee experience. We look forward to welcoming you to our warm and inviting café in Paddington."
|
||||
inputs={[
|
||||
{ name: 'name', type: 'text', placeholder: 'Your Name', required: true },
|
||||
{ name: 'email', type: 'email', placeholder: 'Email Address', required: true },
|
||||
{ name: 'phone', type: 'tel', placeholder: 'Phone Number', required: true },
|
||||
{ name: 'date', type: 'date', placeholder: 'Preferred Date', required: true },
|
||||
{ name: 'time', type: 'time', placeholder: 'Preferred Time', required: true },
|
||||
{ name: 'guests', type: 'number', placeholder: 'Number of Guests', required: true }
|
||||
]}
|
||||
textarea={{
|
||||
name: 'specialRequests',
|
||||
placeholder: 'Any dietary preferences or special requests?',
|
||||
rows: 4,
|
||||
required: false
|
||||
}}
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/wooden-furniture-with-cup-coffee_1203-1682.jpg"
|
||||
imageAlt="Sheila's Café interior"
|
||||
mediaAnimation="blur-reveal"
|
||||
mediaPosition="right"
|
||||
buttonText="Confirm Reservation"
|
||||
onSubmit={handleSubmit}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseReveal
|
||||
columns={[
|
||||
{ title: "Quick Links", items: [{ label: "Home", href: "/" }, { label: "About", href: "/#about" }, { label: "Menu", href: "/#menu" }, { label: "Reservations", href: "/reservations" }] },
|
||||
{ title: "Visit Us", items: [{ label: "Location", href: "#" }, { label: "Hours", href: "#" }, { label: "Contact", href: "/#contact" }, { label: "Directions", href: "#" }] },
|
||||
{ title: "Legal", items: [{ label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }, { label: "Cookie Policy", href: "#" }, { label: "Contact Support", href: "/#contact" }] }
|
||||
]}
|
||||
copyrightText="© 2025 Sheila's Café. All rights reserved. Premium Breakfast & Coffee in Paddington."
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user