Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 10:42:07 +00:00
parent ea6d26715b
commit f4648498e1

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Services",
"href": "#features"
"name": "Services", "href": "#features"
},
{
"name": "Pricing",
"href": "#pricing"
"name": "Pricing", "href": "#pricing"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Team",
"href": "#team"
"name": "Team", "href": "#team"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="PlumbTech"
logoImageSrc="https://images.unsplash.com/photo-1585821555634-e9216760cece?auto=format&fit=crop&w=100&h=100&q=80"
logoImageSrc="http://img.b2bpic.net/free-vector/service-logo-branding-identity-corporate-vector-logo-design_460848-8575.jpg"
ctaButton={{
text: "Get Quote",
href: "#contact",
}}
text: "Get Quote", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -59,42 +50,28 @@ export default function Layout() {
brand="PlumbTech"
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Careers",
href: "#",
},
label: "Careers", href: "#"},
],
},
{
title: "Support",
items: [
title: "Support", items: [
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
{
label: "FAQ",
href: "#faq",
},
label: "FAQ", href: "#faq"},
],
},
]}
copyright="© 2024 PlumbTech Services. All rights reserved."
links={[
{
label: "Privacy",
href: "#",
},
label: "Privacy", href: "#"},
{
label: "Terms",
href: "#",
},
label: "Terms", href: "#"},
]}
/>
</SectionErrorBoundary>