From f9a2e8b3aedebd20bbfcc2e280ec87dc4ce3030b Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Mon, 27 Jul 2026 17:52:32 +0000 Subject: [PATCH] Deploy --- src/components/layout/Navigation.tsx | 67 ++++++++++++++++++++++++++++ 1 file changed, 67 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..fca161d --- /dev/null +++ b/src/components/layout/Navigation.tsx @@ -0,0 +1,67 @@ +'use client'; + +import { useState } from 'react'; +import { Menu, ShoppingBag, ShoppingCart, X } from 'lucide-react'; +import Link from 'next/link'; +import { useMedusaCart } from '@/hooks/useMedusaCart'; + +export default function Navigation() { + const [isOpen, setIsOpen] = useState(false); + const { itemCount } = useMedusaCart(); + + return ( +
+ +
+
+ {/* Logo */} + +
+ +
+ Mzansi Wear + + + {/* Desktop nav */} + + + {/* Mobile toggle */} + +
+ + {/* Mobile nav */} + {isOpen && ( +
+ setIsOpen(false)}>Home + setIsOpen(false)}>Mzansi Featured + setIsOpen(false)}>Soweto Roots + setIsOpen(false)}>Limited Drop Campaign + setIsOpen(false)}>Soweto Lookbook + setIsOpen(false)}>Soweto Connect + setIsOpen(false)}>Products +
+ )} +
+
+ ); +}