{ e.preventDefault() promptOpen = true return true }} href="/" label={$t('nav.home')} class="ml-2 logo" > {#if LINKED_INSTANCE_URL} {#if $site} {:else} {/if} {:else} {/if} {#if searching}
{/if}
{#if $profile?.user && isAdmin($profile.user)} path.startsWith('/admin')} > {#if ($notifications.applications ?? 0) > 0}
{/if} {/if} {#if amModOfAny($profile?.user)} {#if ($notifications.reports ?? 0) > 0}
{/if} {/if} (searching = true)} label={$t('nav.search')} icon={MagnifyingGlass} /> {$t('nav.create.label')} {$t('nav.create.post')} {$t('nav.create.community')} {#if !$profile?.jwt} {$t('nav.create.logingate')} {/if} {#if $profile?.user?.local_user_view.person.avatar}
{/if}