fixed page auth

This commit is contained in:
MaxOvs19 2023-11-28 22:03:56 +03:00
parent 5dc5b75f9e
commit f78e394834
5 changed files with 19 additions and 13 deletions

View File

@ -79,6 +79,8 @@ const App = () => {
path="/tracker/project/:id" path="/tracker/project/:id"
element={<ProjectTracker />} element={<ProjectTracker />}
/> />
<Route exact path="/tracker-start"></Route>
<Route exact path="/auth-candidate" element={<AuthForCandidate />} /> <Route exact path="/auth-candidate" element={<AuthForCandidate />} />
<Route <Route
exact exact
@ -135,6 +137,8 @@ const App = () => {
element={<PartnerEmployees />} element={<PartnerEmployees />}
/> />
</Route> </Route>
<Route exact path="profile-candidate/:id"> <Route exact path="profile-candidate/:id">
<Route index element={<ProfileCandidate />} /> <Route index element={<ProfileCandidate />} />
</Route> </Route>

View File

@ -55,7 +55,7 @@
margin-bottom: 54px; margin-bottom: 54px;
span { span {
color: #8DC63F; color: #8dc63f;
font-size: 50px; font-size: 50px;
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
@ -193,7 +193,7 @@
&__reset { &__reset {
color: #000000; color: #000000;
font-size: 13px; font-size: 15px;
line-height: 16px; line-height: 16px;
cursor: pointer; cursor: pointer;
text-decoration: underline; text-decoration: underline;
@ -208,7 +208,7 @@
span { span {
cursor: pointer; cursor: pointer;
color: #52B709; color: #52b709;
font-weight: 700; font-weight: 700;
} }
} }

View File

@ -35,14 +35,7 @@ export const AuthHeader = () => {
</a> </a>
</li> </li>
<li> <li>
<a <NavLink to={"/tracker-start"}>Трекер</NavLink>
onClick={(e) => {
e.preventDefault();
scrollToForm();
}}
>
Трекер
</a>
</li> </li>
<li> <li>
<NavLink to={"/auth-candidate"} className="candidate"> <NavLink to={"/auth-candidate"} className="candidate">

View File

@ -317,7 +317,8 @@ export const Tracker = () => {
<tr key={task.id}> <tr key={task.id}>
<td> <td>
<div className="taskList__table__title-task"> <div className="taskList__table__title-task">
{task.title} <p>{task.title}</p>
<div <div
onClick={(e) => { onClick={(e) => {
toggleDescTask(e); toggleDescTask(e);

View File

@ -1611,12 +1611,20 @@
gap: 10px; gap: 10px;
align-items: center; align-items: center;
transition: 0.4s; transition: 0.4s;
max-width: 350px;
p {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
div { div {
cursor: pointer; cursor: pointer;
width: 15px; width: 15px;
height: 15px; min-width: 15px;
min-height: 15px;
display: flex; display: flex;
background-color: #000; background-color: #000;
align-items: center; align-items: center;