Update src/components/Layout.tsx
This commit is contained in:
@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Home",
|
||||
"href": "#hero"
|
||||
"name": "Home", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Menu",
|
||||
"href": "#menu"
|
||||
"name": "Menu", "href": "#menu"
|
||||
},
|
||||
{
|
||||
"name": "Reservations",
|
||||
"href": "#reservations"
|
||||
"name": "Reservations", "href": "#reservations"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
"name": "Testimonials", "href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "Faq",
|
||||
"href": "#faq"
|
||||
"name": "Faq", "href": "#faq"
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"href": "#contact"
|
||||
"name": "Contact", "href": "#contact"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -44,9 +37,7 @@ export default function Layout() {
|
||||
<NavbarDropdown
|
||||
logo="Zaitoon"
|
||||
ctaButton={{
|
||||
text: "Book Table",
|
||||
href: "#contact",
|
||||
}}
|
||||
text: "Book Table", href: "#contact"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
@@ -57,34 +48,28 @@ export default function Layout() {
|
||||
brand="Zaitoon By Galaxy"
|
||||
columns={[
|
||||
{
|
||||
title: "Quick Links",
|
||||
items: [
|
||||
title: "Quick Links", items: [
|
||||
{
|
||||
label: "Menu",
|
||||
href: "#menu",
|
||||
},
|
||||
label: "Menu", href: "#menu"},
|
||||
{
|
||||
label: "Reservations",
|
||||
href: "#contact",
|
||||
},
|
||||
label: "Reservations", href: "#contact"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Location",
|
||||
items: [
|
||||
title: "Location", items: [
|
||||
{
|
||||
label: "Av. Kenneth Kaunda, 458",
|
||||
href: "#",
|
||||
},
|
||||
label: "Av. Kenneth Kaunda, 458", href: "#"},
|
||||
{
|
||||
label: "Maputo, Mozambique",
|
||||
href: "#",
|
||||
},
|
||||
label: "Maputo, Mozambique", href: "#"},
|
||||
],
|
||||
},
|
||||
],
|
||||
links={[
|
||||
{ label: "Menu", href: "#menu" },
|
||||
{ label: "Contact", href: "#contact" }
|
||||
]}
|
||||
copyright="© 2024 Zaitoon By Galaxy. All rights reserved."
|
||||
imageSrc="http://img.b2bpic.net/free-photo/adding-pinch-sumakh-lavash-kutab_114579-2336.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/adding-pinch-sumakh-lavash-kutab_114579-2336.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
|
||||
Reference in New Issue
Block a user