Skip to content

Commit 2e23f78

Browse files
committed
fix: as per given suggestion
1 parent 1890291 commit 2e23f78

File tree

7 files changed

+33
-37
lines changed

7 files changed

+33
-37
lines changed

infrastructure/eid-wallet/src/app.css

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,27 @@
1616
}
1717

1818
/* Typoraphy */
19-
.header-0 {
19+
h1 {
2020
@apply text-[90px] text-black font-semibold;
2121
}
2222

23-
.header-1 {
23+
h2 {
2424
@apply text-6xl text-black font-semibold;
2525
}
2626

27-
.header-2 {
27+
h3 {
2828
@apply text-3xl text-black font-semibold;
2929
}
3030

31-
.header-1 {
31+
h4 {
3232
@apply text-xl text-black font-semibold;
3333
}
3434

35-
.body-large {
36-
@apply text-lg text-black font-normal;
37-
}
38-
39-
.body-medium {
35+
p {
4036
@apply text-base text-black font-normal;
4137
}
4238

43-
.body-small {
39+
.small {
4440
@apply text-xs text-black font-normal;
4541
}
4642

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ const cBase = "relative w-full bg-black py-6 px-8 rounded-2xl";
2424

2525
<article {...restProps} class={cn(`${cBase}`, restProps.class)}>
2626
<img src="" alt="tick" class="" />
27-
<p class="text-sm font-normal text-gray-400">Your {eName}</p>
27+
<p class="text-sm! font-normal text-gray-400!">Your {eName}</p>
2828
<div class="grid grid-cols-[65%_35%] items-center gap-2">
29-
<h1 class="text-white text-sm font-medium break-all">{code}</h1>
29+
<p class="text-white! font-medium! break-all">{code}</p>
3030
<ButtonAction callback={handleCopy} class="bg-white text-black z-[1]">Copy</ButtonAction>
3131
</div>
3232
<img class="absolute bottom-0 end-[30px]" src="/images/Line3.svg" alt="lines">

infrastructure/eid-wallet/src/routes/(auth)/e-passport/+page.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ const handleFinish = async () => {};
1010

1111
<main class="h-[100vh] pt-[5.2vh] px-[2.3vw] pb-[4.5vh] flex flex-col justify-between">
1212
<section>
13-
<h1 class="header-2 mb-[0.5vh]">Your ePassport and eVault are ready</h1>
14-
<p class="body-medium text-black-700! 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>
13+
<h3 class="mb-[0.5vh]">Your ePassport and eVault are ready</h3>
14+
<p class="text-black-700! 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>
1515
</section>
1616
<section>
17-
<h1 class="header-1 mb-[0.5vh]">Your eVault</h1>
18-
<p class="body-medium text-black-700! 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>
17+
<h3 class="mb-[0.5vh]">Your eVault</h3>
18+
<p class="text-black-700! 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>
1919
</section>
2020
<section class="bg-gray rounded-[24px] p-[24px]">
2121
<div class="flex justify-between items-center mb-[12px]">
22-
<p class="body-medium">{usedStorage}GB used</p>
23-
<p class="body-medium">{totalStorage}GB total storage</p>
22+
<p>{usedStorage}GB used</p>
23+
<p>{totalStorage}GB total storage</p>
2424
</div>
2525
<progress class="progress progress-secondary bg-primary-400 w-full h-[16px] rounded-xl" value={(usedStorage/totalStorage)*100} max="100"></progress>
2626
</section>

infrastructure/eid-wallet/src/routes/(auth)/onboarding/+page.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ const handleNext = async () => {
2020
<img src="/images/Onboarding.svg" alt="info-graphic-card">
2121
</article>
2222
<section class="mb-[9.3vh]">
23-
<h1 class="text-[42px]/[1] text-black font-medium mb-[1vh]">Your <br>
23+
<h2 class="text-[42px]/[1]! font-medium! mb-[1vh]">Your <br>
2424
Digital Identity,
25-
Secured</h1>
26-
<p class="body-medium text-black-700!">Store your IDs, verify instantly with QR codes, and manage your digital identity with ease.</p>
25+
Secured</h2>
26+
<p class="text-black-700!">Store your IDs, verify instantly with QR codes, and manage your digital identity with ease.</p>
2727
</section>
2828
<section>
29-
<p class="max-w-[300px] mx-[auto] text-center body-small text-black-500!">By continuing you agree to our <a href="/" class="text-primary underline underline-offset-5">Terms & Conditions </a> and <a href="/" class="text-primary underline underline-offset-5">privacy policy.</a></p>
29+
<p class="max-w-[300px] mx-[auto] text-center small text-black-500!">By continuing you agree to our <a href="/" class="text-primary underline underline-offset-5">Terms & Conditions </a> and <a href="/" class="text-primary underline underline-offset-5">privacy policy.</a></p>
3030
<div class="flex justify-center whitespace-nowrap mt-[2vh]">
3131
<ButtonAction class="w-full" callback={handleGetStarted}>Get Started</ButtonAction>
3232
</div>
@@ -35,8 +35,8 @@ const handleNext = async () => {
3535

3636
<Drawer bind:isPaneOpen>
3737
<img src="/images/GetStarted.svg" alt="get-started">
38-
<h1 class="header-1 mt-[2.3vh] mb-[0.5vh]">Welcome to Web 3 Data Spaces</h1>
39-
<p class="body-medium text-black-700!">Your eName is more than a name—it's your unique digital passport. One constant identifier that travels with you across the internet, connecting your real-world self to the digital universe.</p>
38+
<h4 class="mt-[2.3vh] mb-[0.5vh]">Welcome to Web 3 Data Spaces</h4>
39+
<p class="text-black-700!">Your eName is more than a name—it's your unique digital passport. One constant identifier that travels with you across the internet, connecting your real-world self to the digital universe.</p>
4040
<div class="flex justify-center whitespace-nowrap my-[2.3vh]">
4141
<ButtonAction class="w-full" callback={handleNext}>Next</ButtonAction>
4242
</div>

infrastructure/eid-wallet/src/routes/(auth)/register/+page.svelte

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@ $effect(() => {
5454
{#if firstStep}
5555
<main class="h-[100vh] pt-[5.2vh] px-[2.3vw] pb-[4.5vh] flex flex-col justify-between">
5656
<section>
57-
<h1 class="header-2 mb-[1vh]">Create a pin</h1>
58-
<p class="body-medium text-black-700! mb-[14vh]">Enter a 4-digit PIN code</p>
57+
<h3 class="mb-[1vh]">Create a pin</h3>
58+
<p class="text-black-700! mb-[14vh]">Enter a 4-digit PIN code</p>
5959
<InputPin bind:pin/>
6060
</section>
6161
<ButtonAction class="w-full" variant="soft" callback={handleFirstStep}>Confirm</ButtonAction>
6262
</main>
6363
{:else}
6464
<main class="h-[100vh] pt-[5.2vh] px-[2.3vw] pb-[4.5vh] flex flex-col justify-between">
6565
<section>
66-
<h1 class="header-2 mb-[1vh]">Re-enter your pin</h1>
67-
<p class="body-medium text-black-700! mb-[14vh]">Confirm by entering pin again</p>
66+
<h3 class="mb-[1vh]">Re-enter your pin</h3>
67+
<p class="text-black-700! mb-[14vh]">Confirm by entering pin again</p>
6868
<InputPin bind:pin={repeatPin} {isError}/>
69-
<p class={`body-medium text-danger! mt-[3.4vh] ${isError ? "block" : "hidden"}`}>Your PIN does not match, try again.</p>
69+
<p class={`text-danger! mt-[3.4vh] ${isError ? "block" : "hidden"}`}>Your PIN does not match, try again.</p>
7070
</section>
7171
<ButtonAction class="w-full" callback={handleConfirm}>Confirm</ButtonAction>
7272
</main>
@@ -82,8 +82,8 @@ $effect(() => {
8282
<img class="absolute top-0 start-0" src="/images/Line.svg" alt="line">
8383
<img class="absolute top-0 start-0" src="/images/Line2.svg" alt="line">
8484
</div>
85-
<h1 class="header-1 font-medium">Pin code set!</h1>
86-
<p class="text-black-700! body-medium mt-[0.5vh] mb-[2.3vh]">Your PIN has been created. You’ll use it to access your digital entity securely.</p>
85+
<h4>Pin code set!</h4>
86+
<p class="text-black-700! mt-[0.5vh] mb-[2.3vh]">Your PIN has been created. You’ll use it to access your digital entity securely.</p>
8787
<ButtonAction class="w-full" callback={handleNext}>Next</ButtonAction>
8888
{:else}
8989
<div class="relative bg-gray w-[72px] h-[72px] rounded-[24px] flex justify-center items-center mb-[2.3vh]">
@@ -93,8 +93,8 @@ $effect(() => {
9393
<img class="absolute top-0 start-0" src="/images/Line.svg" alt="line">
9494
<img class="absolute top-0 start-0" src="/images/Line2.svg" alt="line">
9595
</div>
96-
<h1 class="header-1 font-medium!">{isBiometricsAdded ? "You’re all set!" : "Add biometrics"}</h1>
97-
<p class="text-black-700! body-normal mt-[0.5vh] mb-[2.3vh]">{ isBiometricsAdded ? "Your biometrics have been successfully added." : "Use your fingerprint or face recognition for faster, more secure logins."}</p>
96+
<h4>{isBiometricsAdded ? "You’re all set!" : "Add biometrics"}</h4>
97+
<p class="text-black-700! mt-[0.5vh] mb-[2.3vh]">{ isBiometricsAdded ? "Your biometrics have been successfully added." : "Use your fingerprint or face recognition for faster, more secure logins."}</p>
9898
{#if !isBiometricsAdded}
9999
<div class="flex justify-center items-center gap-[11px]">
100100
<ButtonAction class="w-full bg-primary-100 text-primary" callback={handleSkip}>Skip</ButtonAction>

infrastructure/eid-wallet/src/routes/(auth)/review/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ const handleNext = async () => {
1010

1111
<main class="h-[100vh] pt-[5.2vh] px-[2.3vw] pb-[4.5vh] flex flex-col justify-between">
1212
<section>
13-
<h1 class="header-2 mb-[0.5vh]">Here’s your eName</h1>
14-
<p class="body-medium text-black-700! mb-[3vh]">This identifier is permanently yours, and it stays with you for your whole life.</p>
13+
<h3 class="mb-[0.5vh]">Here’s your eName</h3>
14+
<p class="text-black-700! mb-[3vh]">This identifier is permanently yours, and it stays with you for your whole life.</p>
1515

1616
<IdentifierCard eName="AbcXyz" code="@asdasd-asdafaf-asdaffa-asfafaf"/>
1717
</section>

infrastructure/eid-wallet/src/routes/(auth)/verify/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { ButtonAction } from "$lib/ui";
55

66
<main class="h-[100vh] pt-[3vh] px-[6vw] pb-[4.5vh] flex flex-col justify-between items-center">
77
<section>
8-
<h1 class="header-2 mb-[1vh]">Verify your account</h1>
9-
<p class="body-medium text-black-700! mb-[6vh]">Get your passport ready. You’ll be directed to a site where you can verify your account in a swift and secure process</p>
8+
<h3 class="mb-[1vh]">Verify your account</h3>
9+
<p class="text-black-700! mb-[6vh]">Get your passport ready. You’ll be directed to a site where you can verify your account in a swift and secure process</p>
1010
<div class="flex justify-center">
1111
<img src="images/Passport.svg" alt="passport">
1212
</div>

0 commit comments

Comments
 (0)