Compare commits

..

No commits in common. "deac5ec94df6d340eec86824ec984f90789f87bc" and "23b8c3ad8ab72fc1b3a163d219155351e3bb99df" have entirely different histories.

7 changed files with 7 additions and 15 deletions

View File

@ -25,7 +25,7 @@ export const AuthHeader = () => {
</NavLink>
</li>
<li>
<NavLink to={"/profile"}>Кабинет разработчика</NavLink>
<NavLink to={"/auth"}>Кабинет разработчика</NavLink>
</li>
<li>
<NavLink to={"/tracker-intro"}>Трекер</NavLink>

View File

@ -25,7 +25,6 @@
background: #ffffff;
.auth-nav {
height: 35px;
display: flex;
flex-direction: row;
justify-content: space-between;
@ -49,13 +48,11 @@
text-decoration: none;
}
a:focus,
a.active {
a:focus, a.active {
color: #000000;
}
.candidate {
background: transparent;
color: #1458dd;
}
}

View File

@ -137,7 +137,7 @@ export const ModalRegistration = ({ active, setActive }) => {
<div className="button-box">
{loader ? (
<Loader />
<Loader style={"green"} />
) : (
<BaseButton
onClick={async (e) => {

View File

@ -50,7 +50,7 @@ export const SideBar = () => {
<Link to={"/auth"}>Вход для партнеров</Link>
</li>
<li>
<Link to={"/profile"}>Кабинет разработчика</Link>
<Link to={"/auth"}>Кабинет разработчика</Link>
</li>
<li>
<Link to={"/tracker-intro"}>Трекер</Link>

View File

@ -1,8 +1,6 @@
import React from "react";
import { useDispatch, useSelector } from "react-redux";
import { Loader } from "@components/common/Loader/Loader";
import { selectUserInfo } from "@redux/quizSlice";
import { urlForLocal } from "@utils/helper";
@ -23,7 +21,7 @@ export const HeaderQuiz = ({ header }) => {
<div className="header-quiz">
<div className="header-quiz__container">
{!userInfo ? (
<Loader />
<h2>Loading...</h2>
) : (
<>
{header && (

View File

@ -9,7 +9,6 @@ import { apiRequest } from "@api/request";
import comment from "assets/icons/comment.jpg";
import "./quiz.scss";
import { Loader } from "@components/common/Loader/Loader";
export const Instruction = () => {
const [countQuestions, setCountQuestions] = useState(null);
@ -25,7 +24,7 @@ export const Instruction = () => {
<div className="instruction">
<div className="instruction__container">
{!countQuestions ? (
<Loader />
<h2>Loading...</h2>
) : (
<>
<h3 className="instruction__title quiz-title_h3">

View File

@ -1,8 +1,6 @@
import React, { useEffect, useState } from "react";
import { useDispatch, useSelector } from "react-redux";
import { Loader } from "@components/common/Loader/Loader";
import { fetchResultTest, selectResult, selectedTest } from "@redux/quizSlice";
import { apiRequest } from "@api/request";
@ -23,7 +21,7 @@ export const Results = () => {
return (
<div className={"result _container"}>
{!result ? (
<Loader />
<h1 style={{ display: "block" }}>Ожидайте результата...</h1>
) : (
<div className="result__body">
<div className="result__text">Благодарим за прохождение теста</div>