fix: her theme

This commit is contained in:
Timothy Jaeryang Baek 2025-08-17 03:43:39 +04:00
parent 28c1de237b
commit 40f60c163d
1 changed files with 5 additions and 0 deletions

View File

@ -83,9 +83,14 @@
logo.style =
'position: absolute; width: auto; height: 6rem; top: 44%; left: 50%; transform: translateX(-50%); display:block;';
logo.src = isDarkMode ? '/static/splash-dark.png' : '/static/splash.png';
document.addEventListener('DOMContentLoaded', function () {
const splash = document.getElementById('splash-screen');
if (document.documentElement.classList.contains('her')) {
return;
}
if (splash) splash.prepend(logo);
});
})();