diff options
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> |
