fix: broken sidebar when not logged in

This commit is contained in:
Xyphyn committed 2023-10-14 10:54:18 -07:00
1 parent f8cc2de9e5
commit 2bf44fbf1b
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "photon-lemmy",
"version": "1.20.1",
"version": "1.20.2",
"private": true,
"scripts": {
"dev": "vite dev",
+3 -3
View File
@@ -85,15 +85,15 @@
{:else}
<SidebarButton href="/login" title="Log In">
<Icon mini src={ArrowLeftOnRectangle} size="20" />
<span>Log In</span>
<span slot="label">Log In</span>
</SidebarButton>
<SidebarButton href="/signup" title="Sign Up">
<Icon mini src={Identification} size="20" />
<span>Sign Up</span>
<span slot="label">Sign Up</span>
</SidebarButton>
<SidebarButton href="/accounts" title="Change Instance">
<Icon mini src={ServerStack} size="20" />
<span>Change instance</span>
<span slot="label">Change instance</span>
</SidebarButton>
{/if}
</nav>