refactor: remove signin step and related buttons from signup process
This commit is contained in:
parent
d11f22f5f8
commit
fac25ca67b
@ -34,11 +34,6 @@
|
|||||||
showback: false,
|
showback: false,
|
||||||
},
|
},
|
||||||
SIGNIN: {
|
SIGNIN: {
|
||||||
name: "Signin",
|
|
||||||
progress: 50,
|
|
||||||
showback: true,
|
|
||||||
},
|
|
||||||
SIGNIN_BARCODE: {
|
|
||||||
name: "Signin with Barcode",
|
name: "Signin with Barcode",
|
||||||
progress: 100,
|
progress: 100,
|
||||||
showback: false,
|
showback: false,
|
||||||
@ -193,25 +188,6 @@
|
|||||||
<img class="mx-auto h-56" src={sampleQR} alt="" />
|
<img class="mx-auto h-56" src={sampleQR} alt="" />
|
||||||
</p>
|
</p>
|
||||||
{:else if currentStep.name == Steps.SIGNIN.name}
|
{:else if currentStep.name == Steps.SIGNIN.name}
|
||||||
<div class="grid gap-2">
|
|
||||||
<Button
|
|
||||||
autofocus
|
|
||||||
class="w-full"
|
|
||||||
on:click={() => {
|
|
||||||
currentStep = Steps.SIGNIN_BARCODE;
|
|
||||||
}}>I brought my Barcode</Button
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="grid gap-2">
|
|
||||||
<Button
|
|
||||||
variant="secondary"
|
|
||||||
class="w-full"
|
|
||||||
on:click={() => {
|
|
||||||
currentStep = Steps.SIGNIN_MAIL;
|
|
||||||
}}>I don't have my barcode with me</Button
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
{:else if currentStep.name == Steps.SIGNIN_BARCODE.name}
|
|
||||||
Just walk up to the next available person and show them your barcode.
|
Just walk up to the next available person and show them your barcode.
|
||||||
{:else if currentStep.name == Steps.SIGNIN_MAIL.name}
|
{:else if currentStep.name == Steps.SIGNIN_MAIL.name}
|
||||||
<div class="grid gap-2">
|
<div class="grid gap-2">
|
||||||
@ -259,9 +235,6 @@
|
|||||||
case Steps.SIGNIN.name:
|
case Steps.SIGNIN.name:
|
||||||
currentStep = Steps.WELCOME;
|
currentStep = Steps.WELCOME;
|
||||||
break;
|
break;
|
||||||
case Steps.SIGNIN_BARCODE.name:
|
|
||||||
currentStep = Steps.SIGNIN;
|
|
||||||
break;
|
|
||||||
case Steps.SIGNIN_MAIL.name:
|
case Steps.SIGNIN_MAIL.name:
|
||||||
currentStep = Steps.SIGNIN;
|
currentStep = Steps.SIGNIN;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user