This commit is contained in:
gcch 2025-06-19 16:07:29 +02:00
commit de73fc619a
3560 changed files with 747274 additions and 0 deletions

22
docs/lol/cute.ts Executable file
View file

@ -0,0 +1,22 @@
const etapes = [
"┌(・ω・)┘",
"└(・ω・)┐",
"┌(;・ω・)┘",
"└(;・ω・)┐",
"┌(;・ω・;)┘",
"└(;・ω・;)┐",
];
const assigneTexte = (texte: string): void => ELEMENTS.BOUTON_CODE_PROMO.textContent = texte;
let index = 0;
const z = {};
const callback = () => {
if (!ELEMENTS.BOUTON_CODE_PROMO.hasAttribute(ATTRIBUT_CHARGEMENT)) {
ELEMENTS.BOUTON_CODE_PROMO.textContent = "Apply";
clearInterval(z.interval);
}
assigneTexte(etapes.at(index) ?? "Loading...");
index = index + 1 === etapes.length - 1 ? 0 : index + 1;
};
callback();
z.interval = setInterval(callback, 500);