Update src/components/Layout.tsx

This commit is contained in:
2026-06-17 20:37:13 +00:00
parent bd3f6a7b29
commit a5b9e12423

View File

@@ -7,34 +7,13 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#home"
},
{
"name": "Services",
"href": "#services"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Contact",
"href": "#contact"
},
{
"name": "Features",
"href": "#features"
},
{
"name": "Team",
"href": "#team"
},
{
"name": "Testimonials",
"href": "#testimonials"
}
{ name: "Home", href: "#home" },
{ name: "Services", href: "#services" },
{ name: "About", href: "#about" },
{ name: "Contact", href: "#contact" },
{ name: "Features", href: "#features" },
{ name: "Team", href: "#team" },
{ name: "Testimonials", href: "#testimonials" }
];
return (
@@ -43,11 +22,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Temple's Backhoe Services"
logoImageSrc="https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&w=100&h=100&q=80"
logoImageSrc="http://img.b2bpic.net/free-vector/modern-real-estate-logo-with-corporate-building-icon_1017-62494.jpg"
ctaButton={{
text: "Get Quote",
href: "#contact",
}}
text: "Get Quote", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -57,29 +34,19 @@ export default function Layout() {
<FooterBasic
columns={[
{
title: "Services",
items: [
title: "Services", items: [
{
label: "Excavation",
href: "#services",
},
label: "Excavation", href: "#services"},
{
label: "Asphalt Paving",
href: "#services",
},
label: "Asphalt Paving", href: "#services"},
],
},
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
],
},
]}
@@ -89,4 +56,4 @@ export default function Layout() {
</SectionErrorBoundary>
</StyleProvider>
);
}
}