Update src/components/Layout.tsx

This commit is contained in:
2026-06-18 08:54:29 +00:00
parent 5c8a81e5eb
commit 0b53ec8866

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Experience",
"href": "#about"
"name": "Experience", "href": "#about"
},
{
"name": "Menu",
"href": "#menu"
"name": "Menu", "href": "#menu"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Team",
"href": "#team"
"name": "Team", "href": "#team"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Bayi & Bayk"
logoImageSrc="https://images.unsplash.com/photo-1516876437184-593fda40c7ce?w=100&h=100&fit=crop"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=rsm9na"
ctaButton={{
text: "Book Table",
href: "#contact",
}}
text: "Book Table", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -60,41 +51,27 @@ export default function Layout() {
{
items: [
{
label: "About",
href: "#about",
},
label: "About", href: "#about"},
{
label: "Menu",
href: "#menu",
},
label: "Menu", href: "#menu"},
{
label: "Reservations",
href: "#contact",
},
label: "Reservations", href: "#contact"},
],
},
{
items: [
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
],
},
{
items: [
{
label: "Instagram",
href: "#",
},
label: "Instagram", href: "#"},
{
label: "Twitter",
href: "#",
},
label: "Twitter", href: "#"},
],
},
]}