|
|
@ -16,9 +16,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
<script lang="ts"> |
|
|
|
<script lang="ts"> |
|
|
|
import { Alert, Toggle, Button } from "flowbite-svelte"; |
|
|
|
import { Alert, Toggle, Button } from "flowbite-svelte"; |
|
|
|
import { onMount, createEventDispatcher, tick } from "svelte"; |
|
|
|
import { onMount, createEventDispatcher } from "svelte"; |
|
|
|
|
|
|
|
import { t } from "svelte-i18n"; |
|
|
|
import ng from "../api"; |
|
|
|
import ng from "../api"; |
|
|
|
import { emoji_cat, emojis, load_svg } from "../wallet_emojis"; |
|
|
|
import { emoji_cat, emojis, load_svg, type Emoji } from "../wallet_emojis"; |
|
|
|
|
|
|
|
|
|
|
|
import { |
|
|
|
import { |
|
|
|
PuzzlePiece, |
|
|
|
PuzzlePiece, |
|
|
|
XCircle, |
|
|
|
XCircle, |
|
|
@ -89,7 +91,7 @@ |
|
|
|
scrollToTop(); |
|
|
|
scrollToTop(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
let emojis2 = []; |
|
|
|
let emojis2: Emoji[][] = []; |
|
|
|
|
|
|
|
|
|
|
|
let shuffle; |
|
|
|
let shuffle; |
|
|
|
|
|
|
|
|
|
|
@ -333,72 +335,54 @@ |
|
|
|
{#if step == "load"} |
|
|
|
{#if step == "load"} |
|
|
|
<div class="flex flex-col justify-center p-4 pt-6"> |
|
|
|
<div class="flex flex-col justify-center p-4 pt-6"> |
|
|
|
<h2 class="pb-5 text-xl self-start"> |
|
|
|
<h2 class="pb-5 text-xl self-start"> |
|
|
|
How to open your wallet? You have 2 options: |
|
|
|
{$t("pages.login.heading")} |
|
|
|
</h2> |
|
|
|
</h2> |
|
|
|
<h3 class="pb-2 text-lg self-start">With your Pazzle</h3> |
|
|
|
<h3 class="pb-2 text-lg self-start">{$t("pages.login.with_pazzle")}</h3> |
|
|
|
<ul class="mb-8 ml-3 space-y-4 text-justify text-sm list-decimal"> |
|
|
|
<ul class="mb-8 ml-3 space-y-4 text-justify text-sm list-decimal"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
For each one of the 9 categories of images, you will be presented with |
|
|
|
{$t("pages.login.pazzle_steps.1")} |
|
|
|
the 15 possible image choices. The categories are shuffled at every |
|
|
|
|
|
|
|
login. They will not always appear in the same order. |
|
|
|
|
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
At each category, only one of the 15 displayed choices is the correct |
|
|
|
{$t("pages.login.pazzle_steps.2")} |
|
|
|
image that belongs to your pazzle. Find it and tap or click on that |
|
|
|
|
|
|
|
one. The 15 images are shuffled too, they will not appear at the same |
|
|
|
|
|
|
|
position at each login. On a computer, you can also use the tab key on |
|
|
|
|
|
|
|
your keyboard to move to the desired item on the screen, then press |
|
|
|
|
|
|
|
the space bar to select each one. |
|
|
|
|
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
Once you completed the last category, you will be presented with all |
|
|
|
{$t("pages.login.pazzle_steps.3")} |
|
|
|
the images you have previously selected. Their order is displayed as |
|
|
|
|
|
|
|
it was when you picked them. But this is not the correct order of the |
|
|
|
|
|
|
|
images in your pazzle. You now have to order them correctly. |
|
|
|
|
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
You must remember which image should be the first one in your pazzle. |
|
|
|
{$t("pages.login.pazzle_steps.4")} |
|
|
|
Find it on the screen and click or tap on it. It will be greyed out |
|
|
|
|
|
|
|
and the number 1 will appear on top of it. |
|
|
|
|
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
Move on to the second image of your pazzle (that you memorized). Find |
|
|
|
{$t("pages.login.pazzle_steps.5")} |
|
|
|
it on the screen and tap on it. Repeat this step until you reached the |
|
|
|
|
|
|
|
last image. |
|
|
|
|
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
Finally, your PIN code will be asked. enter it by clicking or tapping |
|
|
|
{$t("pages.login.pazzle_steps.6")} |
|
|
|
on the digits. |
|
|
|
|
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
|
|
|
|
|
|
|
|
<h3 class="pb-2 text-lg self-start"> |
|
|
|
<h3 class="pb-2 text-lg self-start"> |
|
|
|
With your 12 words Mnemonic (passphrase) |
|
|
|
{$t("pages.login.with_mnemonic")} |
|
|
|
</h3> |
|
|
|
</h3> |
|
|
|
<ul class="mb-8 ml-3 space-y-4 text-justify text-sm list-decimal"> |
|
|
|
<ul class="mb-8 ml-3 space-y-4 text-justify text-sm list-decimal"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
Enter your twelve words mnemonic in the input field. The words must be |
|
|
|
{$t("pages.login.mnemonic_steps.1")} |
|
|
|
separated by spaces. |
|
|
|
</li> |
|
|
|
|
|
|
|
<li> |
|
|
|
|
|
|
|
{$t("pages.login.mnemonic_steps.2")} |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li>Enter the PIN code that you chose when you created your wallet.</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Save wallet? --> |
|
|
|
<!-- Save wallet? --> |
|
|
|
{#if for_import} |
|
|
|
{#if for_import} |
|
|
|
<div class="max-w-xl lg:px-8 mx-auto px-4 mb-2"> |
|
|
|
<div class="max-w-xl lg:px-8 mx-auto px-4 mb-2"> |
|
|
|
<span class="text-xl">Do you trust this device? </span> <br /> |
|
|
|
<span class="text-xl">{$t("pages.login.trust_device")} </span> <br /> |
|
|
|
<p class="text-sm"> |
|
|
|
<p class="text-sm"> |
|
|
|
If you do, if this device is yours or is used by few trusted persons |
|
|
|
{$t("pages.login.trust_device_description")} |
|
|
|
of your family or workplace, and you would like to login again from |
|
|
|
{#if !tauri_platform} |
|
|
|
this device in the future, then you can save your wallet on this |
|
|
|
{$t("pages.login.trust_device_allow_cookies")}{/if}<br /> |
|
|
|
device. To the contrary, if this device is public and shared by |
|
|
|
|
|
|
|
strangers, do not save your wallet here. {#if !tauri_platform}By |
|
|
|
|
|
|
|
selecting this option, you agree to saving some cookies on your |
|
|
|
|
|
|
|
browser.{/if}<br /> |
|
|
|
|
|
|
|
</p> |
|
|
|
</p> |
|
|
|
<div class="flex justify-center items-center my-4"> |
|
|
|
<div class="flex justify-center items-center my-4"> |
|
|
|
<Toggle class="" bind:checked={trusted} |
|
|
|
<Toggle class="" bind:checked={trusted} |
|
|
|
>Yes, save my wallet on this device</Toggle |
|
|
|
>{$t("pages.login.trust_device_yes")}</Toggle |
|
|
|
> |
|
|
|
> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -407,7 +391,7 @@ |
|
|
|
<div class=" max-w-xl lg:px-8 mx-auto px-4 text-primary-700"> |
|
|
|
<div class=" max-w-xl lg:px-8 mx-auto px-4 text-primary-700"> |
|
|
|
<div class="flex flex-col justify-centerspace-x-12 mt-4 mb-4"> |
|
|
|
<div class="flex flex-col justify-centerspace-x-12 mt-4 mb-4"> |
|
|
|
{#if !loaded} |
|
|
|
{#if !loaded} |
|
|
|
Loading pazzle... |
|
|
|
{$t("pages.login.loading_pazzle")}... |
|
|
|
<svg |
|
|
|
<svg |
|
|
|
class="animate-spin my-4 h-14 w-14 mx-auto" |
|
|
|
class="animate-spin my-4 h-14 w-14 mx-auto" |
|
|
|
xmlns="http://www.w3.org/2000/svg" |
|
|
|
xmlns="http://www.w3.org/2000/svg" |
|
|
@ -438,7 +422,7 @@ |
|
|
|
tabindex="-1" |
|
|
|
tabindex="-1" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition duration-75 focus:outline-none group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition duration-75 focus:outline-none group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
/> |
|
|
|
/> |
|
|
|
Open with Pazzle! |
|
|
|
{$t("pages.login.open_with_pazzle")} |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
{/if} |
|
|
|
{/if} |
|
|
|
<button |
|
|
|
<button |
|
|
@ -447,7 +431,7 @@ |
|
|
|
><ArrowLeft |
|
|
|
><ArrowLeft |
|
|
|
tabindex="-1" |
|
|
|
tabindex="-1" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition duration-75 focus:outline-none group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition duration-75 focus:outline-none group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
/>Cancel login</button |
|
|
|
/>{$t("pages.login.login_cancel")}</button |
|
|
|
> |
|
|
|
> |
|
|
|
<span |
|
|
|
<span |
|
|
|
on:click={start_with_mnemonic} |
|
|
|
on:click={start_with_mnemonic} |
|
|
@ -456,7 +440,7 @@ |
|
|
|
tabindex="0" |
|
|
|
tabindex="0" |
|
|
|
class="mt-1 text-lg px-5 py-2.5 text-center inline-flex items-center mb-2 underline cursor-pointer" |
|
|
|
class="mt-1 text-lg px-5 py-2.5 text-center inline-flex items-center mb-2 underline cursor-pointer" |
|
|
|
> |
|
|
|
> |
|
|
|
Open with Mnemonic instead |
|
|
|
{$t("pages.login.open_with_mnemonic")} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -479,7 +463,7 @@ |
|
|
|
<label |
|
|
|
<label |
|
|
|
for="mnemonic-input" |
|
|
|
for="mnemonic-input" |
|
|
|
class="block mb-2 text-xl text-gray-900 dark:text-white" |
|
|
|
class="block mb-2 text-xl text-gray-900 dark:text-white" |
|
|
|
>Enter your 12 words mnemonic</label |
|
|
|
>{$t("pages.login.enter_mnemonic")}</label |
|
|
|
> |
|
|
|
> |
|
|
|
<PasswordInput |
|
|
|
<PasswordInput |
|
|
|
id="mnemonic-input" |
|
|
|
id="mnemonic-input" |
|
|
@ -497,17 +481,21 @@ |
|
|
|
><CheckCircle |
|
|
|
><CheckCircle |
|
|
|
tabindex="-1" |
|
|
|
tabindex="-1" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition duration-75 group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition duration-75 group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
/>Confirm</Button |
|
|
|
/>{$t("buttons.confirm")}</Button |
|
|
|
> |
|
|
|
> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
{:else if step == "pazzle"} |
|
|
|
{:else if step == "pazzle"} |
|
|
|
<p class="max-w-xl mx-auto lg:max-w-2xl"> |
|
|
|
<p class="max-w-xl mx-auto lg:max-w-2xl"> |
|
|
|
<span class="text-xl"> |
|
|
|
<span class="text-xl"> |
|
|
|
<!-- TODO: Internationalization--> |
|
|
|
{@html $t("pages.login.select_emoji", { |
|
|
|
Select your emoji of category:<br />{emoji_cat[ |
|
|
|
values: { |
|
|
|
shuffle.category_indices[pazzlePage] |
|
|
|
category: $t( |
|
|
|
]}</span |
|
|
|
"emojis.category." + |
|
|
|
|
|
|
|
emoji_cat[shuffle.category_indices[pazzlePage]] |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
})}</span |
|
|
|
> |
|
|
|
> |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
{#each [0, 1, 2, 3, 4] as row} |
|
|
|
{#each [0, 1, 2, 3, 4] as row} |
|
|
@ -517,6 +505,7 @@ |
|
|
|
role="button" |
|
|
|
role="button" |
|
|
|
tabindex="0" |
|
|
|
tabindex="0" |
|
|
|
class="w-full aspect-square emoji focus:outline-none focus:bg-gray-300" |
|
|
|
class="w-full aspect-square emoji focus:outline-none focus:bg-gray-300" |
|
|
|
|
|
|
|
title={$t("emojis.codes." + emoji.code)} |
|
|
|
on:click={() => select(row * 3 + i)} |
|
|
|
on:click={() => select(row * 3 + i)} |
|
|
|
on:keypress={() => select(row * 3 + i)} |
|
|
|
on:keypress={() => select(row * 3 + i)} |
|
|
|
> |
|
|
|
> |
|
|
@ -527,7 +516,7 @@ |
|
|
|
{/each} |
|
|
|
{/each} |
|
|
|
{:else if step == "order"} |
|
|
|
{:else if step == "order"} |
|
|
|
<p class="max-w-xl mx-auto lg:max-w-2xl mb-2"> |
|
|
|
<p class="max-w-xl mx-auto lg:max-w-2xl mb-2"> |
|
|
|
<span class="text-xl">Select each image in the correct order</span> |
|
|
|
<span class="text-xl">{$t("pages.login.order_emojis")}</span> |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
{#each [0, 1, 2] as row} |
|
|
|
{#each [0, 1, 2] as row} |
|
|
|
<div class="columns-3 gap-0"> |
|
|
|
<div class="columns-3 gap-0"> |
|
|
@ -539,6 +528,10 @@ |
|
|
|
class="w-full aspect-square emoji focus:outline-none focus:bg-gray-300" |
|
|
|
class="w-full aspect-square emoji focus:outline-none focus:bg-gray-300" |
|
|
|
on:click={() => select_order(emoji)} |
|
|
|
on:click={() => select_order(emoji)} |
|
|
|
on:keypress={() => select_order(emoji)} |
|
|
|
on:keypress={() => select_order(emoji)} |
|
|
|
|
|
|
|
title={$t( |
|
|
|
|
|
|
|
"emojis.codes." + |
|
|
|
|
|
|
|
emojis[emoji_cat[emoji.cat]][emoji.index].code |
|
|
|
|
|
|
|
)} |
|
|
|
> |
|
|
|
> |
|
|
|
<svelte:component |
|
|
|
<svelte:component |
|
|
|
this={emojis[emoji_cat[emoji.cat]][emoji.index].svg |
|
|
|
this={emojis[emoji_cat[emoji.cat]][emoji.index].svg |
|
|
@ -548,6 +541,10 @@ |
|
|
|
{:else} |
|
|
|
{:else} |
|
|
|
<div |
|
|
|
<div |
|
|
|
class="w-full aspect-square opacity-25 select-none sel-emoji" |
|
|
|
class="w-full aspect-square opacity-25 select-none sel-emoji" |
|
|
|
|
|
|
|
title={$t( |
|
|
|
|
|
|
|
"emojis.codes." + |
|
|
|
|
|
|
|
emojis[emoji_cat[emoji.cat]][emoji.index].code |
|
|
|
|
|
|
|
)} |
|
|
|
> |
|
|
|
> |
|
|
|
<svelte:component |
|
|
|
<svelte:component |
|
|
|
this={emojis[emoji_cat[emoji.cat]][emoji.index].svg |
|
|
|
this={emojis[emoji_cat[emoji.cat]][emoji.index].svg |
|
|
@ -565,7 +562,7 @@ |
|
|
|
{/each} |
|
|
|
{/each} |
|
|
|
{:else if step == "pin"} |
|
|
|
{:else if step == "pin"} |
|
|
|
<p class="items-center"> |
|
|
|
<p class="items-center"> |
|
|
|
<span class="text-xl">Enter your PIN code</span> |
|
|
|
<span class="text-xl">{$t("pages.login.enter_pin")}</span> |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
<!-- Chrome requires the columns-3 __flex__ to be set, or else it wraps the lines incorrectly. |
|
|
|
<!-- Chrome requires the columns-3 __flex__ to be set, or else it wraps the lines incorrectly. |
|
|
|
However, this leads to the width decreasing and the buttons come together in mobile view. |
|
|
|
However, this leads to the width decreasing and the buttons come together in mobile view. |
|
|
@ -625,7 +622,7 @@ |
|
|
|
><XCircle |
|
|
|
><XCircle |
|
|
|
tabindex="-1" |
|
|
|
tabindex="-1" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition focus:outline-none duration-75 group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition focus:outline-none duration-75 group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
/>Cancel</button |
|
|
|
/>{$t("buttons.cancel")}</button |
|
|
|
> |
|
|
|
> |
|
|
|
<button |
|
|
|
<button |
|
|
|
class="mt-1 ml-2 min-w-[141px] focus:ring-4 focus:ring-primary-100/50 rounded-lg sm:text-lg px-5 py-2.5 text-center select-none inline-flex items-center dark:focus:ring-primary-700/55" |
|
|
|
class="mt-1 ml-2 min-w-[141px] focus:ring-4 focus:ring-primary-100/50 rounded-lg sm:text-lg px-5 py-2.5 text-center select-none inline-flex items-center dark:focus:ring-primary-700/55" |
|
|
@ -633,15 +630,18 @@ |
|
|
|
><Backspace |
|
|
|
><Backspace |
|
|
|
tabindex="-1" |
|
|
|
tabindex="-1" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition focus:outline-none duration-75 group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition focus:outline-none duration-75 group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
/>{#if step === "mnemonic" || (step === "pazzle" && pazzlePage === 0)}Go |
|
|
|
/> |
|
|
|
back{:else}Correct{/if}</button |
|
|
|
{#if step === "mnemonic" || (step === "pazzle" && pazzlePage === 0)} |
|
|
|
> |
|
|
|
{$t("buttons.go_back")} |
|
|
|
|
|
|
|
{:else} |
|
|
|
|
|
|
|
{$t("buttons.correct")} |
|
|
|
|
|
|
|
{/if} |
|
|
|
|
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{:else if step == "opening"} |
|
|
|
{:else if step == "opening"} |
|
|
|
<div class=" max-w-6xl lg:px-8 mx-auto px-4 text-primary-700"> |
|
|
|
<div class=" max-w-6xl lg:px-8 mx-auto px-4 text-primary-700"> |
|
|
|
Opening your wallet...<br /> |
|
|
|
{@html $t("pages.login.opening_wallet")} |
|
|
|
Please wait |
|
|
|
|
|
|
|
<svg |
|
|
|
<svg |
|
|
|
class="animate-spin mt-10 h-14 w-14 mx-auto" |
|
|
|
class="animate-spin mt-10 h-14 w-14 mx-auto" |
|
|
|
xmlns="http://www.w3.org/2000/svg" |
|
|
|
xmlns="http://www.w3.org/2000/svg" |
|
|
@ -668,7 +668,7 @@ |
|
|
|
{#if error} |
|
|
|
{#if error} |
|
|
|
<div class=" max-w-6xl lg:px-8 mx-auto text-red-800"> |
|
|
|
<div class=" max-w-6xl lg:px-8 mx-auto text-red-800"> |
|
|
|
<div class="mt-auto max-w-6xl lg:px-8"> |
|
|
|
<div class="mt-auto max-w-6xl lg:px-8"> |
|
|
|
An error occurred ! |
|
|
|
{$t("errors.an_error_occurred")} |
|
|
|
<svg |
|
|
|
<svg |
|
|
|
fill="none" |
|
|
|
fill="none" |
|
|
|
class="animate-bounce mt-10 h-10 w-10 mx-auto" |
|
|
|
class="animate-bounce mt-10 h-10 w-10 mx-auto" |
|
|
@ -685,7 +685,7 @@ |
|
|
|
/> |
|
|
|
/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<Alert color="red" class="mt-5"> |
|
|
|
<Alert color="red" class="mt-5"> |
|
|
|
{error} |
|
|
|
{$t("errors." + error)} |
|
|
|
</Alert> |
|
|
|
</Alert> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex justify-between mt-auto gap-4"> |
|
|
|
<div class="flex justify-between mt-auto gap-4"> |
|
|
@ -695,7 +695,7 @@ |
|
|
|
><XCircle |
|
|
|
><XCircle |
|
|
|
tabindex="-1" |
|
|
|
tabindex="-1" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition duration-75 focus:outline-none group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition duration-75 focus:outline-none group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
/>Cancel</button |
|
|
|
/>{$t("buttons.cancel")}</button |
|
|
|
> |
|
|
|
> |
|
|
|
<button |
|
|
|
<button |
|
|
|
class="mt-10 ml-2 select-none text-white bg-primary-700 hover:bg-primary-700/90 focus:ring-4 focus:ring-primary-100/50 rounded-lg text-lg px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-primary-700/55" |
|
|
|
class="mt-10 ml-2 select-none text-white bg-primary-700 hover:bg-primary-700/90 focus:ring-4 focus:ring-primary-100/50 rounded-lg text-lg px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-primary-700/55" |
|
|
@ -705,13 +705,13 @@ |
|
|
|
tabindex="-1" |
|
|
|
tabindex="-1" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition duration-75 focus:outline-none group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
class="w-8 h-8 mr-2 -ml-1 transition duration-75 focus:outline-none group-hover:text-gray-900 dark:group-hover:text-white" |
|
|
|
/> |
|
|
|
/> |
|
|
|
Try again |
|
|
|
{$t("buttons.try_again")} |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{:else} |
|
|
|
{:else} |
|
|
|
<div class=" max-w-6xl lg:px-8 mx-auto px-4 text-green-800"> |
|
|
|
<div class=" max-w-6xl lg:px-8 mx-auto px-4 text-green-800"> |
|
|
|
Your wallet is opened! <br />Please wait while the app is loading... |
|
|
|
{@html $t("pages.login.wallet_opened")} |
|
|
|
<svg |
|
|
|
<svg |
|
|
|
class="my-10 h-16 w-16 mx-auto" |
|
|
|
class="my-10 h-16 w-16 mx-auto" |
|
|
|
fill="none" |
|
|
|
fill="none" |
|
|
|