diff options
| author | Adam Soltys <[email protected]> | 2022-10-04 20:32:24 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-10-04 20:32:24 -0700 |
| commit | 48e0014b991e9fde4bda103ba6f128c9255cf205 (patch) | |
| tree | 5af796d0ebeaad00325a3c7844f60754c9ec4510 | |
| parent | 59d43ba294e49cbb46ea4d2d0ddb0d22bbc7ba6e (diff) | |
| download | coinos-ui-48e0014b991e9fde4bda103ba6f128c9255cf205.tar.gz coinos-ui-48e0014b991e9fde4bda103ba6f128c9255cf205.zip | |
swap balances
| -rw-r--r-- | src/routes/[username]/dashboard/+page.svelte | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/routes/[username]/dashboard/+page.svelte b/src/routes/[username]/dashboard/+page.svelte index c017fdc0..667c4749 100644 --- a/src/routes/[username]/dashboard/+page.svelte +++ b/src/routes/[username]/dashboard/+page.svelte @@ -53,21 +53,20 @@ <div class="px-3 md:px-0 flex justify-center items-center mt-10 lg:mt-0 mb-20"> <div> - <h1 class="text-3xl md:text-4xl font-semibold mb-8"> - {$t('user.dashboard.dashboard')} - </h1> - <h3 class="text-secondary font-bold border-b pb-1 mt-10 mb-6 w-full md:w-[500px] uppercase"> + <h3 class="text-secondary font-bold pb-1 mt-10 mb-6 w-full md:w-[500px] uppercase"> {$t('user.dashboard.accountBalance')} </h3> - <span class="text-3xl font-bold block mb-1">{accountBalanceSats} SAT</span> - - <span class="text-secondary text-xl block" + <span class="text-3xl font-bold block mb-1" >{$selectedRate ? f(accountBalanceFiat, user.currency) : $t('user.dashboard.fetchingRate')}</span > + <span class="text-secondary text-xl block"> + {accountBalanceSats} SAT + </span> + <div class="grid sm:grid-cols-2 gap-2 mt-8"> <a href={`/${user.username}/receive`}> <button class="rounded-full border py-2 px-5 font-bold hover:opacity-80 w-full mb-2" |
