From 1fb18ada8e641cb18d86dff6e8814ce2e95bf322 Mon Sep 17 00:00:00 2001 From: kurpfish Date: Thu, 12 Aug 2021 12:40:47 +0300 Subject: [PATCH] position_id filter, favicon, description --- public/favicon.ico | Bin 0 -> 42482 bytes public/index.html | 3 ++- src/App.js | 4 +++- src/components/Auth/AuthForDevelopers.js | 5 ++--- src/components/Auth/AuthForPartners.js | 4 ++-- src/components/Outstaffing/Outstaffing.js | 3 +++ src/components/Outstaffing/OutstaffingBlock.js | 15 ++++++++++++--- src/index.css | 4 ++++ 8 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 public/favicon.ico diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..5ded2332d5f8c80799f1b6648874e7b124e3a592 GIT binary patch literal 42482 zcmeHw2Y6Ohx^;k%PDmlW_eK>^M`hGIma*%Ij#tMridTRA?TE^t*D`v?g8C@xD5HRM zkX{2QsH1|E00|`!q^H*}JptBTYbQHKF2xW8@d-Y!`?T+rckT7Iz0Zl0Qz!m+@4Zg^ zf3#E1L?@>}Cnu+53O6}@PtkV$8#2bp$+?`={OEHrpL8i=5%Mplb&vt#D}FFWZMnc@s~L zfysu0oAL6NH_?CAAcINQ87}Zx>IScLcXVCYrGqC&z~z_5WD9aIreX@N{r(nXyE;$n zVleSu>WMD%J9S`k(lPnbpOny_NGj<|YUoSq${Z*oe|8?)jirq%@YvR;kT|_3JjQ## zYk?;`mwKQRG3g|K(%PpiqHmGdd)2=AU4E42S?Wc7cZJhD`u%0j@cg$2 zJic}}%U$SqoaQ;B(;OFcp5uRDzdEMZ)!rSQBX%=-mhkZW16I_;eMW>8_J%is(y8!+l2f}YoH+V2taU~|M>B4}R%x%VG8TG%Y6UB*` zQ5JSG*ciSTJEk~+{{J_Eg?)||T^?qGe(v@bOo)Z~jao{zctWWyuSRiU0rr;fAtt-9 z5gRb6Y%(7B`XLOQb`C;k1i+I%!)3NJZ5e$z?Uc1;or#BYI(38iEUrXj zb%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40SgC`w4ITkls@B1bC k- - Outstaffing + Аутстаффинг IT разработчиков в РФ + diff --git a/src/App.js b/src/App.js index b01e7b69..fe3ecdf6 100644 --- a/src/App.js +++ b/src/App.js @@ -13,7 +13,8 @@ import ReportPage from './pages/ReportFormPage.js'; import FormPage from './pages/FormPage.js'; const App = () => { - return ( + return (<> +

IT Аутстаффинг в России

@@ -30,6 +31,7 @@ const App = () => {
Page not found
} />
+ ) } diff --git a/src/components/Auth/AuthForDevelopers.js b/src/components/Auth/AuthForDevelopers.js index 495f7291..a1ee30ae 100644 --- a/src/components/Auth/AuthForDevelopers.js +++ b/src/components/Auth/AuthForDevelopers.js @@ -162,9 +162,8 @@ const AuthForDevelopers = () => {
- © Адвего — биржа контента №1. Копирайтинг, рерайтинг, - переводы, работа на дому: поставщик уникального контента. - 2021{' '} + Подберем и документально оформим IT-специалистов, после чего передадим исполнителей под ваше руководство. + Вы получаете полное управление над сотрудниками, имея возможность контролировать и заменять IT штат.{' '}
diff --git a/src/components/Auth/AuthForPartners.js b/src/components/Auth/AuthForPartners.js index 9d910ebb..b06a6dff 100644 --- a/src/components/Auth/AuthForPartners.js +++ b/src/components/Auth/AuthForPartners.js @@ -153,8 +153,8 @@ const AuthForPartners = () => {
- © Адвего — биржа контента №1. Копирайтинг, рерайтинг, переводы, работа на дому: поставщик - уникального контента. 2021{' '} + Подберем и документально оформим IT-специалистов, после чего передадим исполнителей под ваше руководство. + Вы получаете полное управление над сотрудниками, имея возможность контролировать и заменять IT штат.{' '}
diff --git a/src/components/Outstaffing/Outstaffing.js b/src/components/Outstaffing/Outstaffing.js index 47dd8e74..26911d04 100644 --- a/src/components/Outstaffing/Outstaffing.js +++ b/src/components/Outstaffing/Outstaffing.js @@ -31,6 +31,7 @@ const Outstaffing = () => { dataTags={tagsArr && tagsArr.flat().filter((tag) => tag.name === 'skills_front')} img={front} header="Фронтенд" + positionId='2' />
@@ -38,6 +39,7 @@ const Outstaffing = () => { dataTags={tagsArr.flat().filter((tag) => tag.name === 'skills_back')} img={back} header="Бэкенд" + positionId='1' />
@@ -45,6 +47,7 @@ const Outstaffing = () => { dataTags={tagsArr.flat().filter((tag) => tag.name === 'skills_design')} img={design} header="Дизайн" + positionId='5' />
diff --git a/src/components/Outstaffing/OutstaffingBlock.js b/src/components/Outstaffing/OutstaffingBlock.js index 93e20240..43aed4f2 100644 --- a/src/components/Outstaffing/OutstaffingBlock.js +++ b/src/components/Outstaffing/OutstaffingBlock.js @@ -1,9 +1,18 @@ import React from 'react'; import { useDispatch, useSelector } from 'react-redux'; -import { selectItems, selectedItems } from '../../redux/outstaffingSlice'; +import { selectItems, selectedItems, filteredCandidates } from '../../redux/outstaffingSlice'; +import { fetchItemsForId } from '../../server/server'; import style from './Outstaffing.module.css'; -const OutstaffingBlock = ({ dataTags = [], selected, img, header }) => { +const handlePositionClick = ({dispatch, positionId}) => { + + fetchItemsForId(`${process.env.REACT_APP_API_URL}/api/profile?position_id=`, positionId).then((el) => + dispatch(filteredCandidates(el)) + ); +}; + +const OutstaffingBlock = ({ dataTags = [], selected, img, header, positionId }) => { + console.log('p', positionId) const dispatch = useDispatch(); const itemsArr = useSelector(selectItems); @@ -28,7 +37,7 @@ const OutstaffingBlock = ({ dataTags = [], selected, img, header }) => { return (
-
+
handlePositionClick({dispatch, positionId})}>

{header}

img
diff --git a/src/index.css b/src/index.css index 1bfefbc0..afe25df0 100644 --- a/src/index.css +++ b/src/index.css @@ -17,3 +17,7 @@ code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } + +h1 { + display: none; +}