style register page with auth-card layout

apply the shared auth-shell + auth-card layout to the register
template, mirroring the login page. ids and the #register-error
element are preserved for the existing cypress auth tests.
This commit is contained in:
Yisroel Baum 2026-05-01 11:33:37 +03:00
parent a20d12177e
commit 8d38a092d8
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -7,8 +7,10 @@
<link rel="stylesheet" href="/css/app.css"> <link rel="stylesheet" href="/css/app.css">
</head> </head>
<body> <body>
<main class="auth-shell">
<div class="auth-card stack">
<h1>Register</h1> <h1>Register</h1>
<form id="register-form"> <form id="register-form" class="stack">
<label>Email <label>Email
<input type="email" id="email" name="email" required /> <input type="email" id="email" name="email" required />
</label> </label>
@ -21,10 +23,16 @@
required required
/> />
</label> </label>
<button type="submit">Register</button> <button type="submit" class="btn btn-primary full-width">
Register
</button>
</form> </form>
<p id="register-error" hidden></p> <p id="register-error" class="error" hidden></p>
<p><a href="/login">Already have an account? Login</a></p> <p class="muted">
<a href="/login">Already have an account? Login</a>
</p>
</div>
</main>
<script src="/js/auth.js"></script> <script src="/js/auth.js"></script>
</body> </body>
</html> </html>