Update src/components/Layout.tsx

This commit is contained in:
2026-06-30 12:51:38 +00:00
parent 39ecfe60f1
commit b666c15095

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": "Membership",
"href": "#membership"
"name": "Membership", "href": "#membership"
},
{
"name": "Events",
"href": "#events"
"name": "Events", "href": "#events"
},
{
"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": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Clubhuis Amstelveen"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=9z563j"
ctaButton={{
text: "Join Club",
href: "#contact",
}}
text: "Join Club", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,54 +49,34 @@ export default function Layout() {
brand="Clubhuis Amstelveen"
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About",
href: "#about",
},
label: "About", href: "#about"},
{
label: "Membership",
href: "#membership",
},
label: "Membership", href: "#membership"},
{
label: "Events",
href: "#events",
},
label: "Events", href: "#events"},
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Terms",
href: "#",
},
label: "Terms", href: "#"},
{
label: "Privacy",
href: "#",
},
label: "Privacy", href: "#"},
{
label: "Cookie Policy",
href: "#",
},
label: "Cookie Policy", href: "#"},
],
},
]}
copyright="© 2024 Clubhuis Amstelveen. All rights reserved."
links={[
{
label: "Instagram",
href: "#",
},
label: "Instagram", href: "#"},
{
label: "LinkedIn",
href: "#",
},
label: "LinkedIn", href: "#"},
{
label: "Twitter",
href: "#",
},
label: "Twitter", href: "#"},
]}
/>
</SectionErrorBoundary>