Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 10:56:33 +00:00
parent 5d102c1722
commit b350e32daa

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#home"
"name": "Home", "href": "#home"
},
{
"name": "Über uns",
"href": "#about"
"name": "Über uns", "href": "#about"
},
{
"name": "Dienstleistungen",
"href": "#services"
"name": "Dienstleistungen", "href": "#services"
},
{
"name": "Kontakt",
"href": "#contact"
"name": "Kontakt", "href": "#contact"
},
{
"name": "Why Choose Us",
"href": "#why-choose-us"
"name": "Why Choose Us", "href": "#why-choose-us"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Tobias Ludwig"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-photo/nature-relax-recreation-freedom-concept_53876-133763.jpg"
ctaButton={{
text: "Angebot anfragen",
href: "#contact",
}}
text: "Angebot anfragen", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,46 +49,30 @@ export default function Layout() {
brand="Tobias Ludwig Garten- und Baumpflege"
columns={[
{
title: "Service",
items: [
title: "Service", items: [
{
label: "Baumschnitt",
href: "#services",
},
label: "Baumschnitt", href: "#services"},
{
label: "Baumfällung",
href: "#services",
},
label: "Baumfällung", href: "#services"},
{
label: "Gartenpflege",
href: "#services",
},
label: "Gartenpflege", href: "#services"},
],
},
{
title: "Rechtliches",
items: [
title: "Rechtliches", items: [
{
label: "Impressum",
href: "#",
},
label: "Impressum", href: "#"},
{
label: "Datenschutz",
href: "#",
},
label: "Datenschutz", href: "#"},
],
},
]}
copyright="© 2024 Tobias Ludwig. Alle Rechte vorbehalten."
links={[
{
label: "Impressum",
href: "#",
},
label: "Impressum", href: "#"},
{
label: "Datenschutz",
href: "#",
},
label: "Datenschutz", href: "#"},
]}
/>
</SectionErrorBoundary>