aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-13 13:29:41 -0800
committerAdam Soltys <[email protected]>2026-02-13 13:29:41 -0800
commit98e78b6805e192918fb44d42815685e741cf2278 (patch)
tree8ea6c13b1099412b8395874da9d8d4ffd0877350 /src/routes/(app)
parentf4ebe3b509e13f6e0216454df0a8d4ad3f9cdda5 (diff)
downloadcoinos-ui-98e78b6805e192918fb44d42815685e741cf2278.tar.gz
coinos-ui-98e78b6805e192918fb44d42815685e741cf2278.zip
account ui
Diffstat (limited to 'src/routes/(app)')
-rw-r--r--src/routes/(app)/account/[id]/+page.svelte14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/routes/(app)/account/[id]/+page.svelte b/src/routes/(app)/account/[id]/+page.svelte
index c5e11ad1..05add104 100644
--- a/src/routes/(app)/account/[id]/+page.svelte
+++ b/src/routes/(app)/account/[id]/+page.svelte
@@ -79,12 +79,24 @@
<div class="space-y-1">
<label for="name" class="font-bold block">{$t("accounts.name")}</label>
<label
- class="input input-bordered border-primary input-lg rounded-2xl flex items-center gap-2"
+ class="input input-bordered border-primary input-lg flex items-center gap-2"
>
<input type="text" name="name" class="clean" bind:value={name} />
</label>
</div>
+ <div class="flex items-center gap-2 text-lg">
+ <span class="font-bold">{$t("accounts.type")}:</span>
+ {#if account.type === "ark"}
+ <img src="/images/ark.png" class="w-6 h-6 rounded-full object-cover" alt="Ark" />
+ {:else if seed}
+ <iconify-icon noobserver icon="cryptocurrency-color:btc" width="24"></iconify-icon>
+ {:else}
+ <iconify-icon noobserver icon="ph:lightning-fill" class="text-yellow-300" width="24"></iconify-icon>
+ {/if}
+ {displayType}
+ </div>
+
<div class="space-y-2">
{#if mnemonic}
<Mnemonic {mnemonic} />