Update src/components/Layout.tsx
This commit is contained in:
@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
|||||||
export default function Layout() {
|
export default function Layout() {
|
||||||
const navItems = [
|
const navItems = [
|
||||||
{
|
{
|
||||||
"name": "Home",
|
"name": "Home", "href": "#home"
|
||||||
"href": "#home"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Services",
|
"name": "Services", "href": "#services"
|
||||||
"href": "#services"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "About Us",
|
"name": "About Us", "href": "#about"
|
||||||
"href": "#about"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Portfolio",
|
"name": "Portfolio", "href": "#portfolio"
|
||||||
"href": "#portfolio"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Testimonials",
|
"name": "Testimonials", "href": "#testimonials"
|
||||||
"href": "#testimonials"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Contact",
|
"name": "Contact", "href": "#contact"
|
||||||
"href": "#contact"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Metrics",
|
"name": "Metrics", "href": "#metrics"
|
||||||
"href": "#metrics"
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -43,11 +36,9 @@ export default function Layout() {
|
|||||||
<SectionErrorBoundary name="navbar">
|
<SectionErrorBoundary name="navbar">
|
||||||
<NavbarFloatingLogo
|
<NavbarFloatingLogo
|
||||||
ctaButton={{
|
ctaButton={{
|
||||||
text: "Get a Quote",
|
text: "Get a Quote", href: "#contact"}}
|
||||||
href: "#contact",
|
|
||||||
}}
|
|
||||||
logo="GreenScape Solutions"
|
logo="GreenScape Solutions"
|
||||||
logoImageSrc=""
|
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=3xy5t1"
|
||||||
navItems={navItems} />
|
navItems={navItems} />
|
||||||
</SectionErrorBoundary>
|
</SectionErrorBoundary>
|
||||||
<main className="flex-grow">
|
<main className="flex-grow">
|
||||||
@@ -58,58 +49,36 @@ export default function Layout() {
|
|||||||
brand="GreenScape Solutions"
|
brand="GreenScape Solutions"
|
||||||
columns={[
|
columns={[
|
||||||
{
|
{
|
||||||
title: "Services",
|
title: "Services", items: [
|
||||||
items: [
|
|
||||||
{
|
{
|
||||||
label: "Lawn Care",
|
label: "Lawn Care", href: "#services"},
|
||||||
href: "#services",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "Garden Design",
|
label: "Garden Design", href: "#services"},
|
||||||
href: "#services",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "Hardscaping",
|
label: "Hardscaping", href: "#services"},
|
||||||
href: "#services",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "Tree Care",
|
label: "Tree Care", href: "#"},
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Company",
|
title: "Company", items: [
|
||||||
items: [
|
|
||||||
{
|
{
|
||||||
label: "About Us",
|
label: "About Us", href: "#about"},
|
||||||
href: "#about",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "Portfolio",
|
label: "Portfolio", href: "#portfolio"},
|
||||||
href: "#portfolio",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "Testimonials",
|
label: "Testimonials", href: "#testimonials"},
|
||||||
href: "#testimonials",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "Contact",
|
label: "Contact", href: "#contact"},
|
||||||
href: "#contact",
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
copyright="© 2024 GreenScape Solutions. All rights reserved."
|
copyright="© 2024 GreenScape Solutions. All rights reserved."
|
||||||
links={[
|
links={[
|
||||||
{
|
{
|
||||||
label: "Privacy Policy",
|
label: "Privacy Policy", href: "#"},
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "Terms of Service",
|
label: "Terms of Service", href: "#"},
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</SectionErrorBoundary>
|
</SectionErrorBoundary>
|
||||||
|
|||||||
Reference in New Issue
Block a user