From 15ed4b8c1d5cfd5d47aa1631f31a10e123877cd5 Mon Sep 17 00:00:00 2001 From: M1kola Date: Thu, 23 Feb 2023 14:57:26 +0300 Subject: [PATCH] partner bid page --- src/App.js | 2 + src/components/ProfileHeader/ProfileHeader.js | 2 +- src/images/QualificationInfo.png | Bin 0 -> 672 bytes src/images/QualificationInfoMiddle.png | Bin 0 -> 507 bytes src/images/mokPerson.png | Bin 0 -> 6039 bytes src/pages/AuthForPartners/AuthForPartners.js | 2 +- src/pages/PartnerBid/PartnerBid.js | 119 +++++ src/pages/PartnerBid/partnerBid.scss | 440 ++++++++++++++++++ src/pages/PartnerRequests/PartnerRequests.js | 2 +- src/pages/Profile/Profile.js | 2 +- 10 files changed, 565 insertions(+), 4 deletions(-) create mode 100644 src/images/QualificationInfo.png create mode 100644 src/images/QualificationInfoMiddle.png create mode 100644 src/images/mokPerson.png create mode 100644 src/pages/PartnerBid/PartnerBid.js create mode 100644 src/pages/PartnerBid/partnerBid.scss diff --git a/src/App.js b/src/App.js index 84bf489b..cbd1e31b 100644 --- a/src/App.js +++ b/src/App.js @@ -24,6 +24,7 @@ import {Payouts} from './pages/Payouts/Payouts' import {Settings} from './pages/Settings/Settings' import {PartnerRequests} from './pages/PartnerRequests/PartnerRequests' import {PartnerAddRequest} from './pages/PartnerAddRequest/PartnerAddRequest' +import {PartnerBid} from './pages/PartnerBid/PartnerBid' import './fonts/stylesheet.css' import 'bootstrap/dist/css/bootstrap.min.css' @@ -68,6 +69,7 @@ const App = () => { }/> }/> }/> + }/> }/> diff --git a/src/components/ProfileHeader/ProfileHeader.js b/src/components/ProfileHeader/ProfileHeader.js index d63aae34..ae91b927 100644 --- a/src/components/ProfileHeader/ProfileHeader.js +++ b/src/components/ProfileHeader/ProfileHeader.js @@ -21,7 +21,7 @@ export const ProfileHeader = () => { const userRole = useSelector(getRole); const profileInfo = useSelector(getProfileInfo); - const [user] = useState('developer') + const [user] = useState('partner') const [navInfo] = useState({ developer: [ { diff --git a/src/images/QualificationInfo.png b/src/images/QualificationInfo.png new file mode 100644 index 0000000000000000000000000000000000000000..a540a284c837b044d1c497bbbe44767a9090e598 GIT binary patch literal 672 zcmV;R0$=@!P)P0012b1^@s6UwFrL00009a7bBm000XU z000XU0RWnu7ytkO0drDELIAGL9O(c600d`2O+f$vv5yPGi}+=x2B6D0}vGj7&P|CmlsoO9%i`9>YUYZpoR6$_myrA7<(N`;G?l^p?saZ`$c%hXYB!qw6yjTi4ZKU zd(A?9mVXApAuTQqVM!Wf=M)CImE^6M-_NLa4)|8e*Ci`N?#t8>oQ<3;9Qwo&Lfh)D z_D|p6|KT>BmGH@m4pVE)r?!Kyv(VK~#7F#n!=1 z!!Q&E;P;$ENx3+7kvNtOIzqX11dd!e!3Hf8WCXfFM@X5VY*3DzASY6Ruz62yL<9lZ zjw604lHv1a=0M(w43lDNiO`C#4)`nc8x_lxhJn(+1Y*1+GEvn1Qx;qQWj zgQb$DSlh+@9gq_zUj|77X?oRM2ORX>UB!jwkyo->*d1h^v_Qh1Lk(zK4>cpfrG$0 zN~zoz?gW0pqq!^G1nGY|hc0n}qk=AQFJKGYI1Pq@&gb5$dc9B6V=m4R?FF6ipAgNG x?#IU1MOi-ILSJc&*!D7|zlETi19%Mq`2;H;2AL>NoU{M{002ovPDHLkV1jAr(%%38 literal 0 HcmV?d00001 diff --git a/src/images/mokPerson.png b/src/images/mokPerson.png new file mode 100644 index 0000000000000000000000000000000000000000..b1e0bf52a26dbbd321053a2a66bf3394095d257f GIT binary patch literal 6039 zcmV;I7ij2-P)5pUso zk)@#G0}A(EFPjQwDV9>&(l$%eq|KgYo5?cU+5EmUO-Ry7GRv7(eVVHk$6@0dSF@JNL&V17i`Dh(Zr1woi?82U^>5KCzrXu1J|wioCni2_7H zfNtn5q9iuc_6-n>!?GyV($96_LG8rya$kUsVc-lxz!?CMCD!?emMW3RDpeDfQzO>t zFy`ohJJm)FvnWD{h@wzu=*CV#)OTk)ockQ1Kz&I`Nf4(QrB8QF>v_;xg^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?V@s;YZ!pS$+|kzt%R{bWAK>^Bcp>Tm46#PIiC zASg-|rI@*7NrLH{tt9(oh08o={ES|^L#08=Hc~8a8o7CI z$pv{YVeN(cg_SG+wf}?9crY#c?z?l~lxAzKEoDX|x?F&^00RR>RL`xXN_n0UrLlId zubS&d1(QU90u{-CUb6mLc(OZb+iJt++^-3GePqeJj_mno2Z&H>pO2L!{tmVXqgL)H RXpjH^002ovPDHLkV1lbfy%GQb literal 0 HcmV?d00001 diff --git a/src/pages/AuthForPartners/AuthForPartners.js b/src/pages/AuthForPartners/AuthForPartners.js index 7c23cfdf..660b85f4 100644 --- a/src/pages/AuthForPartners/AuthForPartners.js +++ b/src/pages/AuthForPartners/AuthForPartners.js @@ -22,7 +22,7 @@ const AuthForPartners = () => { useEffect(()=> { if (isAuth || getToken) { - navigate('/') + navigate('/profile') } }, [getToken]); diff --git a/src/pages/PartnerBid/PartnerBid.js b/src/pages/PartnerBid/PartnerBid.js new file mode 100644 index 00000000..dbd75cf9 --- /dev/null +++ b/src/pages/PartnerBid/PartnerBid.js @@ -0,0 +1,119 @@ +import React, {useState} from 'react'; +import {Link} from "react-router-dom"; + +import {ProfileHeader} from "../../components/ProfileHeader/ProfileHeader"; +import {Footer} from "../../components/Footer/Footer"; + +import arrowSwitchDate from "../../images/arrowViewReport.png"; +import backEndImg from "../../images/QualificationInfo.png"; +import middle from "../../images/QualificationInfoMiddle.png"; +import personImg from "../../images/mokPerson.png" + +import './partnerBid.scss' + +export const PartnerBid = () => { + const [mokPersons] = useState([ + { + name: 'Дмитрий, PHP Back end - разработчик, Middle', + link: '', + img: personImg + }, + { + name: 'Дмитрий, PHP Back end - разработчик, Middle', + link: '', + img: personImg + }, + { + name: 'Дмитрий, PHP Back end - разработчик, Middle', + link: '', + img: personImg + } + ]) + return ( +
+ +
+

Страница заявки

+
+

PHP разработчик

+
+
+
+ arrow +
+

Дата заявки : 19 декабря 2022 года

+
+ arrow +
+
+
+ + + + + + + + + + + + + + + + + +

Требования к стеку разработчика

Квалификация

+

+ PHP приветствуется аккуратность в коде. MySQL - умение писать запросы к MySQL, + понимание как происходит запрос. Средний уровень: AJAX, JSON, общее понимание; + CSS/CSS3, HTML, Bootstrap; +

+
+
+
+ backEndImg +
+

Backend разработчик

+
+
+

+ Знание современных фреймворков Laravel, Yii 2, FuelPHP, Симфони; + Знания по разработке REST API; + Знание PHP,HTML,CSS,MySQL,Pyhton,JavaScript. +

+
+
+
+ middleImg +
+

Средний
(Middle)

+
+
+
+
+
+

Подходящие сотрудники по запросу

+
+
+ {mokPersons.map((person) => { + return
+ avatar +

{person.name}

+ + Подробнее + +
+ +
+
+ }) + } +
+
+
+
+
+ ) +}; diff --git a/src/pages/PartnerBid/partnerBid.scss b/src/pages/PartnerBid/partnerBid.scss new file mode 100644 index 00000000..05afb705 --- /dev/null +++ b/src/pages/PartnerBid/partnerBid.scss @@ -0,0 +1,440 @@ +.partnerBid { + background: #F1F1F1; + height: 100%; + min-height: 100vh; + font-family: 'LabGrotesque', sans-serif; + + .container { + max-width: 1160px; + margin-top: 23px; + + @media (max-width: 570px) { + margin-top: 0; + } + } + + &__title { + color: #000000; + font-weight: 700; + font-size: 22px; + line-height: 32px; + } + + &__qualification { + background: #FFFFFF; + border-radius: 12px; + padding: 20px 37px; + margin-top: 20px; + + h3 { + color: #000000; + font-weight: 500; + font-size: 22px; + line-height: 32px; + margin-bottom: 0; + } + } + + &__switcher { + display: flex; + margin: 30px 0; + justify-content: center; + align-items: center; + + @media (max-width: 550px) { + justify-content: space-between; + } + + .switchDate { + width: 48px; + height: 48px; + background: #8DC63F; + border-radius: 50px; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + } + + &__prev { + transform: rotate(180deg); + } + + p { + color: #000000; + font-weight: 400; + font-size: 12px; + line-height: 32px; + margin: 0 100px; + + @media (max-width: 550px) { + margin: 0; + } + } + } + + .table__wrapper { + margin: 0 -28px; + overflow: hidden; + position: relative; + + @media (max-width: 1205px) { + margin: 0; + } + + table { + width: 100%; + border-collapse: separate; + border-spacing: 28px 0; + + @media (max-width: 1205px) { + display: grid; + border-collapse: collapse; + } + + thead { + + @media (max-width: 1205px) { + display: grid; + } + tr { + + @media (max-width: 1205px) { + display: grid; + grid-template-columns: 74% calc(26% - 28px); + column-gap: 28px; + } + + @media (max-width: 900px) { + grid-template-columns: 65% calc(35% - 28px); + } + + @media (max-width: 515px) { + grid-template-columns: 65% calc(35% - 10px); + column-gap: 10px; + } + + th { + background: white; + border-radius: 12px 12px 0 0; + font-weight: 500; + font-size: 22px; + line-height: 32px; + + &:first-child { + padding: 32px 37px; + + + @media (max-width: 640px) { + padding: 15px; + } + } + + &:last-child { + padding: 32px 50px 32px 48px; + + @media (max-width: 640px) { + padding: 15px; + } + } + + p { + margin-bottom: 0; + } + + @media (max-width: 1000px) { + font-size: 15px; + line-height: 20px; + text-align: center; + } + + @media (max-width: 515px) { + font-size: 12px; + } + } + } + } + + tbody { + @media (max-width: 1205px) { + display: grid; + } + tr { + + @media (max-width: 1205px) { + display: grid; + grid-template-columns: 74% calc(26% - 28px); + column-gap: 28px; + } + + @media (max-width: 900px) { + grid-template-columns: 65% calc(35% - 28px); + } + + @media (max-width: 515px) { + column-gap: 10px; + grid-template-columns: 65% calc(35% - 10px); + } + td { + background: white; + p { + margin-bottom: 0; + color: #000000; + font-weight: 400; + font-size: 14px; + line-height: 24px; + + @media (max-width: 515px) { + font-size: 12px; + line-height: 18px; + } + + @media (max-width: 450px) { + font-size: 10px; + } + } + &:first-child { + padding: 0 27px 35px 39px; + + @media (max-width: 580px) { + padding: 15px; + } + } + + &:last-child { + padding: 0 45px 35px; + + @media (max-width: 580px) { + padding: 15px; + } + } + + .qualification__info { + display: flex; + align-items: center; + + @media (max-width: 1000px) { + flex-direction: column; + row-gap: 5px; + + p { + margin: 0 !important; + text-align: center; + } + } + + .img__wrapper { + min-width: 48px; + height: 48px; + background: #8DC63F; + border-radius: 50px; + display: flex; + justify-content: center; + align-items: center; + + @media (max-width: 515px) { + min-width: 25px; + height: 25px; + + img { + width: 17px; + height: 17px; + } + } + } + + p { + font-weight: 400; + font-size: 14px; + line-height: 18px; + margin-left: 25px; + + @media (max-width: 515px) { + font-size: 12px; + line-height: 18px; + } + } + + .middle { + color: #406128; + font-weight: 900; + font-size: 14px; + line-height: 18px; + + @media (max-width: 515px) { + font-size: 12px; + line-height: 18px; + } + } + } + } + + &:last-child { + td { + border-radius: 0 0 12px 12px; + } + } + } + } + } + } + + &__suitable { + &__title { + background: #E1FCCF; + border-radius: 12px 12px 0px 0px; + margin-top: 48px; + padding: 18px 37px; + position: relative; + + p { + color: #000000; + font-weight: 500; + font-size: 22px; + line-height: 32px; + + @media (max-width: 540px) { + font-size: 15px; + height: 20px; + } + } + } + + &__persons { + display: flex; + flex-direction: column; + row-gap: 18px; + position: relative; + top: -15px; + } + + &__person { + display: flex; + padding: 21px 45px 19px; + align-items: center; + background: #FFFFFF; + border-radius: 12px; + + img { + width: 88px; + height: 88px; + } + + p { + color: #000000; + font-weight: 500; + font-size: 16px; + line-height: 32px; + margin-left: 60px; + position: relative; + + &:after { + content: ""; + position: absolute; + background: #52B709; + border-radius: 12px; + width: 70%; + height: 8px; + bottom: -14px; + left: 0; + } + } + + &__more { + padding: 9px 45px; + background: #52B709; + border-radius: 44px; + color: #FFFFFF; + font-weight: 500; + font-size: 16px; + line-height: 32px; + margin-left: 200px; + + &:hover { + color: white; + text-decoration: none; + } + } + + &__info { + width: 24px; + height: 24px; + box-shadow: 0px 3px 2px -2px rgba(0, 0, 0, 0.06), 0px 5px 3px -2px rgba(0, 0, 0, 0.02); + border-radius: 6px; + border: 1px solid #DDDDDD; + cursor: pointer; + position: relative; + display: flex; + align-items: center; + justify-content: center; + margin-left: 60px; + + &:before { + content: "..."; + color: #6F6F6F; + font-size: 25px; + position: relative; + top: -6px; + } + } + + @media (max-width: 1100px) { + justify-content: space-between; + p { + margin-left: 0; + } + + &__more { + margin-left: 0; + } + + &__info { + margin-left: 0; + } + } + + @media (max-width: 825px) { + padding: 15px; + } + + @media (max-width: 750px) { + p { + max-width: 220px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin-bottom: 0; + } + } + + @media (max-width: 575px) { + img { + width: 35px; + height: 35px; + } + } + + @media (max-width: 630px) { + &__more { + padding: 5px 20px; + } + } + + @media (max-width: 510px) { + p { + font-size: 12px; + max-width: 150px; + } + + &__more { + font-size: 12px; + padding: 2px 10px; + } + } + } + } + + footer { + margin-top: 70px; + } +} diff --git a/src/pages/PartnerRequests/PartnerRequests.js b/src/pages/PartnerRequests/PartnerRequests.js index 7822b64d..4ff96d3e 100644 --- a/src/pages/PartnerRequests/PartnerRequests.js +++ b/src/pages/PartnerRequests/PartnerRequests.js @@ -34,7 +34,7 @@ export const PartnerRequests = () => {
{ items.map((item, index) => { - return + return

{item.name}

diff --git a/src/pages/Profile/Profile.js b/src/pages/Profile/Profile.js index ce887a34..44d329f8 100644 --- a/src/pages/Profile/Profile.js +++ b/src/pages/Profile/Profile.js @@ -22,7 +22,7 @@ import './profile.scss' export const Profile = () => { const profileInfo = useSelector(getProfileInfo); - const [user] = useState('developer') + const [user] = useState('partner') const [profileItemsInfo] = useState({ developer: [ {