feat: add sorts to user pages

This commit is contained in:
Xyphyn committed 2023-07-27 12:25:26 -07:00
1 parent d427d4b2fc
commit c0aaf08a9f
12 files changed
+129 -69

No files matched your search

+6 -3
View File
@@ -100,7 +100,7 @@
{/if}
{#if $user}
<img
src={$user.person.avatar ??
src={$user.local_user_view.person.avatar ??
'https://xylo.xylight.dev/img/logo-background.svg'}
alt=""
width={32}
@@ -113,10 +113,13 @@
{/if}
</button>
<li class="text-xs opacity-80 text-left mx-4 my-1 py-1">
{$user ? $user.person.name : 'Profile'}
{$user ? $user.local_user_view.person.name : 'Profile'}
</li>
{#if $user && $authData}
<MenuButton link href="/u/{$user.person.name}@{$authData.instance}">
<MenuButton
link
href="/u/{$user.local_user_view.person.name}@{$authData.instance}"
>
<Icon src={UserCircle} mini width={16} /> Profile
</MenuButton>
<MenuButton link href="/inbox">