2023-07-07 01:20:57 +03:00
|
|
|
import React from "react";
|
2023-07-07 01:21:07 +03:00
|
|
|
|
2023-07-07 01:20:57 +03:00
|
|
|
import authImg from "assets/images/partnerProfile/authCandidateFormImg.png";
|
|
|
|
|
2023-07-07 01:21:07 +03:00
|
|
|
import "./authBlock.scss";
|
2023-07-07 01:20:57 +03:00
|
|
|
|
|
|
|
export const AuthBlock = ({ title, description, img }) => {
|
2023-07-07 01:21:07 +03:00
|
|
|
return (
|
|
|
|
<div className="auth__wrapper">
|
|
|
|
<div className="auth__info">
|
|
|
|
{title && <h3>{title}</h3>}
|
|
|
|
<img src={authImg} alt="img" />
|
|
|
|
<p>{description}</p>
|
|
|
|
</div>
|
|
|
|
<form className="auth__form">
|
|
|
|
<label htmlFor="login">Ваш email *</label>
|
|
|
|
<input id="login" type="text" name="username" placeholder="Email" />
|
2023-07-07 01:20:57 +03:00
|
|
|
|
2023-07-07 01:21:07 +03:00
|
|
|
<label htmlFor="password">Ваш пароль*</label>
|
|
|
|
<input
|
|
|
|
id="password"
|
|
|
|
type="password"
|
|
|
|
name="password"
|
|
|
|
placeholder="Пароль"
|
|
|
|
/>
|
|
|
|
<div className="auth__form__buttons">
|
|
|
|
<button
|
|
|
|
onClick={(e) => {
|
|
|
|
e.preventDefault();
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
Войти
|
|
|
|
</button>
|
|
|
|
<span>Вспомнить пароль</span>
|
2023-07-07 01:20:57 +03:00
|
|
|
</div>
|
2023-07-07 01:21:07 +03:00
|
|
|
</form>
|
|
|
|
{img && <img src={img} alt="authImg" className="auth__img" />}
|
|
|
|
</div>
|
|
|
|
);
|
2023-07-07 01:20:57 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
export default AuthBlock;
|