Files
da73683d-94c6-4875-81fc-248…/src/components/Layout.tsx
2026-06-30 12:50:55 +00:00

114 lines
2.4 KiB
TypeScript

import FooterSimpleCard from '@/components/sections/footer/FooterSimpleCard';
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
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": "About",
"href": "#about"
},
{
"name": "Membership",
"href": "#membership"
},
{
"name": "Events",
"href": "#events"
},
{
"name": "Contact",
"href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Metrics",
"href": "#metrics"
},
{
"name": "Testimonials",
"href": "#testimonials"
}
];
return (
<StyleProvider buttonVariant="bubble" siteBackground="noise" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Clubhuis Amstelveen"
ctaButton={{
text: "Join Club",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="Clubhuis Amstelveen"
columns={[
{
title: "Company",
items: [
{
label: "About",
href: "#about",
},
{
label: "Membership",
href: "#membership",
},
{
label: "Events",
href: "#events",
},
],
},
{
title: "Legal",
items: [
{
label: "Terms",
href: "#",
},
{
label: "Privacy",
href: "#",
},
{
label: "Cookie Policy",
href: "#",
},
],
},
]}
copyright="© 2024 Clubhuis Amstelveen. All rights reserved."
links={[
{
label: "Instagram",
href: "#",
},
{
label: "LinkedIn",
href: "#",
},
{
label: "Twitter",
href: "#",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}