Added ui btn and fixed Modals
This commit is contained in:
parent
81129538ed
commit
85accc3111
@ -1,7 +1,7 @@
|
|||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
|
|
||||||
import { Achievement } from "../Achievement/Achievement";
|
import { Achievement } from "../Achievement/Achievement";
|
||||||
import ModalAspt from "../UI/ModalAspt/ModalAspt";
|
import ModalAspirant from "../UI/ModalAspirant/ModalAspirant";
|
||||||
|
|
||||||
import { urlForLocal } from "../../helper";
|
import { urlForLocal } from "../../helper";
|
||||||
import { LEVELS, SKILLS } from "../../constants/constants";
|
import { LEVELS, SKILLS } from "../../constants/constants";
|
||||||
@ -39,11 +39,11 @@ const CandidateSidebar = ({ candidate, setActiveSnippet, activeSnippet }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="candidate-sidebar">
|
<div className="candidate-sidebar">
|
||||||
<ModalAspt
|
<ModalAspirant
|
||||||
active={addAspt}
|
active={addAspt}
|
||||||
setActive={setAddAspt}
|
setActive={setAddAspt}
|
||||||
level={levelAspt}
|
level={levelAspt}
|
||||||
></ModalAspt>
|
></ModalAspirant>
|
||||||
|
|
||||||
<div className="candidate-sidebar__info">
|
<div className="candidate-sidebar__info">
|
||||||
<div className="candidate-sidebar__position">
|
<div className="candidate-sidebar__position">
|
||||||
|
16
src/components/Common/Button/Button.jsx
Normal file
16
src/components/Common/Button/Button.jsx
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import React from "react";
|
||||||
|
|
||||||
|
import classes from "./button.module.scss";
|
||||||
|
|
||||||
|
export const Button = ({ children, styles, ...props }) => {
|
||||||
|
return (
|
||||||
|
<button
|
||||||
|
className={styles ? `${styles} ${classes.button}` : classes.button}
|
||||||
|
{...props}
|
||||||
|
>
|
||||||
|
{children}
|
||||||
|
</button>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Button;
|
18
src/components/Common/Button/button.module.scss
Normal file
18
src/components/Common/Button/button.module.scss
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
.button {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background-color: #52b709;
|
||||||
|
border-radius: 44px;
|
||||||
|
color: white;
|
||||||
|
font-style: normal;
|
||||||
|
font-family: "LabGrotesque", sans-serif;
|
||||||
|
border: none;
|
||||||
|
transition: 0.5s;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
transition: 0.5s;
|
||||||
|
background-color: #52b709a8;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
@ -2,6 +2,8 @@ import React, { useState } from "react";
|
|||||||
import Slider from "react-slick";
|
import Slider from "react-slick";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
|
|
||||||
|
import Button from "../Common/Button/Button";
|
||||||
|
|
||||||
import mockWorker from "../../assets/images/mock/mokPerson.png";
|
import mockWorker from "../../assets/images/mock/mokPerson.png";
|
||||||
|
|
||||||
import "./sliderWorkers.scss";
|
import "./sliderWorkers.scss";
|
||||||
@ -65,9 +67,9 @@ export const SliderWorkers = ({ title, titleInfo, subTitle }) => {
|
|||||||
<img src={worker.avatar}></img>
|
<img src={worker.avatar}></img>
|
||||||
<div className="worker-description">
|
<div className="worker-description">
|
||||||
<p>{worker.skils}</p>
|
<p>{worker.skils}</p>
|
||||||
<Link to={`/worker/${index}`} className="worker__resume">
|
<Button styles="worker__resume">
|
||||||
Подробное резюме
|
<Link to={`/worker/${index}`}>Подробное резюме</Link>
|
||||||
</Link>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -59,24 +59,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&__resume {
|
&__resume {
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
width: 177px;
|
width: 177px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
background: #52b709;
|
|
||||||
border-radius: 44px;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
transition: 0.5s;
|
transition: 0.5s;
|
||||||
|
|
||||||
&:hover {
|
a {
|
||||||
transition: 0.5s;
|
color: white;
|
||||||
background-color: #52b709a8;
|
width: 100%;
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
|
import { Link } from "react-router-dom";
|
||||||
|
|
||||||
import AuthHeader from "../../AuthHeader/AuthHeader";
|
import AuthHeader from "../../AuthHeader/AuthHeader";
|
||||||
import SideBar from "../../SideBar/SideBar";
|
import SideBar from "../../SideBar/SideBar";
|
||||||
import { Footer } from "../../Footer/Footer";
|
import { Footer } from "../../Footer/Footer";
|
||||||
|
|
||||||
import { Link } from "react-router-dom";
|
|
||||||
import { scrollToForm } from "../../../helper";
|
import { scrollToForm } from "../../../helper";
|
||||||
import { ProfileBreadcrumbs } from "../../ProfileBreadcrumbs/ProfileBreadcrumbs";
|
import { ProfileBreadcrumbs } from "../../ProfileBreadcrumbs/ProfileBreadcrumbs";
|
||||||
|
import Button from "../../Common/Button/Button";
|
||||||
|
|
||||||
import mockWorker from "../../../assets/images/mock/mokPerson.png";
|
import mockWorker from "../../../assets/images/mock/mokPerson.png";
|
||||||
import arrow from "../../../assets/icons/arrows/arrow_left.png";
|
import arrow from "../../../assets/icons/arrows/arrow_left.png";
|
||||||
@ -42,9 +42,9 @@ export const FreeDevelopers = ({}) => {
|
|||||||
<div></div>
|
<div></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button className="button-green" onClick={scrollToForm}>
|
<Button onClick={scrollToForm} styles={"dev-code"}>
|
||||||
Код разработчика
|
Код разработчика
|
||||||
</button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="free-dev__body">
|
<div className="free-dev__body">
|
||||||
@ -84,14 +84,13 @@ export const FreeDevelopers = ({}) => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="logIn">
|
<div className="login">
|
||||||
<h3>Для просмотра полного резюме разработчика авторизуйтесь</h3>
|
<h3>Для просмотра полного резюме разработчика авторизуйтесь</h3>
|
||||||
<Link to={"/auth"} className="button-green">
|
<Button styles={"dev-code"}>
|
||||||
Войти
|
<Link to={"/auth"}>Войти</Link>
|
||||||
</Link>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Footer />
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -118,7 +118,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.logIn {
|
.login {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 75px;
|
bottom: 75px;
|
||||||
border: 3px solid #52b709;
|
border: 3px solid #52b709;
|
||||||
@ -140,10 +140,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
width: 140px;
|
|
||||||
height: 50px;
|
|
||||||
color: white;
|
color: white;
|
||||||
text-decoration: none;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 920px) {
|
@media (max-width: 920px) {
|
||||||
@ -156,7 +154,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
button {
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
@ -229,17 +227,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-green {
|
.dev-code {
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
display: flex;
|
|
||||||
background: #52b709;
|
|
||||||
border-radius: 44px;
|
|
||||||
width: 202px;
|
width: 202px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 32px;
|
|
||||||
color: #ffffff;
|
|
||||||
border: none;
|
|
||||||
}
|
}
|
||||||
|
102
src/components/UI/ModalAspirant/ModalAspirant.jsx
Normal file
102
src/components/UI/ModalAspirant/ModalAspirant.jsx
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
import React, { useState } from "react";
|
||||||
|
|
||||||
|
import { Link } from "react-router-dom";
|
||||||
|
import ModalLayout from "../ModalLayout/ModalLayout";
|
||||||
|
|
||||||
|
import avatar from "../../../assets/images/mock/mokPerson.png";
|
||||||
|
import logoTg from "../../../assets/icons/tgLogo.svg";
|
||||||
|
import arrow from "../../../assets/icons/arrows/left-arrow.png";
|
||||||
|
import interview from "../../../assets/images/logo/interviewLogo.svg";
|
||||||
|
|
||||||
|
import "./modalAspirant.scss";
|
||||||
|
|
||||||
|
export const ModalAspirant = ({ active, setActive, level }) => {
|
||||||
|
const [date, setDate] = useState("");
|
||||||
|
const [time, setTime] = useState("");
|
||||||
|
const [modalSend, setModalSend] = useState(false);
|
||||||
|
|
||||||
|
const send = () => {
|
||||||
|
if (date != "" && time != "") {
|
||||||
|
setModalSend(true);
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
setModalSend(false);
|
||||||
|
setActive(false);
|
||||||
|
}, 3200);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// TODO: Исправить стили тут, и заменить в модалках
|
||||||
|
return (
|
||||||
|
<ModalLayout
|
||||||
|
active={active}
|
||||||
|
setActive={setActive}
|
||||||
|
styles={"modal-aspt__content"}
|
||||||
|
>
|
||||||
|
<div className="aspt-decs">
|
||||||
|
<h1>Выбранный кандидат</h1>
|
||||||
|
<div className="aspt-decs__avatar">
|
||||||
|
<div className="aspt-decs__avatar_title">
|
||||||
|
<img src={avatar}></img>
|
||||||
|
<p>
|
||||||
|
{level.spec} {level.skils}, {level.level}{" "}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className="aspt-decs__avatar_back">
|
||||||
|
<Link to={"/profile/catalog"}>
|
||||||
|
<div>
|
||||||
|
<img src={arrow}></img>
|
||||||
|
</div>
|
||||||
|
<p>Вернуться к списку</p>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="aspt-decs__telega">
|
||||||
|
<h4>Есть вопросы?</h4>
|
||||||
|
<div className="aspt-decs__telega-logo">
|
||||||
|
<img src={logoTg}></img>
|
||||||
|
<p>Напишите нам в Телеграм. Мы с удовольствием ответим!</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="form-interview">
|
||||||
|
<p>Дата собеседования</p>
|
||||||
|
<div className="input">
|
||||||
|
<input
|
||||||
|
type="date"
|
||||||
|
value={date}
|
||||||
|
onChange={(e) => setDate(e.target.value)}
|
||||||
|
></input>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p>Время собеседования</p>
|
||||||
|
<div className="input">
|
||||||
|
<input
|
||||||
|
type="time"
|
||||||
|
value={time}
|
||||||
|
onChange={(e) => setTime(e.target.value)}
|
||||||
|
></input>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button onClick={send}>Отправить</button>
|
||||||
|
</div>
|
||||||
|
<span className="exit" onClick={() => setActive(false)}></span>
|
||||||
|
|
||||||
|
<ModalLayout active={modalSend} setActive={setModalSend} styles={"send"}>
|
||||||
|
<div className="send">
|
||||||
|
<img src={interview}></img>
|
||||||
|
<h2>Спасибо, собеседование назначено</h2>
|
||||||
|
<p>
|
||||||
|
Дата: <span>{date}</span>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Время собеседования: <span>{time}</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</ModalLayout>
|
||||||
|
</ModalLayout>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default ModalAspirant;
|
@ -164,6 +164,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-aspt.active {
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
|
||||||
.send {
|
.send {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -188,8 +193,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.modal-aspt.active {
|
|
||||||
transform: scale(1);
|
|
||||||
}
|
|
@ -1,102 +0,0 @@
|
|||||||
import React, { useState } from "react";
|
|
||||||
|
|
||||||
import { Link } from "react-router-dom";
|
|
||||||
import ModalLayout from "../ModalLayout/ModalLayout";
|
|
||||||
|
|
||||||
import avatar from "../../../assets/images/mock/mokPerson.png";
|
|
||||||
import logoTg from "../../../assets/icons/tgLogo.svg";
|
|
||||||
import arrow from "../../../assets/icons/arrows/left-arrow.png";
|
|
||||||
import interview from "../../../assets/images/logo/interviewLogo.svg";
|
|
||||||
|
|
||||||
import "./modalAspt.scss";
|
|
||||||
|
|
||||||
export const ModalAspt = ({ active, setActive, level }) => {
|
|
||||||
const [date, setDate] = useState("");
|
|
||||||
const [time, setTime] = useState("");
|
|
||||||
const [modalSend, setModalSend] = useState(false);
|
|
||||||
|
|
||||||
const send = () => {
|
|
||||||
if (date != "" && time != "") {
|
|
||||||
setModalSend(true);
|
|
||||||
|
|
||||||
setTimeout(() => {
|
|
||||||
setModalSend(false);
|
|
||||||
setActive(false);
|
|
||||||
}, 3200);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div
|
|
||||||
className={active ? "modal-aspt active" : "modal-aspt"}
|
|
||||||
onClick={() => setActive(false)}
|
|
||||||
>
|
|
||||||
<div className="modal-aspt__content" onClick={(e) => e.stopPropagation()}>
|
|
||||||
<div className="aspt-decs">
|
|
||||||
<h1>Выбранный кандидат</h1>
|
|
||||||
<div className="aspt-decs__avatar">
|
|
||||||
<div className="aspt-decs__avatar_title">
|
|
||||||
<img src={avatar}></img>
|
|
||||||
<p>
|
|
||||||
{level.spec} {level.skils}, {level.level}{" "}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div className="aspt-decs__avatar_back">
|
|
||||||
<Link to={"/profile/catalog"}>
|
|
||||||
<div>
|
|
||||||
<img src={arrow}></img>
|
|
||||||
</div>
|
|
||||||
<p>Вернуться к списку</p>
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="aspt-decs__telega">
|
|
||||||
<h4>Есть вопросы?</h4>
|
|
||||||
<div className="aspt-decs__telega-logo">
|
|
||||||
<img src={logoTg}></img>
|
|
||||||
<p>Напишите нам в Телеграм. Мы с удовольствием ответим!</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className="form-interview">
|
|
||||||
<p>Дата собеседования</p>
|
|
||||||
<div className="input">
|
|
||||||
<input
|
|
||||||
type="date"
|
|
||||||
value={date}
|
|
||||||
onChange={(e) => setDate(e.target.value)}
|
|
||||||
></input>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p>Время собеседования</p>
|
|
||||||
<div className="input">
|
|
||||||
<input
|
|
||||||
type="time"
|
|
||||||
value={time}
|
|
||||||
onChange={(e) => setTime(e.target.value)}
|
|
||||||
></input>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button onClick={send}>Отправить</button>
|
|
||||||
</div>
|
|
||||||
<span className="exit" onClick={() => setActive(false)}></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ModalLayout active={modalSend} setActive={setModalSend}>
|
|
||||||
<div className="send">
|
|
||||||
<img src={interview}></img>
|
|
||||||
<h2>Спасибо, собеседование назначено</h2>
|
|
||||||
<p>
|
|
||||||
Дата: <span>{date}</span>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Время собеседования: <span>{time}</span>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</ModalLayout>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default ModalAspt;
|
|
@ -1,12 +1,19 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
|
|
||||||
export const ModalLayout = ({ active, setActive, children }) => {
|
import "./modalLayout.scss";
|
||||||
|
|
||||||
|
export const ModalLayout = ({ active, setActive, children, styles }) => {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={active ? "modal-add active" : "modal-add"}
|
className={active ? `modal-layout active` : "modal-layout"}
|
||||||
onClick={() => setActive(false)}
|
onClick={() => setActive(false)}
|
||||||
>
|
>
|
||||||
<div className="modal-add__content" onClick={(e) => e.stopPropagation()}>
|
<div
|
||||||
|
className={
|
||||||
|
styles ? `modal-layout__content ${styles}` : "modal-layout__content"
|
||||||
|
}
|
||||||
|
onClick={(e) => e.stopPropagation()}
|
||||||
|
>
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
29
src/components/UI/ModalLayout/modalLayout.scss
Normal file
29
src/components/UI/ModalLayout/modalLayout.scss
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
.modal-layout {
|
||||||
|
z-index: 9;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
background-color: rgba(0, 0, 0, 0.11);
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
transform: scale(0);
|
||||||
|
|
||||||
|
&__content {
|
||||||
|
position: relative;
|
||||||
|
background: linear-gradient(180deg, #ffffff 0%, #ebebeb 100%);
|
||||||
|
border-radius: 24px;
|
||||||
|
|
||||||
|
padding: 60px 60px 30px 60px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-layout.active {
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
@ -5,6 +5,7 @@ import {
|
|||||||
setPartnerRequestId,
|
setPartnerRequestId,
|
||||||
setPartnerRequests,
|
setPartnerRequests,
|
||||||
} from "../../redux/outstaffingSlice";
|
} from "../../redux/outstaffingSlice";
|
||||||
|
import { apiRequest } from "../../api/request";
|
||||||
|
|
||||||
import { Navigation } from "../../components/Navigation/Navigation";
|
import { Navigation } from "../../components/Navigation/Navigation";
|
||||||
import { ProfileHeader } from "../../components/ProfileHeader/ProfileHeader";
|
import { ProfileHeader } from "../../components/ProfileHeader/ProfileHeader";
|
||||||
@ -12,8 +13,7 @@ import { ProfileBreadcrumbs } from "../../components/ProfileBreadcrumbs/ProfileB
|
|||||||
import { SliderWorkers } from "../../components/SliderWorkers/SliderWorkers";
|
import { SliderWorkers } from "../../components/SliderWorkers/SliderWorkers";
|
||||||
import { Loader } from "../../components/Loader/Loader";
|
import { Loader } from "../../components/Loader/Loader";
|
||||||
import { Footer } from "../../components/Footer/Footer";
|
import { Footer } from "../../components/Footer/Footer";
|
||||||
|
import Button from "../../components/Common/Button/Button";
|
||||||
import { apiRequest } from "../../api/request";
|
|
||||||
|
|
||||||
import cursorImg from "../../assets/icons/cursorImg.svg";
|
import cursorImg from "../../assets/icons/cursorImg.svg";
|
||||||
|
|
||||||
@ -82,10 +82,12 @@ export const PartnerRequests = () => {
|
|||||||
Оператор компании заводит заявку и указывает необходимые
|
Оператор компании заводит заявку и указывает необходимые
|
||||||
параметры — количество сотрудников, стек, уровень специалиста
|
параметры — количество сотрудников, стек, уровень специалиста
|
||||||
</p>
|
</p>
|
||||||
|
<Button>
|
||||||
<Link to={"/profile/add-request"}>
|
<Link to={"/profile/add-request"}>
|
||||||
<span>+</span>
|
<span>+</span>
|
||||||
Создать запрос
|
Создать запрос
|
||||||
</Link>
|
</Link>
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
@ -95,10 +97,12 @@ export const PartnerRequests = () => {
|
|||||||
<div className="partnerRequests__noItems__create__link">
|
<div className="partnerRequests__noItems__create__link">
|
||||||
<img src={cursorImg} alt="cursor" />
|
<img src={cursorImg} alt="cursor" />
|
||||||
<p>У вас еще нет запросов на сотрудников</p>
|
<p>У вас еще нет запросов на сотрудников</p>
|
||||||
|
<Button>
|
||||||
<Link to={"/profile/add-request"}>
|
<Link to={"/profile/add-request"}>
|
||||||
<span>+</span>
|
<span>+</span>
|
||||||
Создать запрос
|
Создать запрос
|
||||||
</Link>
|
</Link>
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<div className="partnerRequests__noItems__create__instruction">
|
<div className="partnerRequests__noItems__create__instruction">
|
||||||
<h3>Инструкция: подачи заявки</h3>
|
<h3>Инструкция: подачи заявки</h3>
|
@ -161,20 +161,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
button {
|
||||||
background: #52b709;
|
|
||||||
max-width: 188px;
|
max-width: 188px;
|
||||||
border-radius: 44px;
|
|
||||||
height: 52px;
|
height: 52px;
|
||||||
border: none;
|
|
||||||
font-weight: 400;
|
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 32px;
|
transition: 0.3s all ease;
|
||||||
|
|
||||||
|
a {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
transition: 0.3s all ease;
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: white;
|
color: white;
|
||||||
@ -186,8 +184,6 @@
|
|||||||
&:hover {
|
&:hover {
|
||||||
box-shadow: 6px 5px 20px rgb(87 98 80 / 21%);
|
box-shadow: 6px 5px 20px rgb(87 98 80 / 21%);
|
||||||
transform: scale(1.02);
|
transform: scale(1.02);
|
||||||
text-decoration: none;
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -260,21 +256,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
button {
|
||||||
background: #52b709;
|
|
||||||
max-width: 174px;
|
max-width: 174px;
|
||||||
border-radius: 44px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 46px;
|
height: 46px;
|
||||||
border: none;
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
color: #ffffff;
|
transition: 0.3s all ease;
|
||||||
|
|
||||||
|
a {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
transition: 0.3s all ease;
|
color: white;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: white;
|
color: white;
|
||||||
@ -286,8 +283,6 @@
|
|||||||
&:hover {
|
&:hover {
|
||||||
box-shadow: 6px 5px 20px rgb(87 98 80 / 21%);
|
box-shadow: 6px 5px 20px rgb(87 98 80 / 21%);
|
||||||
transform: scale(1.02);
|
transform: scale(1.02);
|
||||||
text-decoration: none;
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,7 @@ import { Footer } from "../../components/Footer/Footer";
|
|||||||
import { ProfileBreadcrumbs } from "../../components/ProfileBreadcrumbs/ProfileBreadcrumbs";
|
import { ProfileBreadcrumbs } from "../../components/ProfileBreadcrumbs/ProfileBreadcrumbs";
|
||||||
import { ProfileHeader } from "../../components/ProfileHeader/ProfileHeader";
|
import { ProfileHeader } from "../../components/ProfileHeader/ProfileHeader";
|
||||||
import { Navigation } from "../../components/Navigation/Navigation";
|
import { Navigation } from "../../components/Navigation/Navigation";
|
||||||
|
import Button from "../../components/Common/Button/Button";
|
||||||
|
|
||||||
import kontur from "../../assets/images/logo/konturLogo.png";
|
import kontur from "../../assets/images/logo/konturLogo.png";
|
||||||
import astral from "../../assets/images/logo/astralLogo.png";
|
import astral from "../../assets/images/logo/astralLogo.png";
|
||||||
@ -39,8 +40,8 @@ export const PartnerSettings = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="settings__buttons">
|
<div className="settings__buttons">
|
||||||
<button className="settings__buttons-cancel">Отмена</button>
|
<Button styles={"settings__buttons-cancel"}>Отмена</Button>
|
||||||
<button className="settings__buttons-save">Сохранить</button>
|
<Button styles={"settings__buttons-save"}>Сохранить</Button>
|
||||||
</div>
|
</div>
|
||||||
<span className="settings__agreement">
|
<span className="settings__agreement">
|
||||||
Нажимая "Сохранить", вы соглашаетесь с Правилами обработки и
|
Нажимая "Сохранить", вы соглашаетесь с Правилами обработки и
|
||||||
@ -76,8 +77,8 @@ export const PartnerSettings = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="settings__buttons">
|
<div className="settings__buttons">
|
||||||
<button className="settings__buttons-cancel">Отмена</button>
|
<Button styles={"settings__buttons-cancel"}>Отмена</Button>
|
||||||
<button className="settings__buttons-save">Сохранить</button>
|
<Button styles={"settings__buttons-save"}>Сохранить</Button>
|
||||||
</div>
|
</div>
|
||||||
<span className="settings__agreement">
|
<span className="settings__agreement">
|
||||||
Нажимая "Сохранить", вы соглашаетесь с Правилами обработки и
|
Нажимая "Сохранить", вы соглашаетесь с Правилами обработки и
|
||||||
|
@ -72,7 +72,6 @@
|
|||||||
|
|
||||||
&-cancel,
|
&-cancel,
|
||||||
&-save {
|
&-save {
|
||||||
border-radius: 44px;
|
|
||||||
width: 151px;
|
width: 151px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
@ -83,12 +82,10 @@
|
|||||||
color: #6f6f6f;
|
color: #6f6f6f;
|
||||||
background: white;
|
background: white;
|
||||||
border: 0.5px solid #8dc63f;
|
border: 0.5px solid #8dc63f;
|
||||||
}
|
|
||||||
|
|
||||||
&-save {
|
&:hover {
|
||||||
color: #ffffff;
|
background-color: white;
|
||||||
background: #52b709;
|
}
|
||||||
border: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user