Updated login and register pages

This commit is contained in:
Patrick Alvin Alcala 2025-10-08 17:26:58 +08:00
parent 8f56210acf
commit 3eaec928a4
2 changed files with 13 additions and 5 deletions

View file

@ -102,7 +102,7 @@ export default () => {
<Padding top={2} left={0} right={0} bottom={0}>
<Row>
<Box curved thickness={2} padding="2.25rem" color="#2f465cd7" background="#04040660">
<Box curved thickness={2} padding="2.25rem" color="#253849be" background="#04040660">
{/* <section class="box"> */}
<Row>
<span class="box-title">Login</span>

View file

@ -161,7 +161,7 @@ export default () => {
<Padding top={2} left={0} right={0} bottom={0}>
<Row>
<Box curved thickness={2} padding="2.25rem" color="#2f465cd7" background="#04040660">
<Box curved thickness={2} padding="2.25rem" color="#253849be" background="#04040660">
<Row>
<span class="box-title">Registration</span>
</Row>
@ -195,11 +195,19 @@ export default () => {
<Padding top={2} bottom={0} left={0} right={0}>
<Show when={file() && password()}>
<Show when={file() && password() && password().length >= 4}>
<Row>
<Button edges="curved" design="bo-primary" label="Register" onClick={generateSignature} wide />
</Row>
</Show>
<Show when={file() && password() && password().length < 4}>
<Row>
<span class="already-registered">Password too short</span>
</Row>
</Show>
</Show>
<Show when={!file() && !password()}>
<Row>
<span class="already-registered">Required password and signature</span>