Files
f98b40cb-2e66-4192-92bb-59d…/src/components/Layout.tsx
2026-06-13 15:15:10 +00:00

79 lines
1.8 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 { Film, Instagram, Twitter } from "lucide-react";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Collections",
"href": "#products"
},
{
"name": "Editorial",
"href": "#blog"
},
{
"name": "Inquire",
"href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Features",
"href": "#features"
},
{
"name": "Social Proof",
"href": "#social-proof"
}
];
return (
<StyleProvider buttonVariant="arrow" siteBackground="noise" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="CineFashion"
ctaButton={{
text: "Book Session",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterMinimal
brand="CineFashion Editorial"
copyright="© 2024 CineFashion Editorial. All rights reserved."
socialLinks={[
{
icon: Instagram,
href: "#",
},
{
icon: Twitter,
href: "#",
},
{
icon: Film,
href: "#",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}