This commit is contained in:
Roman Krček
2025-06-21 22:09:34 +02:00
parent 21ed61f0c2
commit 2c11e82424

View File

@@ -24,11 +24,11 @@ async function signOut() {
{#if user_data}
<div class="user-profile">
<h2>Currently logged in</h2>
<h2 class="text-2xl font-bold mb-2">Currently logged in</h2>
<p><strong>Username:</strong> {user_data.user_metadata.display_name}</p>
<p><strong>Email:</strong> {user_data.email}</p>
</div>
<button class="bg-red-500 text-white px-4 py-2 rounded hover:bg-red-600" onclick={signOut}>
<button class="bg-red-500 text-white px-4 py-2 rounded hover:bg-red-600 mt-4" onclick={signOut}>
Sign Out
</button>
{:else}