From 908e6e26a9b64e92bcb65461babab992c1bcc8f5 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 15 Sep 2022 15:03:47 -0700 Subject: update dashboard page --- src/routes/[username]/dashboard/+page.svelte | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'src/routes') diff --git a/src/routes/[username]/dashboard/+page.svelte b/src/routes/[username]/dashboard/+page.svelte index eee13576..9c9d8908 100644 --- a/src/routes/[username]/dashboard/+page.svelte +++ b/src/routes/[username]/dashboard/+page.svelte @@ -49,29 +49,31 @@ {withdrawing ? 'Withdraw' : 'Dashboard'} {#if !withdrawing} - {$t('user.dashboard.bitcoinPrice')} - {$selectedRate ? btcPrice : $t('user.dashboard.fetchingRate')} - - - {@html $t('user.dashboard.dataFromBinance')} - + + + + + + +

{$t('user.dashboard.ACCOUNT_BALANCE')}

{$selectedRate ? accountBalanceFiat : $t('user.dashboard.fetchingRate')}{accountBalanceSats} SAT - {accountBalanceSats} SAT + {$selectedRate ? accountBalanceFiat : $t('user.dashboard.fetchingRate')} - + -

{$t('user.dashboard.conversionFeeWarning')}

+ {:else}