Commit 454c72be by asranov0003

feat: add auth logo

parent 2d5c05d1
.auth__logo {
display: flex;
justify-content: center;
margin: 1rem 0;
}
.auth__logo img {
width: 130px;
border-radius: 10px;
}
.auth__form {
display: flex;
flex-direction: column;
......
......@@ -14,6 +14,7 @@ import {
} from "../../../stores/store";
import { TG_USER_ID } from "../../../constants/constants";
import { useAuth } from "../../../contexts/AuthContext/useAuth";
import TheCybernanny from "../../../assets/images/TheCybernanny.png";
interface ILoginFormData {
login: string;
......@@ -53,6 +54,10 @@ const Login: React.FC = () => {
<div className="wrapper login">
<AuthHeader />
<div className="auth__logo">
<img src={TheCybernanny} alt="TheCybernanny" />
</div>
<h2>{t("auth.entrance")}</h2>
<form className="auth__form" onSubmit={handleSubmit(onSubmit)}>
......
......@@ -12,6 +12,7 @@ import {
type RootState,
} from "../../../stores/store";
import { authRecover } from "../../../stores/slices/authSlice";
import TheCybernanny from "../../../assets/images/TheCybernanny.png";
interface IRecoverFormData {
login: string;
......@@ -44,6 +45,10 @@ const Recover: React.FC = () => {
<div className="wrapper recover">
<AuthHeader back onBack={() => navigate("/")} />
<div className="auth__logo">
<img src={TheCybernanny} alt="TheCybernanny" />
</div>
<h2>{t("auth.passwordRecovery")}</h2>
<form className="auth__form" onSubmit={handleSubmit(onSubmit)}>
......
......@@ -11,6 +11,7 @@ import { useAppDispatch, type RootState } from "../../../stores/store";
import { authRegister } from "../../../stores/slices/authSlice";
import { TG_USER_ID } from "../../../constants/constants";
import { useAuth } from "../../../contexts/AuthContext/useAuth";
import TheCybernanny from "../../../assets/images/TheCybernanny.png";
interface IRegisterFormData {
login: string;
......@@ -54,6 +55,10 @@ const Register: React.FC = () => {
<div className="wrapper">
<AuthHeader back onBack={() => navigate("/")} />
<div className="auth__logo">
<img src={TheCybernanny} alt="TheCybernanny" />
</div>
<h2>{t("auth.register")}</h2>
<form className="auth__form" onSubmit={handleSubmit(onSubmit)}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment