[feature] Redesigned login page (#76)
Reworked the login page - Simplified some of the HTML and CSS - Removed some `aria-label`s - Added alt text for the logo - Added a label for the input field - Added subtle borders to otherwise flat elements  Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/76 Co-authored-by: Zoë Bijl <code@moiety.me> Co-committed-by: Zoë Bijl <code@moiety.me>
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
document.addEventListener("DOMContentLoaded", async function() {
|
||||
await ready();
|
||||
|
||||
const form = document.querySelector('#login')
|
||||
form?.addEventListener("submit", (event) => {
|
||||
event.preventDefault();
|
||||
auth();
|
||||
});
|
||||
});
|
||||
|
||||
async function ready() {
|
||||
|
||||
Reference in New Issue
Block a user