From d0a29e7ee844b84f886c6c60fb294a40a44af5c3 Mon Sep 17 00:00:00 2001 From: M1kola Date: Fri, 7 Jul 2023 01:21:07 +0300 Subject: [PATCH] Tracker Auth --- src/components/AuthBlock/AuthBlock.js | 67 +++++++++---------- .../AuthForCandidate/AuthForCandidate.jsx | 10 +-- src/pages/TrackerAuth/TrackerAuth.js | 37 ++++++---- 3 files changed, 61 insertions(+), 53 deletions(-) diff --git a/src/components/AuthBlock/AuthBlock.js b/src/components/AuthBlock/AuthBlock.js index 74fbb252..04a22a68 100644 --- a/src/components/AuthBlock/AuthBlock.js +++ b/src/components/AuthBlock/AuthBlock.js @@ -1,45 +1,42 @@ import React from "react"; + import authImg from "assets/images/partnerProfile/authCandidateFormImg.png"; -import './authBlock.scss' +import "./authBlock.scss"; export const AuthBlock = ({ title, description, img }) => { - return ( -
-
- {title &&

{title}

} - img -

- {description} -

-
-
- - + return ( +
+
+ {title &&

{title}

} + img +

{description}

+
+ + + - - -
- - - Вспомнить пароль - -
- - {img && authImg} + + +
+ + Вспомнить пароль
- ); + + {img && authImg} +
+ ); }; export default AuthBlock; diff --git a/src/pages/AuthForCandidate/AuthForCandidate.jsx b/src/pages/AuthForCandidate/AuthForCandidate.jsx index 14c3b939..644d2b2c 100644 --- a/src/pages/AuthForCandidate/AuthForCandidate.jsx +++ b/src/pages/AuthForCandidate/AuthForCandidate.jsx @@ -8,12 +8,12 @@ import { setRole } from "@redux/roleSlice"; import { apiRequest } from "@api/request"; +import AuthBlock from "@components/AuthBlock/AuthBlock"; import CategoriesItem from "@components/CategoriesItem/CategoriesItem"; import AuthHeader from "@components/Common/AuthHeader/AuthHeader"; import { Footer } from "@components/Common/Footer/Footer"; import SideBar from "@components/SideBar/SideBar"; import StepsForCandidate from "@components/StepsForCandidate/StepsForCandidate"; -import AuthBlock from "@components/AuthBlock/AuthBlock"; import arrowBtn from "assets/icons/arrows/arrowRight.svg"; import AdminImg from "assets/images/partnerProfile/PersonalAdmin.svg"; @@ -145,10 +145,12 @@ export const AuthForCandidate = () => {
- + свои результаты в кабинете" + />

Хочу в команду Айти специалистов diff --git a/src/pages/TrackerAuth/TrackerAuth.js b/src/pages/TrackerAuth/TrackerAuth.js index fc09252c..1950ef78 100644 --- a/src/pages/TrackerAuth/TrackerAuth.js +++ b/src/pages/TrackerAuth/TrackerAuth.js @@ -1,27 +1,36 @@ import React from "react"; +import AuthBlock from "@components/AuthBlock/AuthBlock"; import AuthHeader from "@components/Common/AuthHeader/AuthHeader"; import { Footer } from "@components/Common/Footer/Footer"; import SideBar from "@components/SideBar/SideBar"; -import AuthBlock from "@components/AuthBlock/AuthBlock"; import arrowInfo from "assets/icons/trackerIntroInfo.svg"; -import trackerAuthImg from "assets/images/trackerAuthImg.png" +import trackerAuthImg from "assets/images/trackerAuthImg.png"; import "./trackerAuth.scss"; export const TrackerAuth = () => { - return ( -
- - -
-
-

Войдите в свое рабочее пространствоarrow

- -
-
-
+ return ( +
+ + +
+
+

+ Войдите в свое{" "} + + рабочее пространство + arrow + +

+
- ); +
+
+ ); };