diff --git a/static/js/main.js b/static/js/core.js similarity index 97% rename from static/js/main.js rename to static/js/core.js index 20d892f..772b43c 100644 --- a/static/js/main.js +++ b/static/js/core.js @@ -1,4 +1,4 @@ - // Navbar color change on scroll +// Navbar color change on scroll window.addEventListener('scroll', function() { const navbar = document.getElementById('navbar'); if (window.scrollY > 50) { diff --git a/templates/index.html b/templates/index.html index 48e7521..3ad52cf 100644 --- a/templates/index.html +++ b/templates/index.html @@ -46,6 +46,6 @@ - + \ No newline at end of file