Styling
This commit is contained in:
@@ -24,11 +24,11 @@ async function signOut() {
|
|||||||
|
|
||||||
{#if user_data}
|
{#if user_data}
|
||||||
<div class="user-profile">
|
<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>Username:</strong> {user_data.user_metadata.display_name}</p>
|
||||||
<p><strong>Email:</strong> {user_data.email}</p>
|
<p><strong>Email:</strong> {user_data.email}</p>
|
||||||
</div>
|
</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
|
Sign Out
|
||||||
</button>
|
</button>
|
||||||
{:else}
|
{:else}
|
||||||
|
|||||||
Reference in New Issue
Block a user