UI: секретный вход в админку — удержание кнопки меню 10с; убраны видимые кнопки входа админа

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-26 16:40:49 +03:00
co-authored by Claude Opus 4.8
parent 460b57e792
commit d32237975d
3 changed files with 33 additions and 17 deletions
-6
View File
@@ -158,12 +158,6 @@ export function AccountPage() {
<button className="btn btn-danger" style={{ width: "100%" }} onClick={doLogout}>
Выйти
</button>
<p className="center" style={{ marginTop: 24 }}>
<button className="btn btn-ghost small muted" onClick={() => navigate("/admin/login")}>
Вход для администратора
</button>
</p>
</div>
);
}
-10
View File
@@ -93,16 +93,6 @@ export function LoginPage() {
{showStub && !pendingTg && <DevLogin onError={setError} />}
{error && <p className="error-text center">{error}</p>}
<p className="center" style={{ marginTop: 40 }}>
<button
className="btn btn-ghost small"
onClick={() => navigate("/admin/login")}
style={{ opacity: 0.4 }}
>
·
</button>
</p>
</div>
</div>
);