Update src/components/Layout.tsx

This commit is contained in:
2026-06-10 19:05:58 +00:00
parent 4c338458be
commit 0888443f7f

View File

@@ -8,24 +8,19 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Testimonial",
"href": "#testimonial"
"name": "Testimonial", "href": "#testimonial"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
}
];
@@ -36,9 +31,7 @@ export default function Layout() {
<NavbarCentered
logo="Brand"
ctaButton={{
text: "Get Started",
href: "/",
}}
text: "Get Started", href: "/"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -50,41 +43,27 @@ export default function Layout() {
copyright="© 2026 Brand. All rights reserved."
columns={[
{
title: "Product",
links: [
title: "Product", links: [
{
label: "Features",
href: "#features",
},
label: "Features", href: "#features"},
{
label: "Pricing",
href: "#pricing",
},
label: "Pricing", href: "#pricing"},
],
},
{
title: "Company",
links: [
title: "Company", links: [
{
label: "About",
href: "#about",
},
label: "About", href: "#about"},
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
],
},
]}
links={[
{
label: "Privacy",
href: "#",
},
label: "Privacy", href: "#"},
{
label: "Terms",
href: "#",
},
label: "Terms", href: "#"},
]}
/>
</SectionErrorBoundary>