diff options
| author | Adam Soltys <[email protected]> | 2026-02-11 23:02:30 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 23:02:30 -0800 |
| commit | 2e61e8abbc318c36969cb5add0c63df81135b4ab (patch) | |
| tree | 706396b41da448f0172719313fb6ae30ecebb004 /src/routes/(app)/account | |
| parent | 56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 (diff) | |
| download | coinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.tar.gz coinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.zip | |
formatting
Diffstat (limited to 'src/routes/(app)/account')
| -rw-r--r-- | src/routes/(app)/account/[id]/+page.svelte | 16 | ||||
| -rw-r--r-- | src/routes/(app)/account/ark/+page.svelte | 9 | ||||
| -rw-r--r-- | src/routes/(app)/account/bitcoin/+page.svelte | 4 | ||||
| -rw-r--r-- | src/routes/(app)/account/import/+page.svelte | 4 | ||||
| -rw-r--r-- | src/routes/(app)/account/pass/+page.svelte | 10 | ||||
| -rw-r--r-- | src/routes/(app)/account/seed/+page.svelte | 16 |
6 files changed, 20 insertions, 39 deletions
diff --git a/src/routes/(app)/account/[id]/+page.svelte b/src/routes/(app)/account/[id]/+page.svelte index 43ebe508..7f306fea 100644 --- a/src/routes/(app)/account/[id]/+page.svelte +++ b/src/routes/(app)/account/[id]/+page.svelte @@ -71,9 +71,7 @@ </script> <div class="space-y-5"> - <h1 class="text-center text-3xl font-semibold"> - {$t("payments.accountSettings")} - </h1> + <h1 class="text-center text-3xl font-semibold">{$t("payments.accountSettings")}</h1> <div class="container w-full mx-auto text-lg px-4 max-w-xl space-y-2"> <form class="space-y-5" method="POST" use:enhance> @@ -92,20 +90,20 @@ <button onclick={() => copy(mnemonic)} type="button" class="btn"> <iconify-icon noobserver icon="ph:copy-bold" width="32"></iconify-icon> - <div class="my-auto">{$t("accounts.copy")}</div></button - > + <div class="my-auto">{$t("accounts.copy")}</div> + </button> {:else if seed} <button onclick={requestMnemonic} type="button" class="btn"> <iconify-icon noobserver icon="ph:eye-bold" width="32"></iconify-icon> - <div class="my-auto">{$t("accounts.revealMnemonic")}</div></button - > + <div class="my-auto">{$t("accounts.revealMnemonic")}</div> + </button> {/if} {#if seed} <button onclick={del} type="button" class="btn"> <iconify-icon noobserver icon="ph:trash-bold" width="32"></iconify-icon> - <div class="my-auto">{$t("accounts.deleteAccount")}</div></button - > + <div class="my-auto">{$t("accounts.deleteAccount")}</div> + </button> {/if} </div> diff --git a/src/routes/(app)/account/ark/+page.svelte b/src/routes/(app)/account/ark/+page.svelte index c21da0d5..79df4752 100644 --- a/src/routes/(app)/account/ark/+page.svelte +++ b/src/routes/(app)/account/ark/+page.svelte @@ -165,8 +165,7 @@ {#if hasMasterSeed} <form onsubmit={preventDefault(submit)} class="space-y-5"> <p class="text-secondary"> - Your Ark wallet will be derived from your master seed. Enter your wallet password to - continue. + Your Ark wallet will be derived from your master seed. Enter your wallet password to continue. </p> <label for="password" class="input flex items-center justify-center gap-2 w-full"> @@ -208,7 +207,7 @@ </label> <div class="space-y-2"> - <label for="rememberFor" class="text-sm text-secondary"> Remember for </label> + <label for="rememberFor" class="text-sm text-secondary">Remember for</label> <select id="rememberFor" class="w-full" @@ -223,7 +222,7 @@ <div class="flex gap-2"> <a href={`/${user.username}`} class="contents"> - <button type="button" class="btn !w-auto grow"> Back </button> + <button type="button" class="btn !w-auto grow">Back</button> </a> <button disabled={submitting} type="submit" class="btn btn-accent !w-auto grow"> {#if submitting} @@ -345,7 +344,7 @@ </label> <div class="space-y-2"> - <label for="rememberFor" class="text-sm text-secondary"> Remember for </label> + <label for="rememberFor" class="text-sm text-secondary">Remember for</label> <select id="rememberFor" class="w-full" diff --git a/src/routes/(app)/account/bitcoin/+page.svelte b/src/routes/(app)/account/bitcoin/+page.svelte index ca90c758..e856d397 100644 --- a/src/routes/(app)/account/bitcoin/+page.svelte +++ b/src/routes/(app)/account/bitcoin/+page.svelte @@ -3,9 +3,7 @@ </script> <div class="space-y-5"> - <h1 class="text-center text-3xl font-semibold"> - {$t("accounts.accountSetup")} - </h1> + <h1 class="text-center text-3xl font-semibold">{$t("accounts.accountSetup")}</h1> <div class="container w-full mx-auto text-lg px-4 max-w-xl space-y-5"> <a href="/account/seed" class="block"> diff --git a/src/routes/(app)/account/import/+page.svelte b/src/routes/(app)/account/import/+page.svelte index 09e1edb1..93616a92 100644 --- a/src/routes/(app)/account/import/+page.svelte +++ b/src/routes/(app)/account/import/+page.svelte @@ -49,9 +49,7 @@ ></textarea> <div class="flex gap-2"> <a href={`/account/bitcoin`} class="contents"> - <button type="button" class="btn !w-auto grow"> - {$t("accounts.back")} - </button> + <button type="button" class="btn !w-auto grow">{$t("accounts.back")}</button> </a> <button bind:this={el} type="submit" class="btn btn-accent !w-auto grow"> <div class="my-auto">{$t("accounts.next")}</div> diff --git a/src/routes/(app)/account/pass/+page.svelte b/src/routes/(app)/account/pass/+page.svelte index fd58921f..5a177ded 100644 --- a/src/routes/(app)/account/pass/+page.svelte +++ b/src/routes/(app)/account/pass/+page.svelte @@ -82,9 +82,7 @@ <div class="space-y-5"> <div> - <h1 class="text-center text-3xl font-semibold"> - {$t("accounts.accountPassword")} - </h1> + <h1 class="text-center text-3xl font-semibold">{$t("accounts.accountPassword")}</h1> </div> <form @@ -168,7 +166,7 @@ </label> <div class="space-y-2"> - <label for="rememberFor" class="text-sm text-secondary"> Remember for </label> + <label for="rememberFor" class="text-sm text-secondary">Remember for</label> <select id="rememberFor" class="w-full" @@ -183,9 +181,7 @@ <div class="flex gap-2"> <a href={`/account/seed`} class="contents"> - <button type="button" class="btn !w-auto grow"> - {$t("accounts.back")} - </button> + <button type="button" class="btn !w-auto grow">{$t("accounts.back")}</button> </a> <button disabled={submitting} type="submit" class="btn btn-accent !w-auto grow"> {#if submitting} diff --git a/src/routes/(app)/account/seed/+page.svelte b/src/routes/(app)/account/seed/+page.svelte index cbfe1024..69cfc1b6 100644 --- a/src/routes/(app)/account/seed/+page.svelte +++ b/src/routes/(app)/account/seed/+page.svelte @@ -22,9 +22,7 @@ </script> <div class="space-y-5"> - <h1 class="text-center text-3xl font-semibold"> - {$t("accounts.seedPhrase")} - </h1> + <h1 class="text-center text-3xl font-semibold">{$t("accounts.seedPhrase")}</h1> <div class="container w-full mx-auto px-4 max-w-xl space-y-2"> {#if $mnemonic} @@ -33,21 +31,15 @@ <button type="button" class="btn" onclick={() => copy($mnemonic)}> <iconify-icon noobserver icon="ph:copy-bold" width="32"></iconify-icon> - <div class="my-auto"> - {$t("payments.copy")} - </div> + <div class="my-auto">{$t("payments.copy")}</div> </button> <div class="flex gap-2"> <a href={`/account/bitcoin`} class="contents"> - <button type="button" class="btn !w-auto grow"> - {$t("accounts.back")} - </button> + <button type="button" class="btn !w-auto grow">{$t("accounts.back")}</button> </a> <a href={`/account/pass`} class="contents"> - <button type="button" class="btn btn-accent !w-auto grow"> - {$t("accounts.next")} - </button> + <button type="button" class="btn btn-accent !w-auto grow">{$t("accounts.next")}</button> </a> </div> </div> |
