Redesign v2025.1
This commit is contained in:
parent
a46a760669
commit
a8cb30456c
37 changed files with 1576 additions and 1174 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { Auth } from './auth.js';
|
||||
import { ThemeSelector } from './theme-selector.js';
|
||||
|
||||
let auth = new Auth();
|
||||
|
||||
document.querySelectorAll('.add-passkey').forEach((el) => {
|
||||
el.addEventListener('click', () => {
|
||||
auth.register();
|
||||
|
|
@ -13,3 +13,6 @@ document.querySelectorAll('.login-passkey').forEach((el) => {
|
|||
auth.login();
|
||||
});
|
||||
});
|
||||
|
||||
let themeSelector = new ThemeSelector();
|
||||
themeSelector.setupEventListeners();
|
||||
|
|
|
|||
Loading…
Reference in a new issue