tangled
{#if variant === "marketing"} {:else} {#if user || loading}
{#snippet newItems()} New repository Import repository New string New organization {/snippet} {#if mobile.current}
{@render newItems()}
{:else} {#snippet trigger()} New {/snippet} {@render newItems()} {/if}
{/if}
{#if loading}
{:else if user} {#snippet aboutLinks()} {#each siteLinkSections as section (section.title)} {#each section.links as link (link.href)} {link.label}{#if link.status}{/if} {/each} {/each} {/snippet} {#snippet profileItems(current: CurrentUser, about: Snippet)} {@const actor = profileIdentifier( isHandle(current.handle) ? current.handle : undefined, current.did )} {#if others.length > 0}
Switch account
{#each others as account (account.did)} onSwitchAccount?.(account.did)}> {/each} {/if} Add account Profile Repositories Strings Organizations Settings {@render about()} Sign out {/snippet} {#snippet aboutSubmenu()} {@render aboutLinks()} {/snippet} {#snippet aboutDrillIn()} {/snippet} {#if mobile.current}
{#if aboutOpen}
{@render aboutLinks()}
{:else}
{@render profileItems(user, aboutDrillIn)}
{/if}
{:else} {#snippet trigger()} {/snippet} {@render profileItems(user, aboutSubmenu)} {/if} {:else}
{/if}
{/if}