1 parent
7cb7b80060
commit
d305718a1c
1 file changed
+12
-24
@@ -116,7 +116,7 @@
|
|||||||
<Button
|
<Button
|
||||||
href="/admin"
|
href="/admin"
|
||||||
aria-label="Admin"
|
aria-label="Admin"
|
||||||
class="max-md:w-8 max-md:h-8 max-md:!p-0 dark:text-zinc-300 text-slate-700 relative"
|
class="max-md:w-9 max-md:h-8 max-md:!p-0 dark:text-zinc-300 text-slate-700 relative"
|
||||||
>
|
>
|
||||||
<Icon src={ServerStack} mini size="18" slot="prefix" />
|
<Icon src={ServerStack} mini size="18" slot="prefix" />
|
||||||
<span class="hidden md:inline">Admin</span>
|
<span class="hidden md:inline">Admin</span>
|
||||||
@@ -132,7 +132,7 @@
|
|||||||
<Button
|
<Button
|
||||||
href="/moderation"
|
href="/moderation"
|
||||||
aria-label="Moderation"
|
aria-label="Moderation"
|
||||||
class="max-md:w-8 max-md:h-8 max-md:!p-0 dark:text-zinc-300 text-slate-700 relative"
|
class="max-md:w-9 max-md:h-8 max-md:!p-0 dark:text-zinc-300 text-slate-700 relative"
|
||||||
>
|
>
|
||||||
{#if ($profile?.user?.notifications.reports ?? 0) > 0}
|
{#if ($profile?.user?.notifications.reports ?? 0) > 0}
|
||||||
<div
|
<div
|
||||||
@@ -146,7 +146,7 @@
|
|||||||
<Button
|
<Button
|
||||||
href="/search"
|
href="/search"
|
||||||
aria-label="Search"
|
aria-label="Search"
|
||||||
class="max-md:w-8 max-md:h-8 max-md:!p-0"
|
class="max-md:w-9 max-md:h-8 max-md:!p-0"
|
||||||
>
|
>
|
||||||
<Icon mini src={MagnifyingGlass} width={16} slot="prefix" />
|
<Icon mini src={MagnifyingGlass} width={16} slot="prefix" />
|
||||||
<span class="hidden md:inline">Search</span>
|
<span class="hidden md:inline">Search</span>
|
||||||
@@ -154,7 +154,7 @@
|
|||||||
<Button
|
<Button
|
||||||
href="/communities"
|
href="/communities"
|
||||||
aria-label="Communities"
|
aria-label="Communities"
|
||||||
class="max-md:w-8 max-md:h-8 max-md:!p-0"
|
class="max-md:w-9 max-md:h-8 max-md:!p-0"
|
||||||
>
|
>
|
||||||
<Icon mini src={GlobeAlt} size="16" slot="prefix" />
|
<Icon mini src={GlobeAlt} size="16" slot="prefix" />
|
||||||
<span class="hidden md:inline">Explore</span>
|
<span class="hidden md:inline">Explore</span>
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
color="primary"
|
color="primary"
|
||||||
slot="target"
|
slot="target"
|
||||||
aria-label="Create"
|
aria-label="Create"
|
||||||
class="max-md:w-8 max-md:h-8 max-md:!p-0"
|
class="max-md:w-9 max-md:h-8 max-md:!p-0"
|
||||||
>
|
>
|
||||||
<Icon src={Plus} width={18} mini slot="prefix" />
|
<Icon src={Plus} width={18} mini slot="prefix" />
|
||||||
<span class="hidden md:inline">Create</span>
|
<span class="hidden md:inline">Create</span>
|
||||||
@@ -203,7 +203,7 @@
|
|||||||
containerClass="!max-h-[28rem] z-10"
|
containerClass="!max-h-[28rem] z-10"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="w-8 h-8 rounded-full ring-1 ring-slate-300 dark:ring-zinc-600 bg-slate-100
|
class="w-8 h-8 rounded-full ring-1 ring-slate-300 bg-slate-100
|
||||||
dark:bg-zinc-800 relative"
|
dark:bg-zinc-800 relative"
|
||||||
aria-label="Profile"
|
aria-label="Profile"
|
||||||
slot="target"
|
slot="target"
|
||||||
@@ -229,15 +229,13 @@
|
|||||||
</button>
|
</button>
|
||||||
{#if $profile?.user}
|
{#if $profile?.user}
|
||||||
<div class="flex flex-row gap-2 items-center py-2 mx-4 font-medium">
|
<div class="flex flex-row gap-2 items-center py-2 mx-4 font-medium">
|
||||||
<Avatar
|
<Avatar width={22} url={$profile?.user?.local_user_view.person.avatar} alt={$profile?.username} />
|
||||||
width={22}
|
|
||||||
url={$profile?.user?.local_user_view.person.avatar}
|
|
||||||
alt={$profile?.username}
|
|
||||||
/>
|
|
||||||
{$profile?.user?.local_user_view?.person.name}
|
{$profile?.user?.local_user_view?.person.name}
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<MenuDivider>Profile</MenuDivider>
|
<MenuDivider>
|
||||||
|
Profile
|
||||||
|
</MenuDivider>
|
||||||
{/if}
|
{/if}
|
||||||
{#if $profile?.user}
|
{#if $profile?.user}
|
||||||
<MenuButton link href="/profile">
|
<MenuButton link href="/profile">
|
||||||
@@ -313,20 +311,10 @@
|
|||||||
<Badge>{__VERSION__}</Badge>
|
<Badge>{__VERSION__}</Badge>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button color="tertiary" href="https://buymeacoffee.com/xylight" title="Donate" size="square-md">
|
||||||
color="tertiary"
|
|
||||||
href="https://buymeacoffee.com/xylight"
|
|
||||||
title="Donate"
|
|
||||||
size="square-md"
|
|
||||||
>
|
|
||||||
<Icon src={Heart} size="16" mini />
|
<Icon src={Heart} size="16" mini />
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button color="tertiary" href="https://github.com/Xyphyn/Photon" title="GitHub" size="square-md">
|
||||||
color="tertiary"
|
|
||||||
href="https://github.com/Xyphyn/Photon"
|
|
||||||
title="GitHub"
|
|
||||||
size="square-md"
|
|
||||||
>
|
|
||||||
<Icon src={CodeBracketSquare} size="16" mini />
|
<Icon src={CodeBracketSquare} size="16" mini />
|
||||||
</Button>
|
</Button>
|
||||||
<Button color="tertiary" href="/about" title="About" size="square-md">
|
<Button color="tertiary" href="/about" title="About" size="square-md">
|
||||||
|
|||||||
Reference in new issue
Block a user