-
Хочу в команду IT-специалистов
diff --git a/src/pages/TrackerIntro/TrackerIntro.jsx b/src/pages/TrackerIntro/TrackerIntro.jsx
index 4983133e..0d870f54 100644
--- a/src/pages/TrackerIntro/TrackerIntro.jsx
+++ b/src/pages/TrackerIntro/TrackerIntro.jsx
@@ -57,7 +57,7 @@ export const TrackerIntro = () => {
Управление большим количеством проектов и гибкая настройка
структуры под любые процессы
-
+
Начать работу
diff --git a/src/pages/TrackerRegistration/TrackerRegistration.jsx b/src/pages/TrackerRegistration/TrackerRegistration.jsx
deleted file mode 100644
index 5c8f4345..00000000
--- a/src/pages/TrackerRegistration/TrackerRegistration.jsx
+++ /dev/null
@@ -1,163 +0,0 @@
-import React, { useState } from "react";
-import { Navigate } from "react-router-dom";
-
-import { useFormValidation } from "@hooks/useFormValidation";
-import { useNotification } from "@hooks/useNotification";
-
-import { AuthHeader } from "@components/Common/AuthHeader/AuthHeader";
-import BaseButton from "@components/Common/BaseButton/BaseButton";
-import { Footer } from "@components/Common/Footer/Footer";
-import { Loader } from "@components/Common/Loader/Loader";
-import ModalLayout from "@components/Common/ModalLayout/ModalLayout";
-import { ModalTrackerRegistration } from "@components/Modal/ModalTrackerRegistration/ModalTrackerRegistration";
-import SideBar from "@components/SideBar/SideBar";
-
-import arrowInfo from "assets/icons/trackerIntroInfo.svg";
-import authImg from "assets/images/partnerProfile/authCandidateFormImg.png";
-import registrationImg from "assets/images/trackerRegistrationImg.png";
-
-import "./trackerRegistration.scss";
-
-export const TrackerRegistration = () => {
- const [modalConfirmOpen, setModalConfirm] = useState(false);
- const [loader, setLoader] = useState(false);
- const [isPartner, setIsPartner] = useState(false);
- const fields = {
- username: "",
- email: "",
- password: "",
- secondPassword: ""
- };
-
- const apiEndpoint = "/register/sign-up";
-
- const { showNotification } = useNotification();
- const showNotificationError = (error) => {
- showNotification({
- show: true,
- text: error,
- type: "error"
- });
- };
- const showNotificationTrue = () => {
- showNotification({
- show: true,
- text: "Аккаунт успешно создан",
- type: "success"
- });
- };
-
- const { formData, validationErrors, handleChange, handleSubmit } =
- useFormValidation(
- apiEndpoint,
- fields,
- showNotificationError,
- showNotificationTrue,
- isPartner,
- setLoader
- );
- return (
-
-
-
-
-
-
- Создайте свое{" "}
-
- рабочее пространство
-
-
-
-
-
-
- {loader ? (
-
- ) : (
-
{
- e.preventDefault();
- await handleSubmit(e);
- }}
- styles="button-box__submit"
- >
- Отправить
-
- )}
-
-
-
- Создавайте и редактируйте задачи и проекты вместе с другими
- участниками команды.
-
-
-
-
-
-
- {modalConfirmOpen && (
-
-
-
- )}
-
-
-
- );
-};
diff --git a/src/pages/TrackerRegistration/trackerRegistration.scss b/src/pages/TrackerRegistration/trackerRegistration.scss
deleted file mode 100644
index 090fe428..00000000
--- a/src/pages/TrackerRegistration/trackerRegistration.scss
+++ /dev/null
@@ -1,150 +0,0 @@
-.tracker-registration {
- display: flex;
- flex-direction: column;
- min-height: 100vh;
- background-color: #f1f1f1;
-
- &__content {
- display: flex;
- flex-direction: column;
- flex: 1;
- color: #000000;
- padding: 50px 0 0;
-
- @media (max-width: 1375px) {
- padding-top: 100px;
- }
-
- .container {
- padding-bottom: 30px;
- }
- }
-
- &__form {
- position: relative;
- border-radius: 12px;
- background: #fff;
- padding: 20px;
-
- @media (max-width: 1000px) {
- display: flex;
- flex-direction: column;
- padding: 0;
- }
-
- &__inputs {
- display: flex;
- flex-wrap: wrap;
- max-width: 650px;
- column-gap: 44px;
-
- @media (max-width: 1000px) {
- order: 2;
- }
- }
-
- &__submit {
- display: flex;
- align-items: center;
- margin-top: 5px;
-
- button {
- border-radius: 44px;
- padding: 9px 39px;
- background: #52b709;
- font-weight: 500;
- font-size: 18px;
- color: #fff;
- border: none;
- max-width: 170px;
- }
-
- @media (max-width: 1000px) {
- order: 3;
- }
-
- @media (max-width: 675px) {
- flex-direction: column;
- align-items: start;
- row-gap: 35px;
- }
-
- .loader {
- max-width: 170px;
- }
- }
-
- &__info {
- display: flex;
- margin-left: 165px;
- align-items: center;
- img {
- margin-right: 31px;
-
- @media (max-width: 675px) {
- margin-right: 27px;
- }
- }
-
- p {
- font-size: 16px;
- font-weight: 400;
- line-height: 22px;
- color: #000;
- max-width: 430px;
-
- @media (max-width: 675px) {
- font-size: 14px;
- }
- }
- }
-
- &__img {
- position: absolute;
- top: -100px;
- right: 58px;
-
- @media (max-width: 900px) {
- display: none;
- }
- }
- }
- &__input-container {
- display: flex;
- flex-direction: column;
- max-width: 300px;
- width: 100%;
- margin-bottom: 44px;
-
- h5 {
- font-size: 15px;
- }
-
- span {
- font-weight: 400;
- font-size: 12px;
- color: red;
- }
-
- input {
- outline: none;
- padding: 8px 12px 9px;
- background-color: #eff2f7;
- border-radius: 8px;
- margin: 10px 0;
- border: none;
- font-weight: 400;
- font-size: 15px;
- color: #000;
- }
-
- @media (max-width: 675px) {
- margin-bottom: 0;
- max-width: none;
- }
-
- .error {
- border: 1px solid red;
- }
- }
-}
diff --git a/src/pages/roles/GuestPage.jsx b/src/pages/roles/GuestPage.jsx
index 66074223..ee761bf1 100644
--- a/src/pages/roles/GuestPage.jsx
+++ b/src/pages/roles/GuestPage.jsx
@@ -15,7 +15,6 @@ import { RegistrationForCandidate } from "@pages/RegistrationForCandidate/Regist
import { RegistrationSetting } from "@pages/RegistrationSetting/RegistrationSetting";
import { SingleReportPage } from "@pages/SingleReportPage/SingleReportPage";
import { TrackerIntro } from "@pages/TrackerIntro/TrackerIntro";
-import { TrackerRegistration } from "@pages/TrackerRegistration/TrackerRegistration";
import { FreeDevelopers } from "@components/FreeDevelopers/FreeDevelopers";
@@ -26,11 +25,6 @@ export const GuestPage = () => {
} />
} />
} />
-
}
- />
} />