{#if $sessionStore.authed} {:else}
goto('/')} >
{/if}
{#if !$sessionStore.authed || $page.url.pathname.match(/register|backup|delegate/)}
goto('/')} >
{/if}
{#if !$sessionStore.loading && !$sessionStore.authed}
Connect
{/if} {#if !$sessionStore.loading && $sessionStore.backupCreated === false} goto('/delegate-account')} class="btn btn-sm h-10 btn-warning rounded-full bg-orange-300 border-2 border-neutral font-medium text-neutral transition-colors ease-in hover:bg-orange-300" > Backup recommended {/if} {#if $sessionStore.authed} {/if} {#if $themeStore === 'light'} setTheme('dark')}> {:else} setTheme('light')}> {/if}