浏览代码

fix: her theme

Timothy Jaeryang Baek 1 月之前
父节点
当前提交
40f60c163d
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/app.html

+ 5 - 0
src/app.html

@@ -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);
 				});
 			})();