Files
9b4ba3f6-04d9-4267-8b68-0f2…/src/components/Layout.tsx
2026-06-22 00:46:21 +00:00

79 lines
1.7 KiB
TypeScript

import FooterMinimal from '@/components/sections/footer/FooterMinimal';
import NavbarInline from '@/components/ui/NavbarInline';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Facebook, Instagram, Twitter } from "lucide-react";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "About",
"href": "#about"
},
{
"name": "Menu",
"href": "#menu"
},
{
"name": "Gallery",
"href": "#gallery"
},
{
"name": "Reservations",
"href": "#reservation"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Why Us",
"href": "#why-us"
},
{
"name": "Testimonials",
"href": "#testimonials"
}
];
return (
<StyleProvider buttonVariant="bounce" siteBackground="gridDots" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarInline
logo="HookaHouse"
ctaButton={{
text: "Book Now",
href: "#reservation",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterMinimal
brand="HookaHouse"
copyright="© 2024 HookaHouse. All rights reserved."
socialLinks={[
{
icon: Instagram,
href: "#",
},
{
icon: Twitter,
href: "#",
},
{
icon: Facebook,
href: "#",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}