diff --git a/public/images/2 (1).png b/public/images/2 (1).png new file mode 100644 index 0000000..2268087 Binary files /dev/null and b/public/images/2 (1).png differ diff --git a/public/images/logo-en-ex.png b/public/images/logo-en-ex.png new file mode 100644 index 0000000..badd10b Binary files /dev/null and b/public/images/logo-en-ex.png differ diff --git a/public/images/logo-en.png b/public/images/logo-en.png index badd10b..9dd1929 100644 Binary files a/public/images/logo-en.png and b/public/images/logo-en.png differ diff --git a/src/components/NavBar/index.jsx b/src/components/NavBar/index.jsx index 3ce106b..791d2b6 100644 --- a/src/components/NavBar/index.jsx +++ b/src/components/NavBar/index.jsx @@ -12,6 +12,7 @@ import { usePathname, useRouter } from "next/navigation"; import logo from "../../assets/images/logo.png"; import { useLocale } from "next-intl"; +import { ChevronDown } from "lucide-react"; const theme = 1; @@ -48,7 +49,7 @@ const Navbar = ({ items }) => { useEffect(() => { const handleScroll = () => { const scrollTop = window.scrollY; - setIsScrolled(scrollTop > 0); + setIsScrolled(scrollTop > 96); }; window.addEventListener("scroll", handleScroll); @@ -73,17 +74,37 @@ const Navbar = ({ items }) => { {/*

salam

*/} +
+
+ +
+ {isScrolled && ( +
+ +
+)}