feat: Add private messages

This commit is contained in:
Xyphyn committed 2023-07-06 11:54:53 -07:00
1 parent 1a0881f9ce
commit 7113dc8463
9 files changed
+176 -46

No files matched your search

+8 -3
View File
@@ -89,13 +89,18 @@
{/if}
{/if}
</button>
<span class="text-xs opacity-80 text-left mx-4 my-2">Profile</span>
{#if !$user}
<span class="text-xs opacity-80 text-left mx-4 my-2">
{$user ? $user.person_view.person.name : 'Profile'}
</span>
{#if !$user || !$authData}
<MenuButton link href="/login">
<Icon src={ArrowLeftOnRectangle} mini width={16} /> Log in
</MenuButton>
{:else}
<MenuButton link href="/u/{$user.person_view.person.name}">
<MenuButton
link
href="/u/{$user.person_view.person.name}@{$authData.instance}"
>
<Icon src={UserCircle} mini width={16} /> Profile
</MenuButton>
<MenuButton link href="/inbox">