Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Closes#385 <feature-added-in-login-button-#385> #391

Merged
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/lib/components/header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,16 @@
{#if username}
<ProfilePicture {username} />
{:else}
<a
<!-- <a
data-test-id="login-btn-lg"
class="default-transition rounded-xl bg-skin-text px-4 py-2 text-skin-off-background hover:bg-primary-100 dark:bg-skin-text-highlight dark:text-skin-background dark:hover:bg-primary-100"
class="default-transition rounded-xl bg-orange-500 px-4 py-2 text-skin-off-background hover:shadow-primary-hover dark:bg-skin-text-highlight dark:text-skin-background dark:hover:bg-orange-400"
href="/login">Login</a
> -->
<a
data-test-id="login-btn-lg"
href="/login"
class="relative rounded-lg bg-skin-primary px-4 py-2 text-white shadow-lg transition duration-200 hover:shadow-primary-hover bg-skin-primary"
>Login</a
>
{/if}
</div>
Expand Down