{$t.common?.brand }
(e.key === "Enter" || e.key === " ") && handleActivityClick()} role="button" tabindex="0" aria-label={$t.common?.activity } > {#if activeCount > 0} {activeCount} {/if}
(e.key === "Enter" || e.key === " ") && toggleUserMenu(e)} role="button" tabindex="0" aria-label={$t.common?.user_menu } > {#if user} {user.username ? user.username.charAt(0).toUpperCase() : "U"} {:else} U {/if}
{user?.username || ($t.common?.user )}
{ window.location.href = "/settings"; }} on:keydown={(e) => (e.key === "Enter" || e.key === " ") && (window.location.href = "/settings")} role="button" tabindex="0" > {$t.nav?.settings }
(e.key === "Enter" || e.key === " ") && handleLogout()} role="button" tabindex="0" > {$t.common?.logout }