diff --git a/docker-compose.yml b/docker-compose.yml index 64fb4fb..ce3bc79 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,4 +9,4 @@ services: - "3001:3001" volumes: - .:/usr/src/app # Mount the current directory into the container for live reloading - - /app/node_modules # Isolate node_modules to prevent host-container conflicts \ No newline at end of file + - /usr/src/app/node_modules # Isolate node_modules to prevent host-container conflicts \ No newline at end of file diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 4a01288..5f06d89 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -12,6 +12,7 @@ const Navbar = () => { useEffect(() => { const handleScroll = () => { + // Find pixels from top to bottom of "tag line" div if (window.scrollY > 355) { setIsScrolled(true); } else { @@ -79,7 +80,7 @@ const Navbar = () => {
-