Images update

This commit is contained in:
Danny
2026-06-23 13:30:45 +01:00
parent a7fd6d145d
commit ae22501a6d
7 changed files with 32 additions and 17 deletions
+1 -3
View File
@@ -268,9 +268,7 @@ window.addEventListener('scroll', function () {
}
});
navAnchors.forEach(function (a) {
a.style.color = a.getAttribute('href') === '#' + current
? 'var(--white)'
: '';
a.classList.toggle('nav-active', a.getAttribute('href') === '#' + current);
});
}, { passive: true });