UI improvements

This commit is contained in:
sairaj mote 2023-08-14 04:08:41 +05:30
parent adea48921c
commit 8f0514f88b

View File

@ -322,7 +322,7 @@
if (['#/landing', '#/sign_in', '#/sign_up', 'kyc_status'].includes(window.location.hash)) {
router.routeTo(window.location.hash);
} else {
location.hash = `#/sign_in`;
location.hash = `#/kyc_status`;
}
}
});
@ -546,6 +546,9 @@
</h4>
</div>
</div>
${!floGlobals.myFloID ? html`
<a href="#/sign_in" class="button button--primary button--small">Sign in</a>
`: ''}
<theme-toggle id="theme_toggle"></theme-toggle>
</header>
<h1 class="text-center">KYC verification</h1>
@ -646,6 +649,7 @@
<div class="grid justify-items-center text-center gap-0-5" style="margin: 2rem">
<svg class="icon" xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>
<h4>KYC data not found</h4>
<a class="button button--primary" href="#/sign_in">Sign in to apply for KYC</a>
</div>
`);
getRef('verification_result').dataset.status = 'invalid';