Update src/components/Layout.tsx
This commit is contained in:
@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Startseite",
|
||||
"href": "#hero"
|
||||
"name": "Startseite", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Über uns",
|
||||
"href": "#about"
|
||||
"name": "Über uns", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Leistungen",
|
||||
"href": "#features"
|
||||
"name": "Leistungen", "href": "#features"
|
||||
},
|
||||
{
|
||||
"name": "Shop",
|
||||
"href": "#shop"
|
||||
"name": "Shop", "href": "#shop"
|
||||
},
|
||||
{
|
||||
"name": "Product List",
|
||||
"href": "#product-list"
|
||||
"name": "Product List", "href": "#product-list"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
"name": "Testimonials", "href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "Faq",
|
||||
"href": "#faq"
|
||||
"name": "Faq", "href": "#faq"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -44,9 +37,7 @@ export default function Layout() {
|
||||
<NavbarFloating
|
||||
logo="7,2 grams"
|
||||
ctaButton={{
|
||||
text: "Kontakt",
|
||||
href: "#contact",
|
||||
}}
|
||||
text: "Kontakt", href: "#contact"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
@@ -57,65 +48,42 @@ export default function Layout() {
|
||||
brand="7,2 grams"
|
||||
columns={[
|
||||
{
|
||||
title: "Navigation",
|
||||
items: [
|
||||
title: "Navigation", items: [
|
||||
{
|
||||
label: "Startseite",
|
||||
href: "#hero",
|
||||
},
|
||||
label: "Startseite", href: "#hero"},
|
||||
{
|
||||
label: "Über uns",
|
||||
href: "#about",
|
||||
},
|
||||
label: "Über uns", href: "#about"},
|
||||
{
|
||||
label: "Leistungen",
|
||||
href: "#features",
|
||||
},
|
||||
label: "Leistungen", href: "#features"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Mehr",
|
||||
items: [
|
||||
title: "Mehr", items: [
|
||||
{
|
||||
label: "Wasseraufbereitung",
|
||||
href: "#features",
|
||||
},
|
||||
label: "Wasseraufbereitung", href: "#features"},
|
||||
{
|
||||
label: "Kontakt",
|
||||
href: "#contact",
|
||||
},
|
||||
label: "Kontakt", href: "#contact"},
|
||||
{
|
||||
label: "Info",
|
||||
href: "#faq",
|
||||
},
|
||||
label: "Info", href: "#faq"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Kontakt",
|
||||
items: [
|
||||
title: "Kontakt", items: [
|
||||
{
|
||||
label: "Waldstraße 58, Offenbach",
|
||||
href: "#",
|
||||
},
|
||||
label: "Waldstraße 58, Offenbach", href: "#"},
|
||||
{
|
||||
label: "+49 69 86003840",
|
||||
href: "tel:+496986003840",
|
||||
},
|
||||
label: "+49 69 86003840", href: "tel:+496986003840"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyright="© 2026 7,2 grams"
|
||||
links={[
|
||||
{
|
||||
label: "Impressum",
|
||||
href: "#",
|
||||
},
|
||||
label: "Impressum", href: "#"},
|
||||
{
|
||||
label: "Datenschutz",
|
||||
href: "#",
|
||||
},
|
||||
label: "Datenschutz", href: "#"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/close-up-modern-italian-coffee-machine_23-2148349617.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/close-up-modern-italian-coffee-machine_23-2148349617.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
|
||||
Reference in New Issue
Block a user