{ e.preventDefault() promptOpen = true return true }} href="/" label={$t('nav.home')} class="ml-2 lg:ml-2 logo border-0 lg:rounded-full! lg:w-10! lg:h-10 lg:px-0! text-primary-900! dark:text-primary-100!" adaptive={false} > {#snippet customIcon()} {#if LINKED_INSTANCE_URL} {#if site.data} {:else} {/if} {:else} {/if} {/snippet}
{#if profile.current?.user && isAdmin(profile.current.user)} path.startsWith('/admin')} /> {/if} {#if amModOfAny(profile.current?.user)} {/if} {#snippet target(attachment)} {/snippet} {#snippet children(open)} {#if open} {#await import('./Profile.svelte')}
{:then { default: Profile }} {/await} {/if} {/snippet}