Update src/components/Layout.tsx

This commit is contained in:
2026-06-13 21:46:17 +00:00
parent 77b1c217ef
commit a5ba3604e9

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Services",
"href": "#services"
"name": "Services", "href": "#services"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Partners",
"href": "#partners"
"name": "Partners", "href": "#partners"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="JM Roofing"
logoImageSrc="https://images.unsplash.com/photo-1633409361618-c73427e4e206?auto=format&fit=crop&w=800&q=80"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=q18272"
ctaButton={{
text: "Get Quote",
href: "#contact",
}}
text: "Get Quote", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,46 +49,30 @@ export default function Layout() {
brand="JM Roofing 3rd Generation"
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Services",
href: "#services",
},
label: "Services", href: "#services"},
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
],
},
]}
copyright="© 2024 JM Roofing 3rd Generation. All rights reserved."
links={[
{
label: "Facebook",
href: "#",
},
label: "Facebook", href: "#"},
{
label: "LinkedIn",
href: "#",
},
label: "LinkedIn", href: "#"},
]}
imageSrc="http://img.b2bpic.net/free-photo/3d-geometric-weave-abstract-wallpaper-background_1048-8673.jpg"
/>