Update src/components/Layout.tsx

This commit is contained in:
2026-06-20 21:20:19 +00:00
parent 764b596fdd
commit f0b00efd4e

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": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Expertise",
"href": "#features"
"name": "Expertise", "href": "#features"
},
{
"name": "Team",
"href": "#team"
"name": "Team", "href": "#team"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Testimonial",
"href": "#testimonial"
"name": "Testimonial", "href": "#testimonial"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Fashandi & Associates"
logoImageSrc="https://images.unsplash.com/photo-1589829085413-56de8ae18c73?auto=format&fit=crop&q=80&w=100&h=100"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=am2eni"
ctaButton={{
text: "Book Consultation",
href: "#contact",
}}
text: "Book Consultation", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -57,54 +48,33 @@ export default function Layout() {
<FooterBasic
columns={[
{
title: "Practice Areas",
items: [
title: "Practice Areas", items: [
{
label: "Litigation",
href: "#",
},
label: "Litigation", href: "#"},
{
label: "Corporate Law",
href: "#",
},
label: "Corporate Law", href: "#"},
{
label: "Real Estate",
href: "#",
},
label: "Real Estate", href: "#"},
],
},
{
title: "Firm",
items: [
title: "Firm", items: [
{
label: "Our Partners",
href: "#team",
},
label: "Our Partners", href: "#team"},
{
label: "Careers",
href: "#",
},
label: "Careers", href: "#"},
{
label: "Ethics",
href: "#",
},
label: "Ethics", href: "#"},
],
},
{
title: "Connect",
items: [
title: "Connect", items: [
{
label: "LinkedIn",
href: "#",
},
label: "LinkedIn", href: "#"},
{
label: "Twitter",
href: "#",
},
label: "Twitter", href: "#"},
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
],
},
]}