diff options
| author | Adam Soltys <[email protected]> | 2026-02-04 14:05:47 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 15:34:19 -0800 |
| commit | 59fbd17aad12acfa19eb730c4ede67d50962ba9b (patch) | |
| tree | bbd4bbf37605d4d59d290bb2ab6755a278b0ee04 /src/routes/(app)/account/import | |
| parent | 78c201d8d9d2f3ec07f6ea36201977846e29ccd9 (diff) | |
| download | coinos-ui-59fbd17aad12acfa19eb730c4ede67d50962ba9b.tar.gz coinos-ui-59fbd17aad12acfa19eb730c4ede67d50962ba9b.zip | |
rename account route
Diffstat (limited to 'src/routes/(app)/account/import')
| -rw-r--r-- | src/routes/(app)/account/import/+page.svelte | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/src/routes/(app)/account/import/+page.svelte b/src/routes/(app)/account/import/+page.svelte index 8275d694..7b6857e5 100644 --- a/src/routes/(app)/account/import/+page.svelte +++ b/src/routes/(app)/account/import/+page.svelte @@ -1,5 +1,5 @@ <script> - import { run, preventDefault } from 'svelte/legacy'; + import { run, preventDefault } from "svelte/legacy"; import { goto } from "$app/navigation"; import { mnemonic } from "$lib/store"; @@ -9,7 +9,9 @@ import { validateMnemonic } from "@scure/bip39"; import { wordlist } from "@scure/bip39/wordlists/english.js"; - let el = $state(), pasted = $state(), text = $state(); + let el = $state(), + pasted = $state(), + text = $state(); let paste = async () => { text = await navigator.clipboard.readText(); @@ -44,20 +46,21 @@ class="w-full p-4 border rounded-xl h-48 text-xl" bind:value={text} autocapitalize="none" -></textarea> - <button - bind:this={el} - type="submit" - class="flex bg-black text-white border rounded-2xl px-6 py-5 w-full font-bold gap-2 justify-center" - > - <iconify-icon - noobserver - icon="ph:paper-plane-right-bold" - width="32" - class="my-auto invert" - ></iconify-icon> - <div class="my-auto">{$t("user.send.next")}</div> - </button> + ></textarea> + <div class="flex gap-2"> + <a href={`/account/bitcoin`} class="contents"> + <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> + </button> + </div> </form> </div> </div> |
