Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 23:05:17 +00:00
parent f64b0377c3
commit 93346ec3fd

View File

@@ -7,34 +7,13 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Services",
"href": "#services"
},
{
"name": "Our Difference",
"href": "#difference"
},
{
"name": "Reviews",
"href": "#reviews"
},
{
"name": "Pricing",
"href": "#pricing"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Social Proof",
"href": "#social-proof"
},
{
"name": "Response",
"href": "#response"
}
{ name: "Services", href: "#services" },
{ name: "Our Difference", href: "#difference" },
{ name: "Reviews", href: "#reviews" },
{ name: "Pricing", href: "#pricing" },
{ name: "Hero", href: "#hero" },
{ name: "Social Proof", href: "#social-proof" },
{ name: "Response", href: "#response" }
];
return (
@@ -43,11 +22,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="56 E&P"
logoImageSrc="https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&q=80&w=100&h=100"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=5kdkov"
ctaButton={{
text: "Book Now",
href: "#contact",
}}
text: "Book Now", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,50 +35,24 @@ export default function Layout() {
brand="56 Electric & Plumbing"
columns={[
{
title: "Services",
items: [
{
label: "Plumbing",
href: "#",
},
{
label: "Electrical",
href: "#",
},
{
label: "Emergency",
href: "#",
},
title: "Services", items: [
{ label: "Plumbing", href: "#" },
{ label: "Electrical", href: "#" },
{ label: "Emergency", href: "#" },
],
},
{
title: "Support",
items: [
{
label: "FAQ",
href: "#",
},
{
label: "Terms",
href: "#",
},
{
label: "Contact",
href: "#contact",
},
title: "Support", items: [
{ label: "FAQ", href: "#" },
{ label: "Terms", href: "#" },
{ label: "Contact", href: "#contact" },
],
},
]}
copyright="© 2024 56 Electric & Plumbing. All rights reserved."
links={[
{
label: "Privacy",
href: "#",
},
{
label: "Terms",
href: "#",
},
{ label: "Privacy", href: "#" },
{ label: "Terms", href: "#" },
]}
/>
</SectionErrorBoundary>