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": "#hero"
|
||||||
"href": "#hero"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Services",
|
"name": "Services", "href": "#services"
|
||||||
"href": "#services"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Process",
|
"name": "Process", "href": "#process"
|
||||||
"href": "#process"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Testimonials",
|
"name": "Testimonials", "href": "#testimonials"
|
||||||
"href": "#testimonials"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Contact",
|
"name": "Contact", "href": "#contact"
|
||||||
"href": "#contact"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "About",
|
"name": "About", "href": "#about"
|
||||||
"href": "#about"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Metrics",
|
"name": "Metrics", "href": "#metrics"
|
||||||
"href": "#metrics"
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -42,71 +35,51 @@ export default function Layout() {
|
|||||||
<SiteBackgroundSlot />
|
<SiteBackgroundSlot />
|
||||||
<SectionErrorBoundary name="navbar">
|
<SectionErrorBoundary name="navbar">
|
||||||
<NavbarFloatingLogo
|
<NavbarFloatingLogo
|
||||||
logo="GreenHeights Consult"
|
logo="GreenHeights Consult"
|
||||||
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
|
logoImageSrc="http://img.b2bpic.net/free-vector/green-cypress-logo-business-branding-template-designs-inspiration-isolated-white-background_384344-1363.jpg"
|
||||||
ctaButton={{
|
ctaButton={{
|
||||||
text: "Get Quote",
|
text: "Get Quote", href: "#contact"}}
|
||||||
href: "#contact",
|
navItems={navItems}
|
||||||
}}
|
/>
|
||||||
navItems={navItems} />
|
|
||||||
</SectionErrorBoundary>
|
</SectionErrorBoundary>
|
||||||
<main className="flex-grow">
|
<main className="flex-grow">
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</main>
|
</main>
|
||||||
<SectionErrorBoundary name="footer">
|
<SectionErrorBoundary name="footer">
|
||||||
<FooterBasic
|
<FooterBasic
|
||||||
columns={[
|
columns={[
|
||||||
{
|
|
||||||
title: "Company",
|
|
||||||
items: [
|
|
||||||
{
|
{
|
||||||
label: "About Us",
|
title: "Company", items: [
|
||||||
href: "#about",
|
{
|
||||||
|
label: "About Us", href: "#about"},
|
||||||
|
{
|
||||||
|
label: "Our Process", href: "#services"},
|
||||||
|
{
|
||||||
|
label: "Contact", href: "#contact"},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Our Process",
|
title: "Services", items: [
|
||||||
href: "#services",
|
{
|
||||||
|
label: "Landscaping", href: "#services"},
|
||||||
|
{
|
||||||
|
label: "Masonry", href: "#services"},
|
||||||
|
{
|
||||||
|
label: "Drainage", href: "#services"},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Contact",
|
title: "Legal", items: [
|
||||||
href: "#contact",
|
{
|
||||||
|
label: "Privacy Policy", href: "#"},
|
||||||
|
{
|
||||||
|
label: "Terms of Service", href: "#"},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
]}
|
||||||
},
|
leftText="© 2024 GreenHeights Consult. All Rights Reserved."
|
||||||
{
|
rightText="1 Signal Regiment, Accra, Ghana"
|
||||||
title: "Services",
|
/>
|
||||||
items: [
|
|
||||||
{
|
|
||||||
label: "Landscaping",
|
|
||||||
href: "#services",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Masonry",
|
|
||||||
href: "#services",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Drainage",
|
|
||||||
href: "#services",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Legal",
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
label: "Privacy Policy",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Terms of Service",
|
|
||||||
href: "#",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
leftText="© 2024 GreenHeights Consult. All Rights Reserved."
|
|
||||||
rightText="1 Signal Regiment, Accra, Ghana"
|
|
||||||
/>
|
|
||||||
</SectionErrorBoundary>
|
</SectionErrorBoundary>
|
||||||
</StyleProvider>
|
</StyleProvider>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user