diff --git a/src/components/layout/Navigation.tsx b/src/components/layout/Navigation.tsx new file mode 100644 index 0000000..2fce8e9 --- /dev/null +++ b/src/components/layout/Navigation.tsx @@ -0,0 +1,67 @@ +'use client'; + +import { useState } from 'react'; +import { Leaf, 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 */} + +
+ +
+ Ngema Naturals + + + {/* Desktop nav */} + + + {/* Mobile toggle */} + +
+ + {/* Mobile nav */} + {isOpen && ( +
+ setIsOpen(false)}>Home + setIsOpen(false)}>Indigenous Botanicals Featured + setIsOpen(false)}>Bestsellers Grid + setIsOpen(false)}>Rooted Heritage Story + setIsOpen(false)}>Visit Our Workshop + setIsOpen(false)}>Enquiry Form + setIsOpen(false)}>Products +
+ )} +
+
+ ); +}