Files
2026-06-14 03:40:39 +00:00

111 lines
2.4 KiB
TypeScript

import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia';
import NavbarCentered from '@/components/ui/NavbarCentered';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Accommodations",
"href": "#accommodations"
},
{
"name": "Dining",
"href": "#dining"
},
{
"name": "Events",
"href": "#events"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Amenities",
"href": "#amenities"
},
{
"name": "Pricing",
"href": "#pricing"
}
];
return (
<StyleProvider buttonVariant="default" siteBackground="noise" heroBackground="lightRaysCenter">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarCentered
logo="LUX"
ctaButton={{
text: "Book Your Stay",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleMedia
imageSrc="http://img.b2bpic.net/free-photo/hotel-receptionist-work_23-2149661577.jpg"
brand="LUX Hotel"
columns={[
{
title: "Explore",
items: [
{
label: "Suites",
href: "#",
},
{
label: "Dining",
href: "#",
},
{
label: "Events",
href: "#",
},
],
},
{
title: "Support",
items: [
{
label: "Concierge",
href: "#",
},
{
label: "FAQs",
href: "#",
},
{
label: "Contact",
href: "#",
},
],
},
]}
copyright="© 2024 LUX Hotel. All rights reserved."
links={[
{
label: "Privacy Policy",
href: "#",
},
{
label: "Terms of Service",
href: "#",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}