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
+16
View File
@@ -0,0 +1,16 @@
// ── Pronoun pill: non-binary flag sweep on click ──────────────
(function () {
const pill = document.querySelector('.hero-pronouns');
if (!pill) return;
const reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)');
pill.addEventListener('click', () => {
if (window.achv) window.achv.mark('pronouns');
if (reduceMotion.matches) return;
if (pill.classList.contains('waving')) return;
pill.classList.add('waving');
});
pill.addEventListener('animationend', () => {
pill.classList.remove('waving');
});
})();