This commit is contained in:
2026-03-10 13:36:45 +03:30
parent 45d48f79dc
commit b379787002
208 changed files with 2328 additions and 2510 deletions
+13 -13
View File
@@ -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>