Update src/components/Layout.tsx

This commit is contained in:
2026-06-16 15:43:25 +00:00
parent 379615281a
commit c565ffbced

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": "Exhibitions",
"href": "#gallery"
"name": "Exhibitions", "href": "#gallery"
},
{
"name": "Visit",
"href": "#contact"
"name": "Visit", "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"
},
{
"name": "Social Proof",
"href": "#social-proof"
"name": "Social Proof", "href": "#social-proof"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="DMH"
logoImageSrc="https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=2564&auto=format&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-vector/abstract-logo-business-made-with-colorful_341269-908.jpg"
ctaButton={{
text: "Get Tickets",
href: "#contact",
}}
text: "Get Tickets", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,50 +49,32 @@ export default function Layout() {
brand="Design Museum Holon"
columns={[
{
title: "Museum",
items: [
title: "Museum", items: [
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Careers",
href: "#",
},
label: "Careers", href: "#"},
{
label: "Press",
href: "#",
},
label: "Press", href: "#"},
],
},
{
title: "Resources",
items: [
title: "Resources", items: [
{
label: "Blog",
href: "#",
},
label: "Blog", href: "#"},
{
label: "Archives",
href: "#",
},
label: "Archives", href: "#"},
{
label: "Membership",
href: "#",
},
label: "Membership", href: "#"},
],
},
]}
copyright="© 2024 Design Museum Holon. All rights reserved."
links={[
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
]}
/>
</SectionErrorBoundary>