twoblade
Rugplay {#if $USER_DATA?.isAdmin} | Admin {/if}
{#each data.navMain as item} {#snippet child({ props }: { props: MenuButtonProps })} handleNavClick(item.title)} class={`${props.class}`} > {item.title} {/snippet} {/each} {#if $USER_DATA?.isAdmin} {#each data.navAdmin as item} {#snippet child({ props }: { props: MenuButtonProps })} handleNavClick(item.title)} class={`${props.class}`} > {item.title} {/snippet} {/each} {/if} {#snippet child({ props }: { props: MenuButtonProps })} {/snippet} {#if $USER_DATA && $PORTFOLIO_DATA} Portfolio
Total Value
${formatCurrency($PORTFOLIO_DATA.totalValue)}
Cash: ${formatCurrency($PORTFOLIO_DATA.baseCurrencyBalance)}
Coins: ${formatCurrency($PORTFOLIO_DATA.totalCoinValue)}
{/if}
{#if $USER_DATA} {#snippet child({ props })} ?
{$USER_DATA.name} @{$USER_DATA.username}
{/snippet}
?
{$USER_DATA.name} @{$USER_DATA.username}
Upgrade to Pro goto('/settings')}> Account Billing Notifications { signOut().then(() => { USER_DATA.set(null); window.location.reload(); }); }} > Log out
{/if}