From d643461e0a004c6e192bf98e843deded46d79558 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Sun, 11 Oct 2026 14:20:26 +0000 Subject: [PATCH] Deploy --- src/components/layout/Navigation.tsx | 72 ++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 src/components/layout/Navigation.tsx diff --git a/src/components/layout/Navigation.tsx b/src/components/layout/Navigation.tsx new file mode 100644 index 0000000..0d0a132 --- /dev/null +++ b/src/components/layout/Navigation.tsx @@ -0,0 +1,72 @@ +'use client'; + +import { useState } from 'react'; +import { Menu, X, UtensilsCrossed, ShoppingCart, User } from 'lucide-react'; +import Link from 'next/link'; +import Image from 'next/image'; +import { useVulaCart } from '@/hooks/useVulaCart'; +import { useCustomerAuth } from '@/hooks/useCustomerAuth'; + +export default function Navigation() { + const [isOpen, setIsOpen] = useState(false); + const { itemCount } = useVulaCart(); + const { isAuthenticated } = useCustomerAuth(); + + return ( +
+ + +
+
+ {/* Logo */} + + Ben's Noodle House logo + Ben's Noodle{" "}House + + + {/* Desktop nav */} + + + {/* Mobile toggle */} + +
+ + {/* Mobile nav */} + {isOpen && ( +
+ setIsOpen(false)}>Home + setIsOpen(false)}>About + setIsOpen(false)}>Gallery + setIsOpen(false)}>Contact + setIsOpen(false)}>Order Online + setIsOpen(false)}> + + My Account + +
+ )} +
+
+ ); +}