This commit is contained in:
2026-08-09 23:42:23 +02:00
parent 21da2edd79
commit bd2ccdf73e
46 changed files with 3540 additions and 788 deletions
+15
View File
@@ -0,0 +1,15 @@
// ── Scroll hint: appears after idling at the top of the page ──
(function () {
const hint = document.getElementById('scrollHint');
if (!hint) return;
const timer = setTimeout(() => {
if (window.scrollY <= 24) hint.classList.add('visible');
}, 3000);
// Any scroll dismisses it for the rest of the visit
window.addEventListener('scroll', () => {
clearTimeout(timer);
hint.classList.remove('visible');
}, { passive: true, once: true });
})();