Files
16e156cf-6417-4707-befd-594…/src/components/Layout.tsx

111 lines
2.5 KiB
TypeScript

import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia';
import NavbarInline from '@/components/ui/NavbarInline';
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": "Hoe het werkt",
"href": "/#how-it-works"
},
{
"name": "Werk",
"href": "/#work"
},
{
"name": "Prijzen",
"href": "/#pricing"
},
{
"name": "Reviews",
"href": "/#reviews"
},
{
"name": "FAQ",
"href": "/#faq"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Ticker",
"href": "#ticker"
}
];
return (
<StyleProvider buttonVariant="stagger" siteBackground="noise" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarInline
logo="NEXORA"
ctaButton={{
text: "Vraag gratis voorbeeld aan",
href: "/contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleMedia
brand="NEXORA • Websites • Automation • AI"
columns={[
{
title: "Pagina's",
items: [
{
label: "Home",
href: "/",
},
{
label: "Over Ons",
href: "/over-ons",
},
{
label: "Onderhoud",
href: "/onderhoud",
},
{
label: "Contact",
href: "/contact",
},
],
},
{
title: "Contact",
items: [
{
label: "info@nexora.ai",
href: "mailto:info@nexora.ai",
},
{
label: "+32 468 05 02 01",
href: "tel:+32468050201",
},
],
},
]}
copyright="© 2025 Nexora. Alle rechten voorbehouden."
links={[
{
label: "Privacybeleid",
href: "#",
},
{
label: "Algemene Voorwaarden",
href: "#",
},
]}
imageSrc="http://img.b2bpic.net/free-photo/customer-service-feedback-interface-concept_53876-124955.jpg?_wi=2"
/>
</SectionErrorBoundary>
</StyleProvider>
);
}