candidate auth

This commit is contained in:
2023-04-04 19:07:19 +03:00
parent 615606d3e6
commit 4e61ea043d
12 changed files with 684 additions and 4 deletions

View File

@ -1,4 +1,5 @@
import React from "react";
import { NavLink } from "react-router-dom";
import userIcon from "../../images/userIcon.png";
@ -17,7 +18,11 @@ export const AuthHeader = ({}) => {
<div className="auth-nav">
<ul>
<li>
<a href="#">Главная</a>
<NavLink to={'/auth'}>
<span>
Главная
</span>
</NavLink>
</li>
<li>
<a href="#">Кабинет разработчика</a>
@ -25,6 +30,13 @@ export const AuthHeader = ({}) => {
<li>
<a href="#">Школа</a>
</li>
<li>
<NavLink to={'/auth-candidate'} className="candidate">
<span>
Войти в команду
</span>
</NavLink>
</li>
</ul>
<a href="#">

View File

@ -41,14 +41,20 @@
font-size: 18px;
line-height: 32px;
a,
a:hover {
a {
color: #897676;
}
a:hover {
text-decoration: none;
}
a:focus {
color: #000000;
}
.candidate {
color: #1458DD;
}
}
}
}

View File

@ -0,0 +1,25 @@
import React from "react";
import {Link} from "react-router-dom";
import rightArrow from "../../images/arrowRight.png"
import './categoriesItem.scss'
export const CategoriesItem = ({img, title, skills, available, link}) => {
return(
<Link to={link} className={available ? "categoriesItem" : "categoriesItem categoriesItem__disable"}>
<div className='categoriesItem__title'>
<img src={img} alt='img' />
<h5>{title}</h5>
</div>
<div className='categoriesItem__description'>
<p>{skills}</p>
<div className='more'>
<img src={rightArrow} alt="arrow" />
</div>
</div>
</Link>
)
};
export default CategoriesItem

View File

@ -0,0 +1,63 @@
.categoriesItem {
display: flex;
flex-direction: column;
padding: 33px 32px 25px 28px;
width: 32%;
background: #FFFFFF;
border-radius: 12px;
transition: all 0.3s ease;
position: relative;
&:hover {
box-shadow: 6px 5px 20px rgba(87, 98, 80, 0.21);
transform: scale(1.02);
text-decoration: none;
}
&__disable {
opacity: 0.5;
pointer-events: none;
}
&__title {
display: flex;
align-items: center;
margin-bottom: 27px;
h5 {
color: #000000;
font-weight: 500;
font-size: 18px;
line-height: 22px;
margin-left: 18px;
max-width: 190px;
margin-bottom: 0;
}
}
&__description {
display: flex;
justify-content: space-between;
align-items: center;
p {
max-width: 181px;
margin-bottom: 0;
color: #6F6F6F;
font-weight: 400;
font-size: 12px;
line-height: 20px;
}
.more {
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
background: #DDEEC6;
border-radius: 50px;
}
}
}

View File

@ -0,0 +1,20 @@
import React from 'react';
import './stepForCandidate.scss'
export const StepsForCandidate = ({step}) => {
return(
<div className='step'>
<div className='step__start'>
<span>2</span>
<p>шага для твоего входа в команду </p>
</div>
<div className='step__info'>
<p>{step}</p>
<span>из 2</span>
</div>
</div>
)
};
export default StepsForCandidate

View File

@ -0,0 +1,50 @@
.step {
position: absolute;
display: flex;
align-items: center;
justify-content: space-between;
top: -100px;
padding:0 55px 0 85px;
width: 100%;
&__start {
display: flex;
align-items: center;
span {
font-weight: 900;
font-size: 258px;
line-height: 32px;
color: #52B709;
}
p {
margin-left: 20px;
max-width: 230px;
font-weight: 500;
font-size: 22px;
line-height: 32px;
color: #000000;
}
}
&__info {
display: flex;
align-items: center;
p {
background: #DDEEC6;
border-radius: 44px;
padding: 8px 26px;
font-weight: 400;
font-size: 16px;
line-height: 32px;
}
span {
margin-left: 55px;
font-weight: 400;
font-size: 16px;
line-height: 32px;
}
}
}