misc: switch to sidebarbutton in sidebar

This commit is contained in:
Xyphyn committed 2023-10-11 17:20:25 -07:00
1 parent b12d1271ec
commit 1ce576302a
1 file changed
+6 -24
+6 -24
View File
@@ -73,35 +73,17 @@
<CommunityList items={$profile.user.follows.map((i) => i.community)} /> <CommunityList items={$profile.user.follows.map((i) => i.community)} />
{:else} {:else}
<Button <SidebarButton href="/login" title="Log In">
class="hover:bg-slate-200"
href="/login"
color="tertiary"
alignment="left"
title="Log In"
>
<Icon mini src={ArrowLeftOnRectangle} size="20" /> <Icon mini src={ArrowLeftOnRectangle} size="20" />
<span>Log In</span> <span>Log In</span>
</Button> </SidebarButton>
<Button <SidebarButton href="/signup" title="Sign Up">
class="hover:bg-slate-200"
href="/signup"
color="tertiary"
alignment="left"
title="Sign Up"
>
<Icon mini src={Identification} size="20" /> <Icon mini src={Identification} size="20" />
<span>Sign Up</span> <span>Sign Up</span>
</Button> </SidebarButton>
<Button <SidebarButton href="/accounts" title="Change Instance">
class="hover:bg-slate-200"
href="/accounts"
color="tertiary"
alignment="left"
title="Change Instance"
>
<Icon mini src={ServerStack} size="20" /> <Icon mini src={ServerStack} size="20" />
<span>Change instance</span> <span>Change instance</span>
</Button> </SidebarButton>
{/if} {/if}
</nav> </nav>