Files
psp_panel/src/app/modules/auth/pages/auth.component.html
T
2026-03-10 13:36:45 +03:30

38 lines
1.5 KiB
HTML

<div class="bg-white h-svh relative">
<div class="absolute inset-0 opacity-30 blur-xs flex items-center justify-center">
<img [src]="authVector" alt="background image" class="object-cover max-w-full max-h-full" />
</div>
<div class="flex justify-center items-center relative z-10 h-svh mx-auto bg-gray-800/80">
<div
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>
</div>
<!-- @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" />
} @else if (activeStep() === "modifyLoginInfo") {
<app-modify-login-info
[userLoginInfo]="{}"
[role]="selectedRole()!"
(onSubmit)="onModifyLoginInfo()"
class="w-full"
/>
} -->
</div>
</div>
</div>