Skip to content

Commit

Permalink
fix: add sign up link to mobile nav
Browse files Browse the repository at this point in the history
  • Loading branch information
brettski committed Oct 19, 2023
1 parent ad1fe81 commit 6f7528d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/_components/nav/mainNav/Mobile.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
<AddActivity />
</div>

<div class="my-4 flex flex-col space-y-5 px-4 sm:my-4 sm:px-6">
<div class="my-4 flex flex-col space-y-4 px-4 sm:my-4 sm:px-6">
{#if $page.data.user.isAuthenticated}
<MobileUsersProfile darkMode={true} />
{:else}
<StandardLink rel="external" href="/login/">Log in</StandardLink>
<StandardLink rel="external" href="/login/">Login</StandardLink>
<StandardLink rel="external" href="/signup/">Sign Up</StandardLink>
{/if}
</div>

0 comments on commit 6f7528d

Please sign in to comment.