Update src/components/Layout.tsx

This commit is contained in:
2026-06-17 20:38:12 +00:00
parent 798360bcb7
commit bbfab80771

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Services",
"href": "#services"
"name": "Services", "href": "#services"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -44,9 +37,7 @@ export default function Layout() {
<NavbarFloating
logo="Netos Roofing"
ctaButton={{
text: "Get Free Inspection",
href: "#contact",
}}
text: "Get Free Inspection", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -57,59 +48,38 @@ export default function Layout() {
brand="Netos Roofing LLC"
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Careers",
href: "#",
},
label: "Careers", href: "#"},
{
label: "Terms",
href: "#",
},
label: "Terms", href: "#"},
],
},
{
title: "Services",
items: [
title: "Services", items: [
{
label: "Residential",
href: "#services",
},
label: "Residential", href: "#services"},
{
label: "Commercial",
href: "#services",
},
label: "Commercial", href: "#services"},
{
label: "Repairs",
href: "#services",
},
label: "Repairs", href: "#services"},
],
},
{
title: "Contact",
items: [
title: "Contact", items: [
{
label: "Support",
href: "#",
},
label: "Support", href: "#"},
{
label: "Inquiries",
href: "#",
},
label: "Inquiries", href: "#"},
],
},
]}
copyright="© 2024 Netos Roofing LLC. All rights reserved."
links={[
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
]}
imageSrc="http://img.b2bpic.net/free-photo/auto-mechanic-inflating-tire-with-air-compressor-street_651396-3561.jpg"
/>