Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 01:53:20 +00:00
parent e805b22463
commit a3509e398f

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Our Services",
"href": "#services"
"name": "Our Services", "href": "#services"
},
{
"name": "Why Tonnage",
"href": "#why"
"name": "Why Tonnage", "href": "#why"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Comparison",
"href": "#comparison"
"name": "Comparison", "href": "#comparison"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="TONNAGE"
logoImageSrc="https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=200&h=200&fit=crop"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=l1fyai"
ctaButton={{
text: "(555) 012-3456",
href: "tel:5550123456",
}}
text: "(555) 012-3456", href: "tel:5550123456"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,42 +49,28 @@ export default function Layout() {
brand="TONNAGE Heating & Cooling"
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About Us",
href: "#why",
},
label: "About Us", href: "#why"},
{
label: "Careers",
href: "#",
},
label: "Careers", href: "#"},
],
},
{
title: "Services",
items: [
title: "Services", items: [
{
label: "Repairs",
href: "#services",
},
label: "Repairs", href: "#services"},
{
label: "Installations",
href: "#services",
},
label: "Installations", href: "#services"},
],
},
]}
copyright="© 2024 Tonnage Heating & Cooling. All rights reserved."
links={[
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
]}
/>
</SectionErrorBoundary>