init
This commit is contained in:
@@ -7,20 +7,20 @@
|
||||
class="flex flex-col items-center justify-center px-12 py-10 h-auto bg-surface-card border border-surface-border rounded-lg shadow w-full max-w-md"
|
||||
>
|
||||
<div class="flex flex-col gap-4 text-center mb-10 items-center justify-center">
|
||||
<img [src]="logo" alt="صندوق فروشگاهی" class="w-20 h-auto" />
|
||||
<span class="text-lg font-bold"> به پنل صندوق فروشگاهی خوش آمدید. </span>
|
||||
<img [src]="logo" alt="مدیریت کسبوکار" class="w-20 h-auto" />
|
||||
<span class="text-lg font-bold"> به پنل مدیریت کسبوکار خوش آمدید. </span>
|
||||
</div>
|
||||
|
||||
@if (activeStep() === "login") {
|
||||
<app-login
|
||||
[redirectUrl]="redirectUrl"
|
||||
[loginApiUrl]="loginApiUrl"
|
||||
[defaultRole]="role"
|
||||
class="w-full"
|
||||
(onSuccessfullySubmit)="onLoggedIn($event)"
|
||||
(onToSignup)="toSignUp()"
|
||||
/>
|
||||
} @else if (activeStep() === "signup") {
|
||||
<!-- @if (activeStep() === "login") { -->
|
||||
<app-login
|
||||
[redirectUrl]="redirectUrl"
|
||||
[loginApiUrl]="loginApiUrl"
|
||||
[defaultRole]="role"
|
||||
class="w-full"
|
||||
(onSuccessfullySubmit)="onLoggedIn($event)"
|
||||
(onToSignup)="toSignUp()"
|
||||
/>
|
||||
<!-- } @else if (activeStep() === "signup") {
|
||||
<auth-signup role="TEACHER" class="w-full" />
|
||||
} @else if (activeStep() === "otp") {
|
||||
<app-otp class="w-full" />
|
||||
@@ -31,7 +31,7 @@
|
||||
(onSubmit)="onModifyLoginInfo()"
|
||||
class="w-full"
|
||||
/>
|
||||
}
|
||||
} -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user