Update src/components/Layout.tsx

This commit is contained in:
2026-06-24 11:07:14 +00:00
parent d6cef6b4bc
commit afec93816f

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#"
"name": "Home", "href": "#"
},
{
"name": "Menu",
"href": "#menu"
"name": "Menu", "href": "#menu"
},
{
"name": "Reviews",
"href": "#reviews"
"name": "Reviews", "href": "#reviews"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
}
];
@@ -43,10 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Korean Table"
logoImageSrc="http://img.b2bpic.net/free-vector/restaurant-logo-template_23-2148558725.jpg"
ctaButton={{
text: "Order Online",
href: "#",
}}
text: "Order Online", href: "#"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -57,46 +49,30 @@ export default function Layout() {
brand="Korean Table"
columns={[
{
title: "Quick Links",
items: [
title: "Quick Links", items: [
{
label: "Menu",
href: "#menu",
},
label: "Menu", href: "#menu"},
{
label: "Reviews",
href: "#reviews",
},
label: "Reviews", href: "#reviews"},
{
label: "Contact Us",
href: "#contact",
},
label: "Contact Us", href: "#contact"},
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
],
},
]}
copyright="© 2024 Korean Table. All rights reserved."
links={[
{
label: "Facebook",
href: "#",
},
label: "Facebook", href: "#"},
{
label: "Instagram",
href: "#",
},
label: "Instagram", href: "#"},
]}
/>
</SectionErrorBoundary>