2023-02-21 19:05:04 +03:00
|
|
|
import React, {useState} from 'react';
|
2023-02-27 16:50:32 +03:00
|
|
|
import {Link, Navigate} from "react-router-dom";
|
2023-02-21 19:05:04 +03:00
|
|
|
|
|
|
|
import {ProfileHeader} from "../../components/ProfileHeader/ProfileHeader";
|
2023-02-27 16:50:32 +03:00
|
|
|
import {ProfileBreadcrumbs} from "../../components/ProfileBreadcrumbs/ProfileBreadcrumbs"
|
2023-02-21 19:05:04 +03:00
|
|
|
import {Footer} from "../../components/Footer/Footer";
|
|
|
|
|
|
|
|
import './partnerRequests.scss'
|
|
|
|
|
|
|
|
export const PartnerRequests = () => {
|
2023-02-27 16:50:32 +03:00
|
|
|
if(localStorage.getItem('role_status') !== '18') {
|
|
|
|
return <Navigate to="/profile" replace/>
|
|
|
|
}
|
2023-02-21 19:05:04 +03:00
|
|
|
const [items] = useState([
|
|
|
|
{
|
|
|
|
name: 'PHP разработчик ',
|
|
|
|
count: 4
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'PHP разработчик ',
|
|
|
|
count: 4
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'PHP разработчик ',
|
|
|
|
count: 4
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'PHP разработчик ',
|
|
|
|
count: 4
|
|
|
|
}
|
|
|
|
])
|
|
|
|
return (
|
|
|
|
<div className='partnerRequests'>
|
|
|
|
<ProfileHeader />
|
|
|
|
<div className='container'>
|
2023-02-27 16:50:32 +03:00
|
|
|
<ProfileBreadcrumbs links={[
|
|
|
|
{name: 'Главная', link: '/profile'},
|
|
|
|
{name: 'Запросы и открытые позиции', link: '/profile/requests'}
|
|
|
|
]}
|
|
|
|
/>
|
2023-02-21 19:05:04 +03:00
|
|
|
<h2 className='partnerRequests__title'>Запросы</h2>
|
|
|
|
<div className='partnerRequests__section'>
|
|
|
|
<div className='partnerRequests__section__items'>
|
|
|
|
{
|
|
|
|
items.map((item, index) => {
|
2023-02-23 14:57:26 +03:00
|
|
|
return <Link key={index} to={'/profile/bid'} className='partnerRequests__section__item'>
|
2023-02-21 19:05:04 +03:00
|
|
|
<p className='partnerRequests__section__item__name'>
|
|
|
|
{item.name}
|
|
|
|
</p>
|
|
|
|
<p className='partnerRequests__section__item__count'>
|
|
|
|
Подходящие кандидаты<span>{item.count}</span>
|
|
|
|
</p>
|
|
|
|
</Link>
|
|
|
|
})
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
<div className='partnerRequests__section__info'>
|
|
|
|
<h3>Инструкция: подачи заявки</h3>
|
|
|
|
<p>
|
|
|
|
Оператор компании заводит заявку и указывает необходимые параметры —
|
|
|
|
количество сотрудников, стек, уровень специалиста
|
|
|
|
</p>
|
|
|
|
<Link to={'/profile/add-request'}>
|
|
|
|
<span>+</span>
|
|
|
|
Создать запрос
|
|
|
|
</Link>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<Footer/>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
};
|