candidate auth
This commit is contained in:
@ -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="#">
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
25
src/components/CategoriesItem/CategoriesItem.js
Normal file
25
src/components/CategoriesItem/CategoriesItem.js
Normal 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
|
63
src/components/CategoriesItem/categoriesItem.scss
Normal file
63
src/components/CategoriesItem/categoriesItem.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
20
src/components/StepsForCandidate/StepsForCandidate.js
Normal file
20
src/components/StepsForCandidate/StepsForCandidate.js
Normal 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
|
50
src/components/StepsForCandidate/stepForCandidate.scss
Normal file
50
src/components/StepsForCandidate/stepForCandidate.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user