{$USER_DATA ? getTimeBasedGreeting($USER_DATA?.name) : 'Welcome to Rugplay!'}

{#if $USER_DATA} Here's the market overview for today. {:else} You need to or{' '} to play. {/if}

Market Overview

Name Price 24h Change {#each coins as coin} {coin.name} ({coin.symbol}) ${coin.price.toLocaleString(undefined, { minimumFractionDigits: coin.price < 1 ? 3 : 2, maximumFractionDigits: coin.price < 1 ? 3 : 2 })} = 0 ? 'success' : 'destructive'}> {coin.change24h >= 0 ? '+' : ''}{coin.change24h}% {/each}