import React, { useState } from 'react'; import { useSelector } from 'react-redux'; import style from './Outstaffing.module.css'; import OutstaffingBlock from './OutstaffingBlock'; import TagSelect from '../Select/TagSelect'; import { selectTags } from '../../redux/outstaffingSlice'; import front from '../../images/front_end.png'; import back from '../../images/back_end.png'; import design from '../../images/design.png'; const Outstaffing = () => { const [selectedPositionId, setSelectedPositionId] = useState(null); const tagsArr = useSelector(selectTags); return ( <>

Аутстаффинг it-персонала

tag.name === 'skills_front')} img={front} header="Фронтенд" positionId='2' isSelected={selectedPositionId==='2'} onSelect={id=>setSelectedPositionId(id)} />
tag.name === 'skills_back')} img={back} header="Бэкенд" positionId='1' isSelected={selectedPositionId==='1'} onSelect={id=>setSelectedPositionId(id)} />
tag.name === 'skills_design')} img={design} header="Дизайн" positionId='5' isSelected={selectedPositionId==='5'} onSelect={id=>setSelectedPositionId(id)} />
); }; export default Outstaffing;