660}
+ class:flex={height > 660}
+ bind:this={top}
>
{#if step == "load"}
-
-
How to open your wallet:
-
By your Pazzle
-
+ 660}>
+
+ How to open your wallet? You have 2 options:
+
+
With your Pazzle
+
-
For each one of the 9 categories of images, you will be presented with
the 15 possible image choices. The categories are shuffled at every
@@ -356,11 +373,11 @@
- By your 12 word Mnemonic (passphrase)
+ With your 12 words Mnemonic (passphrase)
-
+
-
- Enter your twelve word mnemonic in the input field. The words must be
+ Enter your twelve words mnemonic in the input field. The words must be
separated by spaces.
- Enter the PIN code that you chose when you created your wallet.
@@ -419,32 +436,34 @@
>
Open with Pazzle!
{/if}
+
Open with Mnemonic instead
-
{:else if step == "pazzle" || step == "order" || step == "pin" || step == "mnemonic"}
660}
class:min-w-[310px]={mobile}
class:min-w-[500px]={!mobile}
class:max-w-[370px]={mobile}
@@ -458,25 +477,25 @@
Your 12 words mnemonic
- Confirm
@@ -484,7 +503,7 @@
- Select your emoji of category: {emoji_cat[
+ Select your emoji of category:
{emoji_cat[
shuffle.category_indices[pazzlePage]
]}
@@ -506,7 +525,7 @@
{/each}
{:else if step == "order"}
- Click your emojis in the correct order
+ Select each image in the correct order
{#each [0, 1, 2] as row}
@@ -543,11 +562,8 @@
{/each}
{:else if step == "pin"}
-
- Enter your PIN code:
- {#each pin_code as pin_key}*{/each}
+
+ Enter your PIN code
-
+
{#if step === "mnemonic" || (step === "pazzle" && pazzlePage === 0)}Go
+ back{:else}Correct{/if}
@@ -638,7 +658,7 @@
{:else if step == "end"}
{#if error}
-
+
An error occurred !
+
-
{:else}
@@ -707,6 +727,10 @@