Update src/components/Layout.tsx

This commit is contained in:
2026-06-25 08:45:10 +00:00
parent 292cb0fe2c
commit 7a751d62f5

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#hero"
"name": "Home", "href": "#hero"
},
{
"name": "Portfolio",
"href": "#portfolio"
"name": "Portfolio", "href": "#portfolio"
},
{
"name": "Services",
"href": "#about"
"name": "Services", "href": "#about"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Proof",
"href": "#proof"
"name": "Proof", "href": "#proof"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="C'ONTRI"
logoImageSrc="https://images.unsplash.com/photo-1560179707-f14e90ef3623?w=100&h=100&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-photo/cool-background-blank-wallpaper-place-your-concept_1194-641450.jpg"
ctaButton={{
text: "Get Quote",
href: "#contact",
}}
text: "Get Quote", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,42 +49,28 @@ export default function Layout() {
brand="C'ONTRI DESIGN & BUILD"
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Portfolio",
href: "#portfolio",
},
label: "Portfolio", href: "#portfolio"},
],
},
{
title: "Resources",
items: [
title: "Resources", items: [
{
label: "FAQ",
href: "#faq",
},
label: "FAQ", href: "#faq"},
{
label: "Consultation",
href: "#contact",
},
label: "Consultation", href: "#contact"},
],
},
]}
copyright="© 2024 C'ONTRI Design & Build. All rights reserved."
links={[
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
]}
/>
</SectionErrorBoundary>