Skip to content

Commit 1468592

Browse files
committed
πŸ’„ style(assets): update favicon and profile image
- Replace profile image with ιœ§εˆ‡γ•γ‚“ artwork - Generate rounded-corner favicons in all sizes (32, 128, 180, 192) - Update config to use new profile image path - Update image credits in about page Closes #24
1 parent f7aeb41 commit 1468592

12 files changed

Lines changed: 6 additions & 4 deletions
33.5 KB
Loading
61.8 KB
Loading
69.3 KB
Loading
2.88 KB
Loading
33.2 KB
Loading
61.4 KB
Loading
68.9 KB
Loading
2.76 KB
Loading
284 KB
Loading

β€Žsrc/components/widget/UmamiStats.astroβ€Ž

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,13 @@ const config = {
172172
}
173173
}
174174

175-
document.addEventListener("DOMContentLoaded", fetchUmamiStats);
176-
177175
// Support Swup page transitions
176+
// Note: Swup's `page:view` fires on initial load too, so we only use
177+
// DOMContentLoaded as a fallback when Swup is not available
178178
if (window.swup) {
179179
window.swup.hooks.on("page:view", fetchUmamiStats);
180+
} else {
181+
document.addEventListener("DOMContentLoaded", fetchUmamiStats);
180182
}
181183
</script>
182184

0 commit comments

Comments
Β (0)