Update src/components/Layout.tsx

This commit is contained in:
2026-06-21 14:06:18 +00:00
parent 369fb05731
commit 90a71a572c

View File

@@ -8,28 +8,22 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Overview",
"href": "#hero"
"name": "Overview", "href": "#hero"
},
{
"name": "Architecture",
"href": "#about"
"name": "Architecture", "href": "#about"
},
{
"name": "Capabilities",
"href": "#features"
"name": "Capabilities", "href": "#features"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
}
];
@@ -39,11 +33,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="NetSecure"
logoImageSrc="https://images.unsplash.com/photo-1614064641936-38998978c9cb?auto=format&fit=crop&w=64&h=64"
logoImageSrc="http://img.b2bpic.net/free-photo/cybersecurity-concept-shield-protecting-data_23-2152001124.jpg"
ctaButton={{
text: "Deploy Now",
href: "#contact",
}}
text: "Deploy Now", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -54,42 +46,28 @@ export default function Layout() {
brand="NetSecure"
columns={[
{
title: "Platform",
items: [
title: "Platform", items: [
{
label: "Engine",
href: "#",
},
label: "Engine", href: "#"},
{
label: "Dashboard",
href: "#",
},
label: "Dashboard", href: "#"},
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Privacy",
href: "#",
},
label: "Privacy", href: "#"},
{
label: "Terms",
href: "#",
},
label: "Terms", href: "#"},
],
},
]}
copyright="© 2024 NetSecure Audit Engine. All rights reserved."
links={[
{
label: "Security",
href: "#",
},
label: "Security", href: "#"},
{
label: "Audit",
href: "#",
},
label: "Audit", href: "#"},
]}
/>
</SectionErrorBoundary>