Update src/components/Layout.tsx

This commit is contained in:
2026-06-02 23:08:13 +00:00
parent ff33f4e298
commit 50d2047ca3

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"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": "Team",
"href": "#team"
"name": "Team", "href": "#team"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
}
];
@@ -42,10 +35,11 @@ export default function Layout() {
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="LOXI Hospitality"
logoImageSrc="/logo.svg"
navItems={navItems}
ctaButton={{ label: "Contact Us", href: "/contact" }} />
logo="LOXI Hospitality"
logoImageSrc="http://img.b2bpic.net/free-vector/flat-design-geometric-business-card_23-2149292244.jpg"
navItems={navItems}
ctaButton={{ text: "Contact Us", href: "#contact" }}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
@@ -57,49 +51,31 @@ export default function Layout() {
{
items: [
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Our Team",
href: "#team",
},
label: "Our Team", href: "#team"},
{
label: "Global Reach",
href: "#about",
},
label: "Global Reach", href: "#about"},
],
},
{
items: [
{
label: "Asset Management",
href: "#services",
},
label: "Asset Management", href: "#services"},
{
label: "Acquisitions",
href: "#services",
},
label: "Acquisitions", href: "#services"},
{
label: "Brokerage",
href: "#services",
},
label: "Brokerage", href: "#services"},
],
},
{
items: [
{
label: "Contact Us",
href: "#contact",
},
label: "Contact Us", href: "#contact"},
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
],
},
]}