Skip to content

Commit 7b7dfd7

Browse files
committed
feat: e-passport page
1 parent 6f0c9ce commit 7b7dfd7

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

infrastructure/eid-wallet/src/lib/fragments/IdentifierCard/IdentifierCard.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script lang="ts">
2-
import { goto } from "$app/navigation";
32
import { ButtonAction } from "$lib/ui";
43
import { cn } from "$lib/utils";
54
import type { HTMLAttributes } from "svelte/elements";
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<script lang="ts">
2+
import { ButtonAction } from "$lib/ui";
3+
4+
let usedStorage = $state(50);
5+
let totalStorage = $state(90);
6+
7+
const handleFinish = async() => {
8+
9+
}
10+
</script>
11+
12+
13+
<main class="h-[100vh] pt-[5.2vh] px-[2.3vw] pb-[4.5vh] flex flex-col justify-between">
14+
<section>
15+
<h1 class="text-3xl text-black font-semibold mb-[0.5vh]">Your ePassport and eVault are ready</h1>
16+
<p class="text-base text-black-700 font-normal mb-[3vh]">Log into any W3DS platform without passwords. It’s tied to this phone; if lost, you’ll need to revoke and reissue it on a new device.</p>
17+
</section>
18+
<section>
19+
<h1 class="text-xl text-black font-semibold mb-[0.5vh]">Your eVault</h1>
20+
<p class="text-base text-black-700 font-normal mb-[3vh]">We’ve also created your eVault—secure cloud storage for your personal data. W3DS platforms access it directly, keeping you in control.</p>
21+
</section>
22+
<section class="bg-gray-900 rounded-[24px] p-[24px]">
23+
<div class="flex justify-between items-center mb-[12px]">
24+
<p class="text-base font-normal text-black">{usedStorage}GB used</p>
25+
<p class="text-base font-normal text-black">{totalStorage}GB total storage</p>
26+
</div>
27+
<progress class="progress progress-secondary bg-primary-700 w-full h-[16px] rounded-xl" value={(usedStorage/totalStorage)*100} max="100"></progress>
28+
</section>
29+
<ButtonAction class="w-full" callback={handleFinish}>Finish</ButtonAction>
30+
</main>

0 commit comments

Comments
 (0)