Files
guild_front/src/components/Home/sections/Description.js
T
2021-05-26 15:59:00 +03:00

73 lines
2.9 KiB
JavaScript

import React from 'react';
import style from './Description.module.scss';
import photo from '../../../images/medium_male.png';
import rectangle from '../../../images/rectangle_secondPage.png';
import arrowLeft from '../../../images/arrow_left.png';
import arrowRight from '../../../images/arrow_right.png';
import { NavLink } from 'react-router-dom';
export const candidatesList = [
{ id: 1, name: 'Artyom' },
{ id: 2, name: 'Vitaliy' },
];
const Description = () => {
return (
<section className={style.description}>
<div className="container">
<div className={style.description__wrapper}>
{candidatesList.map((el) => (
<div className="row" key={el.id}>
<div className="col-2">
<img className={style.description__img} src={photo} alt="" />
</div>
<div className="col-6">
<h3 className={style.description__title}>Frontend разработчик, Middle</h3>
<p className={style.description__text}>
- 10 лет пишу приложения под IOS, отлично владею Objective-C и Swift.
</p>
<p className={style.description__text}>- 5 лет руковожу командами мобильной разработки.</p>
<p className={style.description__text}>- 3 года преподаю в IOS-школе Сбера</p>
</div>
<div className="col-4">
<NavLink to={`/candidate/${el.id}`}>
<button className={style.description__button}>Подробное резюме</button>
</NavLink>
</div>
<div className="col-12">
<span className={style.description__sp}>
{' '}
JavaScript · Typescript · ReactJS · Vue.js · Redux · MobX · Storybook · Jest · Адаптивная верстка ·
БЭМ
</span>
<img className={style.description__rectangle} src={rectangle} alt="" />
</div>
</div>
))}
</div>
<div className="row">
<div className="col-12">
<div className={style.description__footer}>
<div className={style.description__footer__btn}>
<button>Загрузить еще</button>
</div>
<div className={style.description__footer__box}>
<div className={style.arrow__left}>
<img src={arrowLeft} alt="" />
</div>
<span className={style.description__footer__sp}>1/15</span>
<div className={style.arrow__right}>
<img src={arrowRight} alt="" />
</div>
</div>
</div>
</div>
</div>
</div>
</section>
);
};
export default Description;