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": "Home",
|
||||
"href": "#hero"
|
||||
"name": "Home", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Services",
|
||||
"href": "#services"
|
||||
"name": "Services", "href": "#services"
|
||||
},
|
||||
{
|
||||
"name": "Portfolio",
|
||||
"href": "#portfolio"
|
||||
"name": "Portfolio", "href": "#portfolio"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
"name": "Contact", "href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
"name": "Metrics", "href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
"name": "Testimonials", "href": "#testimonials"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -42,50 +35,39 @@ export default function Layout() {
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Tree Passion"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
|
||||
ctaButton={{
|
||||
text: "Anfrage senden",
|
||||
href: "#contact",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="Tree Passion"
|
||||
logoImageSrc="http://img.b2bpic.net/free-vector/green-cypress-logo-business-branding-template-designs-inspiration-isolated-white-background_384344-1363.jpg"
|
||||
ctaButton={{
|
||||
text: "Anfrage senden", href: "#contact"}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterBasic
|
||||
columns={[
|
||||
{
|
||||
title: "Tree Passion",
|
||||
items: [
|
||||
columns={[
|
||||
{
|
||||
label: "Über uns",
|
||||
href: "#",
|
||||
title: "Tree Passion", items: [
|
||||
{
|
||||
label: "Über uns", href: "#"},
|
||||
{
|
||||
label: "Leistungen", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Leistungen",
|
||||
href: "#",
|
||||
title: "Rechtliches", items: [
|
||||
{
|
||||
label: "Impressum", href: "#"},
|
||||
{
|
||||
label: "Datenschutz", href: "#"},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Rechtliches",
|
||||
items: [
|
||||
{
|
||||
label: "Impressum",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Datenschutz",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
leftText="© 2024 Tree Passion"
|
||||
rightText="Ihr Partner für Baumpflege."
|
||||
/>
|
||||
]}
|
||||
leftText="© 2024 Tree Passion"
|
||||
rightText="Ihr Partner für Baumpflege."
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user