Files
035a730d-d9cf-4441-9f22-b32…/src/components/Layout.tsx
2026-06-17 12:44:27 +00:00

75 lines
1.7 KiB
TypeScript

import FooterMinimal from '@/components/sections/footer/FooterMinimal';
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Facebook, Instagram } 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": "Services",
"href": "#services"
},
{
"name": "Gallery",
"href": "#gallery"
},
{
"name": "Team",
"href": "#team"
},
{
"name": "FAQ",
"href": "#faq"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Testimonials",
"href": "#testimonials"
}
];
return (
<StyleProvider buttonVariant="stagger" siteBackground="noise" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="BMIC Nail Spa"
ctaButton={{
text: "Book Now",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterMinimal
brand="BMIC Nail Spa Salon"
copyright="© 2026 BMIC Nail Spa Salon. All rights reserved."
socialLinks={[
{
icon: Instagram,
href: "#",
},
{
icon: Facebook,
href: "#",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}