diff --git a/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx b/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx index 76bd48b..0400df1 100644 --- a/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx +++ b/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx @@ -42,7 +42,7 @@ const NavBar = () => { const changeBackground = () => { // console.log(window.scrollY); - if (window.scrollY >= 20) { + if (window.scrollY >= 70) { setNavbar(true); } else { setNavbar(false); @@ -56,19 +56,30 @@ const NavBar = () => { return (