guild_front/src/components/Sidebar/Sidebar.js

35 lines
1.3 KiB
JavaScript
Raw Normal View History

2021-05-27 17:44:11 +03:00
import React from 'react';
2021-06-18 17:16:08 +03:00
import { Link } from 'react-router-dom';
2021-06-11 16:58:44 +03:00
import dogBig from '../../images/dog.jpg';
2021-06-01 15:25:01 +03:00
import arrowLeft from '../../images/arrow_left.png';
import arrowRight from '../../images/arrow_right.png';
2021-05-31 18:23:25 +03:00
import style from './Sidebar.module.css';
2021-05-27 17:44:11 +03:00
2021-06-30 17:21:55 +03:00
const Sidebar = ({ getCandidateForCalendar, currentCandidateObj }) => {
2021-05-27 17:44:11 +03:00
return (
<div className={style.candidateSidebar}>
<div className={style.candidateSidebar__info}>
2021-06-11 16:58:44 +03:00
<img src={dogBig} alt="" />
2021-05-27 17:44:11 +03:00
<p className={style.candidateSidebar__info__e}>Опыт работы</p>
<p className={style.candidateSidebar__info__y}>4+ лет</p>
2021-06-30 17:21:55 +03:00
<Link to={`/calendar`} onClick={() => getCandidateForCalendar(currentCandidateObj)}>
2021-06-18 17:16:08 +03:00
<button className={style.candidateSidebar__info__btn}>Выбрать к собеседованию</button>
</Link>
2021-05-27 17:44:11 +03:00
<p className={style.candidateSidebar__info__l}>Посмотреть ещё</p>
</div>
<div className={style.candidateSidebar__arrows}>
<div className={style.arrow__left}>
<img src={arrowLeft} alt="" />
</div>
2021-06-04 11:59:45 +03:00
<span className={style.arrows__sp}>1 / 15</span>
2021-05-27 17:44:11 +03:00
<div className={style.arrow__right}>
<img src={arrowRight} alt="" />
</div>
</div>
</div>
);
};
export default Sidebar;