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

@ -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;
}
}
}