guild_front/src/components/Candidate/Candidate.js

75 lines
2.2 KiB
JavaScript
Raw Normal View History

2021-05-26 13:35:57 +03:00
import React from 'react';
2021-05-26 17:41:11 +03:00
import { useHistory } from 'react-router-dom';
import style from './Candidate.module.scss';
// import { candidatesList } from '../Home/sections/Description';
import icon from '../../images/front_end.png';
import arrow from '../../images/right-arrow.png';
2021-05-26 13:35:57 +03:00
import classes from './Candidate.module.scss';
const Candidate = () => {
2021-05-26 15:59:00 +03:00
const history = useHistory();
2021-05-26 17:41:11 +03:00
// const { id: candidateId } = useParams();
2021-05-26 15:59:00 +03:00
2021-05-26 17:41:11 +03:00
// const currentCandidate = candidatesList.find((el) => el.id === Number(candidateId));
2021-05-26 13:35:57 +03:00
return (
2021-05-26 17:41:11 +03:00
<section className={classes.candidate}>
<div className="container">
<div className="row">
<div className="col-12">
<div className={style.candidate__title}>
<h2>
<span>Аутстаффинг</span> it-персонала
</h2>
</div>
</div>
</div>
<div className="row">
<div className="col-12">
<div className={style.candidate__header}>
<div className={style.arrow} onClick={() => history.push('/')}>
<img src={arrow} alt="" />
<span>Вернуться к списку</span>
</div>
<div className="icon">
<img src={icon} alt="" />
</div>
</div>
</div>
</div>
<div className={style.candidate__main}>
<div className="row">
<div className="col-4">
<div className="">
<p>
sddddddddddddddddddddddddddddddddd <br /> ddddddddddddddddddddddddddd <br />
ddddddddddddddddddd
</p>
</div>
</div>
<div className="col-8">
<div className="">
<p>
sddddddddddddddddddddddddddddddddd <br /> ddddddddddddddddddddddddddd <br />
ddddddddddddddddddd
</p>
</div>
</div>
</div>
</div>
</div>
{/* <h1>
2021-05-26 13:35:57 +03:00
Candidate name: <span>{currentCandidate.name}</span>
2021-05-26 17:41:11 +03:00
</h1> */}
</section>
2021-05-26 13:35:57 +03:00
);
};
export default Candidate;