Add logout button to user profile in sidebar
- Door emoji button next to username - Links to /auth/logout - Redirects to home page after logout Chronicler #69
This commit is contained in:
@@ -97,10 +97,15 @@
|
||||
</a>
|
||||
</nav>
|
||||
<div class="p-4 border-t border-gray-200 dark:border-gray-700">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center gap-3">
|
||||
<img src="https://cdn.discordapp.com/avatars/<%= adminUser.id %>/<%= adminUser.avatar %>.png" class="w-10 h-10 rounded-full">
|
||||
<span class="font-medium"><%= adminUser.username %></span>
|
||||
</div>
|
||||
<a href="/auth/logout" class="text-gray-400 hover:text-red-500 transition" title="Logout">
|
||||
🚪
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user