Files
09f7181e-e207-42ef-82c9-116…/src/components/Layout.tsx
2026-06-13 18:09:30 +00:00

102 lines
2.2 KiB
TypeScript

import FooterSimpleCard from '@/components/sections/footer/FooterSimpleCard';
import NavbarDropdown from '@/components/ui/NavbarDropdown';
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": "Home",
"href": "#hero"
},
{
"name": "Over Ons",
"href": "#about"
},
{
"name": "Diensten",
"href": "#features"
},
{
"name": "Contact",
"href": "#contact"
},
{
"name": "Metrics",
"href": "#metrics"
},
{
"name": "Testimonials",
"href": "#testimonials"
},
{
"name": "Faq",
"href": "#faq"
}
];
return (
<StyleProvider buttonVariant="expand" siteBackground="floatingGradient" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarDropdown
logo="Intercash"
ctaButton={{
text: "Start Incasso",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="Intercash"
columns={[
{
title: "Diensten",
items: [
{
label: "Incasso",
href: "#",
},
{
label: "Advies",
href: "#",
},
],
},
{
title: "Juridisch",
items: [
{
label: "Privacy",
href: "#",
},
{
label: "Terms",
href: "#",
},
],
},
]}
copyright="© 2024 Intercash Incassobureau. Alle rechten voorbehouden."
links={[
{
label: "Home",
href: "/",
},
{
label: "Contact",
href: "#contact",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}