{#if user} {#if isMenuOpen}
Voir mon profil {#if (user as any).isAdmin} Admin {/if}
{/if} {:else} Se connecter {/if}