remake entire wakatime
Some checks failed
Deploy static content to Pages / deploy (push) Failing after 4s

This commit is contained in:
zyqunix 2025-06-21 14:55:37 +02:00
parent 28da635859
commit de5a113001
4 changed files with 243 additions and 11 deletions

View file

@ -1,3 +1,4 @@
import * as wakatime from "./wakatime.js";
const timeElem = document.getElementById('time');
const timezone = 'Europe/Berlin';
@ -240,6 +241,8 @@ function fetchWeather(location) {
});
}
wakatime.fetchWakatime("#wakapi", "zyqunix", "all_time");
const messages = [
"Coding",
"Listening to Music",
@ -346,4 +349,4 @@ document.addEventListener("keydown", function (e) {
if (e.key === "Escape") closeOverlay("music-pop", "overlay");
});
document.getElementById('refresh').addEventListener('click', fetchSong);
document.getElementById('refresh').addEventListener('click', fetchSong);