reset and confirm modals

This commit is contained in:
2023-07-18 16:20:40 +03:00
parent 7c7ea86c8c
commit e0b289c3fd
12 changed files with 315 additions and 4 deletions

View File

@ -4,7 +4,7 @@ import authImg from "assets/images/partnerProfile/authCandidateFormImg.png";
import "./authBlock.scss";
export const AuthBlock = ({ title, description, img }) => {
export const AuthBlock = ({ title, description, img, resetModal }) => {
return (
<div className="auth__wrapper">
<div className="auth__info">
@ -31,7 +31,7 @@ export const AuthBlock = ({ title, description, img }) => {
>
Войти
</button>
<span>Вспомнить пароль</span>
<span onClick={() => resetModal(true)}>Вспомнить пароль</span>
</div>
</form>
{img && <img src={img} alt="authImg" className="auth__img" />}

View File

@ -103,7 +103,7 @@
&__img {
position: absolute;
right: 10px;
right: 48px;
top: -90px;
}
}