aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-05 22:49:07 -0700
committerAdam Soltys <[email protected]>2022-10-05 22:49:07 -0700
commitee9ec1265f18265cf0e6dc6779f5ab1cb8751bda (patch)
treeee1a850a5ee98bb83a5e6f6c32ea7ec592c056ba /src
parentf1e02e315e62b65557b75f0e3731ad05bcd968fd (diff)
downloadcoinos-ui-ee9ec1265f18265cf0e6dc6779f5ab1cb8751bda.tar.gz
coinos-ui-ee9ec1265f18265cf0e6dc6779f5ab1cb8751bda.zip
simplify dashboard
Diffstat (limited to 'src')
-rw-r--r--src/routes/[username]/dashboard/+page.svelte12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/routes/[username]/dashboard/+page.svelte b/src/routes/[username]/dashboard/+page.svelte
index 8a69492e..7055e617 100644
--- a/src/routes/[username]/dashboard/+page.svelte
+++ b/src/routes/[username]/dashboard/+page.svelte
@@ -43,17 +43,7 @@
$: accountBalanceSats = s(user.account.balance);
</script>
-<div class="text-center mx-auto lg:text-left lg:mx-0 lg:ml-[calc(15vw-64px)] mt-20 w-full md:w-72">
- <h2 class="text-3xl font-semibold">{user.username}</h2>
-
- {#if user.address}
- <span class="text-secondary">{user.address}</span>
- {/if}
-</div>
-
-<div class="container px-4 max-w-md mx-auto">
- <h1 class="text-center text-3xl md:text-4xl font-semibold mb-10">Dashboard</h1>
-
+<div class="container px-4 max-w-md mx-auto mt-20">
<div class="text-5xl font-bold mb-2">
{$selectedRate ? f(accountBalanceFiat, user.currency) : $t('user.dashboard.fetchingRate')}
</div>