From 14e968309da5036711ee0e3995362aa19d7bd7d8 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Tue, 3 Mar 2026 10:24:12 +0000 Subject: big update! --- source/about/public/tabAnimation.js | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 source/about/public/tabAnimation.js (limited to 'source/about/public/tabAnimation.js') diff --git a/source/about/public/tabAnimation.js b/source/about/public/tabAnimation.js deleted file mode 100644 index f0040d0..0000000 --- a/source/about/public/tabAnimation.js +++ /dev/null @@ -1,27 +0,0 @@ -// animated tab -const animation = [ - { - emoji: "🌍", - title: "AROUND the world", - }, - { - emoji: "🌏", - title: "around THE world", - }, - { - emoji: "🌎", - title: "around the WORLD", - }, -]; - -let tabAnimationStep = 0; -const favicon = document.querySelector("link[rel='icon']"); -const updateTab = () => { - const currentAnimation = animation[tabAnimationStep % animation.length]; - favicon.href = `data:image/svg+xml,${currentAnimation.emoji}`; - document.title = currentAnimation.title; - tabAnimationStep++; - setTimeout(updateTab, 1000); -}; - -updateTab(); -- cgit v1.2.3