fix: add appeal button, hide top bar when logged in so sidebar is clickable

This commit is contained in:
2026-07-12 02:14:25 +08:00
parent aa9ee24118
commit 9241dd6a6f
2 changed files with 3 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ const App = {
},
showPublic(page, param) {
document.getElementById('top-bar').classList.remove('hidden');
document.getElementById('top-auth').classList.remove('hidden');
document.getElementById('main-layout').classList.add('hidden');
const pub = document.getElementById('public-page');
@@ -94,6 +95,7 @@ const App = {
},
showLayout() {
document.getElementById('top-bar').classList.add('hidden');
document.getElementById('top-auth').classList.add('hidden');
document.getElementById('public-page').classList.add('hidden');
document.getElementById('main-layout').classList.remove('hidden');