Files
bd25898a-33e7-4c77-8769-63f…/src/components/Layout.tsx
2026-06-21 14:05:36 +00:00

98 lines
2.1 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": "Overview",
"href": "#hero"
},
{
"name": "Architecture",
"href": "#about"
},
{
"name": "Capabilities",
"href": "#features"
},
{
"name": "Metrics",
"href": "#metrics"
},
{
"name": "Faq",
"href": "#faq"
},
{
"name": "Contact",
"href": "#contact"
}
];
return (
<StyleProvider buttonVariant="elastic" siteBackground="noise" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="NetSecure"
ctaButton={{
text: "Deploy Now",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="NetSecure"
columns={[
{
title: "Platform",
items: [
{
label: "Engine",
href: "#",
},
{
label: "Dashboard",
href: "#",
},
],
},
{
title: "Legal",
items: [
{
label: "Privacy",
href: "#",
},
{
label: "Terms",
href: "#",
},
],
},
]}
copyright="© 2024 NetSecure Audit Engine. All rights reserved."
links={[
{
label: "Security",
href: "#",
},
{
label: "Audit",
href: "#",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}