fade out
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m56s

This commit is contained in:
Stephen Tafoya
2026-06-11 02:30:16 -06:00
parent 1ff8c4f4c8
commit b4af25bbcd

View File

@@ -1040,9 +1040,11 @@
entries.forEach(function(entry) { entries.forEach(function(entry) {
if (entry.isIntersecting) { if (entry.isIntersecting) {
entry.target.classList.add('revealed'); entry.target.classList.add('revealed');
} else {
entry.target.classList.remove('revealed');
} }
}); });
}, { threshold: 0.1 }); }, { threshold: 0, rootMargin: '-40px 0px' });
reveals.forEach(function(el) { revealObserver.observe(el); }); reveals.forEach(function(el) { revealObserver.observe(el); });
// Stat counter // Stat counter