Update src/components/Layout.tsx

This commit is contained in:
2026-06-09 22:12:16 +00:00
parent 72687b9326
commit a4d2ecf444

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#home"
"name": "Home", "href": "#home"
},
{
"name": "About Us",
"href": "#about"
"name": "About Us", "href": "#about"
},
{
"name": "Services",
"href": "#services"
"name": "Services", "href": "#services"
},
{
"name": "Projects",
"href": "#projects"
"name": "Projects", "href": "#projects"
},
{
"name": "Team",
"href": "#team"
"name": "Team", "href": "#team"
},
{
"name": "Reviews",
"href": "#testimonials"
"name": "Reviews", "href": "#testimonials"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Alignment Construction"
logoImageSrc="https://images.unsplash.com/photo-1541888081-148c37ce1416?auto=format&fit=crop&q=80&w=100&h=100"
logoImageSrc="http://img.b2bpic.net/free-photo/view-abstract-outdoors-daytime-shadows_23-2149080238.jpg"
ctaButton={{
text: "Get a Quote",
href: "#contact",
}}
text: "Get a Quote", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -60,49 +51,31 @@ export default function Layout() {
{
items: [
{
label: "Home",
href: "#home",
},
label: "Home", href: "#home"},
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Services",
href: "#services",
},
label: "Services", href: "#services"},
],
},
{
items: [
{
label: "Projects",
href: "#projects",
},
label: "Projects", href: "#projects"},
{
label: "Our Team",
href: "#team",
},
label: "Our Team", href: "#team"},
{
label: "Client Reviews",
href: "#testimonials",
},
label: "Client Reviews", href: "#testimonials"},
],
},
{
items: [
{
label: "Contact Us",
href: "#contact",
},
label: "Contact Us", href: "#contact"},
{
label: "Get a Quote",
href: "#contact",
},
label: "Get a Quote", href: "#contact"},
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
],
},
]}