diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 877e3b5..a12267a 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -30,8 +30,7 @@ export default function ContactPage() { ? "/gallery" : item.id === "reservations" ? "/reservations" - : "/contact", - })); + : "/contact"})); return ( diff --git a/src/app/gallery/page.tsx b/src/app/gallery/page.tsx index a3263f0..ab744ff 100644 --- a/src/app/gallery/page.tsx +++ b/src/app/gallery/page.tsx @@ -21,17 +21,10 @@ export default function GalleryPage() { const navItemsWithRoutes = navItems.map((item) => { const routeMap: Record = { - home: "/", - about: "/", - menu: "/", - gallery: "/gallery", - reservations: "/reservations", - contact: "/", - }; + home: "/", about: "/", menu: "/", gallery: "/gallery", reservations: "/reservations", contact: "/"}; return { ...item, - href: routeMap[item.id] || "/", - }; + href: routeMap[item.id] || "/"}; }); return ( @@ -50,7 +43,7 @@ export default function GalleryPage() {