Update src/components/Layout.tsx

This commit is contained in:
2026-05-11 18:50:34 +00:00
parent d9db7a5c17
commit 9971bdb451

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": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Product",
"href": "#product"
"name": "Product", "href": "#product"
},
{
"name": "Testimonial",
"href": "#testimonial"
"name": "Testimonial", "href": "#testimonial"
},
{
"name": "Kontakt",
"href": "#kontakt"
"name": "Kontakt", "href": "#kontakt"
}
];
@@ -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: [
{
text: "Features",
href: "#features",
},
label: "Features", href: "#features"},
{
text: "Pricing",
href: "#pricing",
},
label: "Pricing", href: "#pricing"},
],
},
{
title: "Company",
links: [
title: "Company", links: [
{
text: "About",
href: "#about",
},
label: "About", href: "#about"},
{
text: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
],
},
]}
links={[
{
label: "Privacy",
href: "#",
},
label: "Privacy", href: "#"},
{
label: "Terms",
href: "#",
},
label: "Terms", href: "#"},
]}
/>
</SectionErrorBoundary>