@@ -53,56 +53,56 @@ $effect(() => {
5353 </script >
5454
5555{#if firstStep }
56- <main class =" h-[100vh] pt-[5.2vh] px-[5vw] pb-[4.5vh] flex flex-col justify-between" >
57- <section >
58- <h3 class =" mb-[1vh]" >Create a pin</h3 >
59- <p class =" text-black-700 mb-[14vh]" >Enter a 4-digit PIN code</p >
60- <InputPin bind:pin />
61- </section >
62- <ButtonAction class ="w-full" variant ="soft" callback ={handleFirstStep }>Confirm</ButtonAction >
63- </main >
56+ <main class =" h-screen pt-[5.2vh] px-[5vw] pb-[4.5vh] flex flex-col justify-between" >
57+ <section >
58+ <h3 class =" mb-[1vh]" >Create a pin</h3 >
59+ <p class =" text-black-700 mb-[14vh]" >Enter a 4-digit PIN code</p >
60+ <InputPin bind:pin />
61+ </section >
62+ <ButtonAction class ="w-full" variant ="soft" callback ={handleFirstStep }>Confirm</ButtonAction >
63+ </main >
6464{:else }
65- <main class =" h-[100vh] pt-[5.2vh] px-[5vw] pb-[4.5vh] flex flex-col justify-between" >
66- <section >
67- <h3 class =" mb-[1vh]" >Re-enter your pin</h3 >
68- <p class =" text-black-700 mb-[14vh]" >Confirm by entering pin again</p >
69- <InputPin bind:pin ={repeatPin } {isError }/>
70- <p class ={` text-danger mt-[3.4vh] ${isError ? " block" : " hidden" } ` }>Your PIN does not match, try again.</p >
71- </section >
72- <ButtonAction class ="w-full" callback ={handleConfirm }>Confirm</ButtonAction >
73- </main >
65+ <main class =" h-screen pt-[5.2vh] px-[5vw] pb-[4.5vh] flex flex-col justify-between" >
66+ <section >
67+ <h3 class =" mb-[1vh]" >Re-enter your pin</h3 >
68+ <p class =" text-black-700 mb-[14vh]" >Confirm by entering pin again</p >
69+ <InputPin bind:pin ={repeatPin } {isError }/>
70+ <p class ={` text-danger mt-[3.4vh] ${isError ? " block" : " hidden" } ` }>Your PIN does not match, try again.</p >
71+ </section >
72+ <ButtonAction class ="w-full" callback ={handleConfirm }>Confirm</ButtonAction >
73+ </main >
7474{/if }
7575
7676
7777<Drawer bind:isPaneOpen ={showDrawer } isCancelRequired ={true }>
7878 {#if ! isBiometricScreen }
79- <div class =" relative bg-gray w-[72px] h-[72px] rounded-[24px] flex justify-center items-center mb-[2.3vh]" >
80- <span class =" relative z-[1]" >
81- <HugeiconsIcon icon ={CircleLock01Icon } color =" var(--color-primary)" />
82- </span >
83- <img class =" absolute top-0 start-0" src =" /images/Line.svg" alt =" line" >
84- <img class =" absolute top-0 start-0" src =" /images/Line2.svg" alt =" line" >
85- </div >
86- <h4 >Pin code set!</h4 >
87- <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 >
88- <ButtonAction class ="w-full" callback ={handleNext }>Next</ButtonAction >
79+ <div class =" relative bg-gray w-[72px] h-[72px] rounded-[24px] flex justify-center items-center mb-[2.3vh]" >
80+ <span class =" relative z-[1]" >
81+ <HugeiconsIcon icon ={CircleLock01Icon } color =" var(--color-primary)" />
82+ </span >
83+ <img class =" absolute top-0 start-0" src =" /images/Line.svg" alt =" line" >
84+ <img class =" absolute top-0 start-0" src =" /images/Line2.svg" alt =" line" >
85+ </div >
86+ <h4 >Pin code set!</h4 >
87+ <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 >
88+ <ButtonAction class ="w-full" callback ={handleNext }>Next</ButtonAction >
8989 {:else }
90- <div class =" relative bg-gray w-[72px] h-[72px] rounded-[24px] flex justify-center items-center mb-[2.3vh]" >
91- <span class =" relative z-[1]" >
92- <HugeiconsIcon icon ={FaceIdIcon } color =" var(--color-primary)" />
93- </span >
94- <img class =" absolute top-0 start-0" src =" /images/Line.svg" alt =" line" >
95- <img class =" absolute top-0 start-0" src =" /images/Line2.svg" alt =" line" >
96- </div >
97- <h4 >{isBiometricsAdded ? " You’re all set!" : " Add biometrics" }</h4 >
98- <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 >
99- {#if ! isBiometricsAdded }
100- <div class =" flex justify-center items-center gap-[11px]" >
101- <ButtonAction class ="w-full bg-primary-100 text-primary" callback ={handleSkip }>Skip</ButtonAction >
102- <ButtonAction class ="w-full" callback ={handleSetupBiometrics }>Set up</ButtonAction >
103- </div >
104- {:else }
105- <ButtonAction class ="w-full" callback ={handleBiometricsAdded }>Continue</ButtonAction >
106- {/if }
90+ <div class =" relative bg-gray w-[72px] h-[72px] rounded-[24px] flex justify-center items-center mb-[2.3vh]" >
91+ <span class =" relative z-[1]" >
92+ <HugeiconsIcon icon ={FaceIdIcon } color =" var(--color-primary)" />
93+ </span >
94+ <img class =" absolute top-0 start-0" src =" /images/Line.svg" alt =" line" >
95+ <img class =" absolute top-0 start-0" src =" /images/Line2.svg" alt =" line" >
96+ </div >
97+ <h4 >{isBiometricsAdded ? " You’re all set!" : " Add biometrics" }</h4 >
98+ <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 >
99+ {#if ! isBiometricsAdded }
100+ <div class =" flex justify-center items-center gap-[11px]" >
101+ <ButtonAction class ="w-full bg-primary-100 text-primary" callback ={handleSkip }>Skip</ButtonAction >
102+ <ButtonAction class ="w-full" callback ={handleSetupBiometrics }>Set up</ButtonAction >
103+ </div >
104+ {:else }
105+ <ButtonAction class ="w-full" callback ={handleBiometricsAdded }>Continue</ButtonAction >
106+ {/if }
107107 {/if }
108108</Drawer >
0 commit comments