{#if user}
(sidebarOpen = !sidebarOpen)} aria-label="Toggle menu" >
{#if activeMatch && !page.url.pathname.startsWith('/matches/' + activeMatch.id)}
Active match
{activeMatch.name ?? 'Match'} · {stateLabel[activeMatch.state] ?? activeMatch.state}
Go to match →
{/if}
{@render children()}
{:else}
Vash Esports
Sign in with osu!
{@render children()}
{/if}