|
|
@@ -44,7 +44,7 @@
|
|
|
{#if isLoading}
|
|
|
<p>Loading...</p>
|
|
|
{:else if isAuthenticated}
|
|
|
- <p>You are logged in as {user.username}!</p>
|
|
|
+ <p>You are logged in as <strong>{user.username}</strong>!</p>
|
|
|
<button class="logout-button" on:click={logout}>Logout</button>
|
|
|
{/if}
|
|
|
</div>
|
|
|
@@ -58,4 +58,8 @@
|
|
|
background-color: #f44336;
|
|
|
color: white;
|
|
|
}
|
|
|
+
|
|
|
+ .logout-button:hover {
|
|
|
+ background-color: #d32f2f;
|
|
|
+ }
|
|
|
</style>
|