From 1e20a8cf50f7b20bb36dad868cf303a0df61b01f Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Mon, 3 Aug 2026 11:42:10 +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..b98d950 --- /dev/null +++ b/src/components/layout/Navigation.tsx @@ -0,0 +1,67 @@ +'use client'; + +import { useState, useEffect } from 'react'; +import { Menu, Scissors, X } from 'lucide-react'; +import Link from 'next/link'; +import { cn } from '@/lib/utils'; + +export default function Navigation() { + const [isOpen, setIsOpen] = useState(false); + const [scrolled, setScrolled] = useState(false); + + useEffect(() => { + const onScroll = () => setScrolled(window.scrollY > 80); + window.addEventListener('scroll', onScroll, { passive: true }); + return () => window.removeEventListener('scroll', onScroll); + }, []); + + return ( + <> +
+ +
+ {/* Logo */} + +
+ +
+ Zama Salon + + + {/* Desktop nav */} + + + {/* Mobile toggle */} + +
+
+ + {/* Mobile nav */} + {isOpen && ( +
+ setIsOpen(false)}>Home + setIsOpen(false)}>About + setIsOpen(false)}>Offers + setIsOpen(false)}>Gallery + setIsOpen(false)}>Blog + setIsOpen(false)}>Contact + setIsOpen(false)}>Services +
+ )} + + ); +}