Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 19:33:41 +00:00
parent 8ee2b46d97
commit 957d0e1aaa

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Start",
"href": "#hero"
"name": "Start", "href": "#hero"
},
{
"name": "Über uns",
"href": "#about"
"name": "Über uns", "href": "#about"
},
{
"name": "Technik",
"href": "#features"
"name": "Technik", "href": "#features"
},
{
"name": "Kontakt",
"href": "#contact"
"name": "Kontakt", "href": "#contact"
},
{
"name": "Social Proof",
"href": "#social-proof"
"name": "Social Proof", "href": "#social-proof"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Testimonial",
"href": "#testimonial"
"name": "Testimonial", "href": "#testimonial"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Tenberg"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-photo/detail-green-leaf_23-2148211887.jpg"
ctaButton={{
text: "Angebot",
href: "#contact",
}}
text: "Angebot", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,42 +49,28 @@ export default function Layout() {
brand="Tenberg Gartentechnik Gmbh & Co.KG"
columns={[
{
title: "Unternehmen",
items: [
title: "Unternehmen", items: [
{
label: "Über uns",
href: "#about",
},
label: "Über uns", href: "#about"},
{
label: "Karriere",
href: "#",
},
label: "Karriere", href: "#"},
],
},
{
title: "Technik",
items: [
title: "Technik", items: [
{
label: "Produkte",
href: "#features",
},
label: "Produkte", href: "#features"},
{
label: "Service",
href: "#",
},
label: "Service", href: "#"},
],
},
]}
copyright="© 2024 Tenberg Gartentechnik Gmbh & Co.KG. Alle Rechte vorbehalten."
links={[
{
label: "Impressum",
href: "#",
},
label: "Impressum", href: "#"},
{
label: "Datenschutz",
href: "#",
},
label: "Datenschutz", href: "#"},
]}
/>
</SectionErrorBoundary>