Skip to content

Commit 73a2d02

Browse files
committed
Some fixes
1 parent a387586 commit 73a2d02

8 files changed

Lines changed: 24 additions & 22 deletions

File tree

src/lib/components/Logout.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
setJwtToken,
55
walletAddress,
66
onboardingStepsLeft,
7-
avatar,
7+
avatar
88
} from '$lib/store/store';
99
1010
let showModal = false;
@@ -29,7 +29,7 @@
2929
on:click={() => (showModal = true)}
3030
class="block rounded-lg shadow-lg bg-red-500 dark:bg-red-500 text-white p-5 w-full h-auto hover:bg-slate-600 active:bg-slate-500 text-xl text-center"
3131
>
32-
Logout
32+
Reset Wallet
3333
</button>
3434
<div class="modal modal-bottom sm:modal-middle" class:modal-open={showModal}>
3535
<div class="modal-box dark:bg-gray-900 dark:text-white">
@@ -41,27 +41,27 @@
4141
>
4242
4343
</button>
44-
<p class="text-md mt-5 mb-3">Enter 'logout'</p>
44+
<p class="text-md mt-5 mb-3">Enter 'reset'</p>
4545
<input
4646
type="text"
47-
placeholder="logout"
47+
placeholder="reset"
4848
class="input input-bordered dark:bg-gray-900 dark:text-white dark:border-zinc-600 input-md w-full max-w-xs"
4949
bind:value
5050
on:change={() => {
51-
if (value == 'logout') {
51+
if (value == 'reset') {
5252
captcha = true;
5353
}
5454
}}
5555
/>
5656
{#if captcha}
5757
<div class="modal-action">
5858
<a href="/">
59-
<button class="btn" on:click={handleLogout}> Logout </button>
59+
<button class="btn" on:click={handleLogout}> Reset </button>
6060
</a>
6161
</div>
6262
{:else}
6363
<div class="modal-action">
64-
<button class="btn" disabled> Logout </button>
64+
<button class="btn" disabled> Reset </button>
6565
</div>
6666
{/if}
6767
</div>

src/routes/Onboarding/get-secret-key/+page.svelte

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,19 @@
2121
<div>
2222
<Header />
2323
<div class="mt-6">
24-
<h1 class="text-5xl text-left mb-60">Get your seed phase here</h1>
24+
<h1 class="text-5xl text-left mb-60">Get your seed phrase here</h1>
2525
<button
2626
class="btn btn-wide"
2727
on:click={() => {
2828
showModal = true;
2929
generateWallet();
30-
}}>Seed phase</button
30+
}}
31+
>
32+
Generate Seed phrase</button
3133
>
3234
<div class="modal" class:modal-open={showModal}>
3335
<div class="modal-box dark:bg-gray-800 dark:text-white">
34-
<h3 class="font-bold text-lg">Secret Recovery Password</h3>
36+
<h3 class="font-bold text-lg">Secret Recovery Phrase</h3>
3537
<br />
3638
<h3 class="text-sm text-red-500 dark:text-red-300">
3739
This is the only way you will be able to recover your account. Please store it somewhere

src/routes/Onboarding/get-secret-key/create-password/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<h2 class="text-xl text-left">Message</h2>
125125
<br />
126126
<p class="text-lg text-left dark:text-green-100">
127-
{data?.message ?? '...'}
127+
{`${data?.payload?.eula} ${data?.payload?.flowId} ` ?? '...'}
128128
</p>
129129
<br />
130130
<div class="flex w-full mt-2">
@@ -135,7 +135,7 @@
135135
<div class="divider divider-horizontal" />
136136

137137
<div class="grid flex-grow">
138-
<button class="btn w-full mt-5" on:click={handleSave}> Save </button>
138+
<button class="btn w-full mt-5" on:click={handleSave}> Sign </button>
139139
</div>
140140
</div>
141141
</div>

src/routes/Onboarding/import-old-wallet/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@
4242
<h1 class="text-5xl text-left mb-60">Enter your seed phase</h1>
4343

4444
<button class="btn btn-wide modal-button" on:click={() => (showModal = true)}>
45-
Enter Seed Phase
45+
Enter Seed Phrase
4646
</button>
4747

4848
<input type="checkbox" id="my-modal" class="modal-toggle" />
4949
<div class="modal" class:modal-open={showModal}>
5050
<div class="modal-box dark:bg-gray-800 dark:text-white">
51-
<h3 class="font-bold text-lg">Seed Phase</h3>
51+
<h3 class="font-bold text-lg">Seed Phrase</h3>
5252
<br />
5353
{#if userWalletAddress !== ''}
5454
<h2 class="text-sm text-green-300">Found this Wallet</h2>

src/routes/Onboarding/import-old-wallet/create-password/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<h2 class="text-xl text-left">Message</h2>
125125
<br />
126126
<p class="text-lg text-left dark:text-green-100">
127-
{data?.message ?? '...'}
127+
{`${data?.payload?.eula} ${data?.payload?.flowId} ` ?? '...'}
128128
</p>
129129
<br />
130130
<div class="flex w-full mt-2">
@@ -135,7 +135,7 @@
135135
<div class="divider divider-horizontal" />
136136

137137
<div class="grid flex-grow">
138-
<button class="btn w-full mt-5" on:click={handleSave}> Save </button>
138+
<button class="btn w-full mt-5" on:click={handleSave}> Sign </button>
139139
</div>
140140
</div>
141141
</div>

src/routes/settings/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@
5050
</div>
5151
</div>
5252
<br /> -->
53-
<!-- Show Seed Phase -->
53+
<!-- Show Seed Phrase -->
5454
<br />
5555
<div class="justify-center">
5656
<a href="/settings/show-secret-key" class="text-xl text-center">
5757
<div
5858
class="block rounded-lg shadow-lg bg-white dark:bg-gray-800 dark:text-white p-5 h-auto hover:bg-slate-200 active:bg-slate-500"
5959
>
60-
Show Seed Phase
60+
Show Seed Phrase
6161
</div>
6262
</a>
6363
</div>

src/routes/settings/show-secret-key/+page.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<br />
3333
{#if !isCorrectPassword}
3434
<div>
35-
<h1 class="text-5xl text-left text-black dark:text-white">Show Seed Phase</h1>
35+
<h1 class="text-5xl text-left text-black dark:text-white">Show Seed Phrase</h1>
3636
<p
3737
class="text-md mt-5 mb-3 dark:text-white dark:bg-gray-900"
3838
class:text-red-500={errorMessage.length > 1}
@@ -49,11 +49,11 @@
4949
</div>
5050
{:else}
5151
<div>
52-
<h1 class="text-5xl text-left text-black dark:text-white">Show Seed Phase</h1>
52+
<h1 class="text-5xl text-left text-black dark:text-white">Show Seed Phrase</h1>
5353
<div class="p-5 text-lg border rounded-md mt-5 font-semibold">
5454
{secretKey}
5555
</div>
56-
<button on:click={handleDownload} class="btn mt-5">Export Secret Key</button>
56+
<button on:click={handleDownload} class="btn mt-5">Export mnemonic</button>
5757
</div>
5858
{/if}
5959
</div>

static/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "NetSepio",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"manifest_version": 3,
55
"short_name": "Detect & Label Cyber Threats",
66
"description": "Browser Extension to detect threats and label domains as spam, malware, advertisements, etc.",

0 commit comments

Comments
 (0)