diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..d0091ca 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,11 +2,13 @@ import { Routes, Route } from 'react-router-dom'; import Layout from './components/Layout'; import HomePage from './pages/HomePage'; +import BookingPage from "@/pages/BookingPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 1e6849b..1e62857 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -41,7 +41,9 @@ export default function Layout() { }, { "name": "Contact", "href": "#contact" - } + }, + { name: "Booking", href: "/booking" }, + ]; return ( diff --git a/src/pages/BookingPage.tsx b/src/pages/BookingPage.tsx new file mode 100644 index 0000000..0dcdc97 --- /dev/null +++ b/src/pages/BookingPage.tsx @@ -0,0 +1,46 @@ +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import ContactSplitForm from "@/components/sections/contact/ContactSplitForm"; +import FooterMinimal from "@/components/sections/footer/FooterMinimal"; + +export default function BookingPage() { + const handleSubmit = (data: Record) => { + console.log("Booking form submitted:", data); + alert("Booking submitted! We will contact you shortly."); + // In a real application, you would send this data to a backend. + }; + + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Get Started", href: "/contact" }} + /> + +
+ +
+ + +
+ ); +} \ No newline at end of file diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..92323b0 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -6,4 +6,5 @@ export interface Route { export const routes: Route[] = [ { path: '/', label: 'Home', pageFile: 'HomePage' }, + { path: '/booking', label: 'Booking', pageFile: 'BookingPage' }, ];