Working signout button

This commit is contained in:
Olaf
2026-08-24 19:56:28 +02:00
parent 28a01175f7
commit 12f3580f60
17 changed files with 252 additions and 10 deletions
+10 -1
View File
@@ -14,7 +14,14 @@
<h1>LinkLog</h1>
<p>Public link feed</p>
</div>
<a class="login-button" href="/login">Sign in</a>
<div class="header-actions">
<a id="auth-login-button" class="login-button" href="/login">Sign in</a>
<div id="auth-session" class="auth-session hidden">
<div id="auth-avatar" class="avatar"></div>
<span id="auth-username" class="user-name"></span>
<button id="logout-button" class="logout-button" type="button">Sign out</button>
</div>
</div>
</div>
</div>
</header>
@@ -54,6 +61,8 @@
<section id="feed" class="feed" aria-live="polite"></section>
</main>
<script src="/static/auth-header.js?v=1"></script>
<script src="/static/logout.js?v=3"></script>
<script src="/static/feed.js?v=5"></script>
</body>
</html>