Simplify auth UI with single toggle and headings

This commit is contained in:
2026-02-02 17:41:37 +01:00
parent 7a71e4831d
commit 30b0bf8481
3 changed files with 23 additions and 9 deletions

View File

@@ -16,9 +16,9 @@
<div class="auth-logo">
<img src="logo.png" alt="CoopGameChooser logo" />
</div>
<div class="stack horizontal">
<button class="ghost active" data-auth-tab="login" type="button" data-i18n="auth.loginTab">Log in</button>
<button class="ghost" data-auth-tab="register" type="button" data-i18n="auth.registerTab">Register</button>
<div class="stack">
<h2 id="auth-title" data-i18n="auth.loginHeading">Log in</h2>
<button class="ghost" id="auth-toggle" type="button" data-i18n="auth.switchToRegister">Need an account? Register</button>
</div>
<div class="stack lang-field">
<span class="label" data-i18n="lang.label">Language</span>