Update src/components/Layout.tsx

This commit is contained in:
2026-06-21 17:49:27 +00:00
parent 383b6549db
commit 5f106d9de4

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Community",
"href": "#about"
"name": "Community", "href": "#about"
},
{
"name": "Homesites",
"href": "#siteplan"
"name": "Homesites", "href": "#siteplan"
},
{
"name": "Builders",
"href": "#builders"
"name": "Builders", "href": "#builders"
},
{
"name": "Location",
"href": "#location"
"name": "Location", "href": "#location"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="REGENCY PARC"
logoImageSrc="https://images.unsplash.com/photo-1560179707-f14e90ef3623?w=100&h=100&fit=crop"
logoImageSrc="https://storage.googleapis.com/webild/users/user_3EhKCAc7dRcalBlvDomNzLZUSI3/uploaded-1782064111203-csp455vf.jpg"
ctaButton={{
text: "Inquire",
href: "#contact",
}}
text: "Inquire", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -60,25 +51,17 @@ export default function Layout() {
{
items: [
{
label: "Site Plan",
href: "#siteplan",
},
label: "Site Plan", href: "#siteplan"},
{
label: "The Builders",
href: "#builders",
},
label: "The Builders", href: "#builders"},
],
},
{
items: [
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Legal Notice",
href: "#",
},
label: "Legal Notice", href: "#"},
],
},
]}