From 30cd59658d0d3ca3500c9e1dd11376a33fc82070 Mon Sep 17 00:00:00 2001 From: Jason Jordan Date: Tue, 1 Jul 2025 14:17:13 -0400 Subject: [PATCH] Docker compose update, fixed a few navbar related size issues --- docker-compose.yml | 2 +- src/components/Navbar.tsx | 3 ++- src/components/Section1.tsx | 26 ++++++++++++++------------ src/pages/index.tsx | 13 +++++-------- 4 files changed, 22 insertions(+), 22 deletions(-) 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 = () => {
-