Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 11:14:00 +00:00
parent 1133260d40
commit 8aabb852b8

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#"
"name": "Home", "href": "#"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Services",
"href": "#services"
"name": "Services", "href": "#services"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Social Proof",
"href": "#social-proof"
"name": "Social Proof", "href": "#social-proof"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="EECL"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-vector/3d-sphere-logo-ideas-inspiration-logo-design-template-vector-illustration-isolated-white-backg_384344-1661.jpg"
ctaButton={{
text: "Get a Quote",
href: "#contact",
}}
text: "Get a Quote", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -57,42 +48,27 @@ export default function Layout() {
<FooterBasic
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Careers",
href: "#",
},
label: "Careers", href: "#"},
],
},
{
title: "Services",
items: [
title: "Services", items: [
{
label: "Testing",
href: "#services",
},
label: "Testing", href: "#services"},
{
label: "Calibration",
href: "#services",
},
label: "Calibration", href: "#services"},
],
},
{
title: "Support",
items: [
title: "Support", items: [
{
label: "Contact",
href: "mailto:info@eecl.sa",
},
label: "Contact", href: "mailto:info@eecl.sa"},
{
label: "Help Center",
href: "#",
},
label: "Help Center", href: "#"},
],
},
]}