Moving components out of a folder UI

This commit is contained in:
MaxOvs19
2023-05-29 09:37:18 +03:00
parent 85accc3111
commit 3b605280b2
10 changed files with 292 additions and 369 deletions

View File

@ -0,0 +1,100 @@
import React from "react";
import { Link } from "react-router-dom";
import AuthHeader from "../AuthHeader/AuthHeader";
import SideBar from "../SideBar/SideBar";
import { Footer } from "../Footer/Footer";
import { scrollToForm } from "../../helper";
import { ProfileBreadcrumbs } from "../ProfileBreadcrumbs/ProfileBreadcrumbs";
import Button from "../Common/Button/Button";
import mockWorker from "../../assets/images/mock/mokPerson.png";
import arrow from "../../assets/icons/arrows/arrow_left.png";
import "./freeDevelopers.scss";
export const FreeDevelopers = ({}) => {
return (
<section className="free-dev">
<AuthHeader />
<SideBar />
<div className="container free-dev_page">
<ProfileBreadcrumbs
links={[
{ name: "Главная", link: "/auth" },
{ name: "Свободные разработчики", link: "/worker" },
]}
/>
<h2>
Свободные разработчики <span>для Вашей команды</span>
</h2>
<Link to={"/auth"} className="link">
<img src={arrow}></img>Вернуться
</Link>
<div className="free-dev__title">
<div className="free-dev__title-box">
<img src={mockWorker}></img>
<div className="free-dev__title-name">
<h3>Дмитрий, PHP Back end - разработчик, Middle</h3>
<div></div>
</div>
</div>
<Button onClick={scrollToForm} styles={"dev-code"}>
Код разработчика
</Button>
</div>
<div className="free-dev__body">
<div className="free-dev__body-title">
<p>Описание опыта работы</p>
</div>
<div className="free-dev__body-text">
<h5>
Godesigner - сервис для фриланс дизайнеров, копирайтеров и их
заказчиков
</h5>
<p>Стек PHP (li3), HTML, CSS, JavaScript, MYSQL, Nginx.</p>
<ul>
<li> Расширение функционала старых модулей проекта</li>
<li>создание и проектирование новых модулей сайта</li>
<li>написание backend части проекта</li>
<li>усовершенствование и расширение функционала админ-панели</li>
<li>работа с визуальной составляющей</li>
<li>создание алгоритма рассылки писем по электронной почте</li>
<li>
использование API сторонних сервисов, мессенджеров (WhatsApp)
</li>
</ul>
<p>Время разработки: 2 года.</p>
<div className="free-dev__body-text-bottom">
<h5>
Godesigner - сервис для фриланс дизайнеров, копирайтеров и их
заказчиков
</h5>
<p>Стек PHP (li3), HTML, CSS, JavaScript, MYSQL, Nginx.</p>
<ul>
<li> Расширение функционала старых модулей проекта</li>
<li>создание и проектирование новых модулей сайта</li>
</ul>
</div>
</div>
<div className="login">
<h3>Для просмотра полного резюме разработчика авторизуйтесь</h3>
<Button styles={"dev-code"}>
<Link to={"/auth"}>Войти</Link>
</Button>
</div>
</div>
<Footer />
</div>
</section>
);
};
export default FreeDevelopers;

View File

@ -0,0 +1,235 @@
.free-dev {
font-family: "LabGrotesque", sans-serif;
overflow: hidden;
position: relative;
background-color: #f1f1f1;
.link {
font-size: 12px;
line-height: 16px;
color: #5b6871;
img {
margin-right: 20px;
}
}
h2 {
font-style: normal;
font-weight: 500;
font-size: 30px;
line-height: 32px;
color: #000000;
margin: 32px 0 36px 0;
span {
color: #52b709;
font-size: 30px;
}
}
&_page {
margin: 24px 0 30px 0;
}
&__title {
background: #ffffff;
border-radius: 12px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 20px 63px 20px 45px;
margin: 40px 0 23px 0;
&-box {
display: flex;
}
&-name {
display: flex;
flex-direction: column;
justify-content: space-evenly;
margin-left: 47px;
div {
width: 239px;
height: 8px;
background: #52b709;
border-radius: 12px;
}
}
@media (max-width: 720px) {
flex-direction: column;
}
@media (max-width: 450px) {
flex-direction: column;
&-box {
flex-direction: column;
align-items: center;
img {
width: 50%;
}
}
&-name {
margin: 10px 0 10px 0;
text-align: center;
align-items: center;
}
}
}
&__body {
position: relative;
background: #ffffff;
border-radius: 12px;
margin-bottom: 160px;
&-title {
background: #e1fccf;
border-radius: 12px 12px 0px 0px;
font-weight: 400;
font-size: 18px;
line-height: 32px;
color: #000000;
padding: 20px 0 17px 51px;
}
&-text {
font-weight: 700;
font-size: 16px;
line-height: 32px;
color: #000000;
padding: 26px 0 30px 52px;
h5 {
font-size: 16px;
margin-bottom: 30px;
}
&-bottom {
margin-top: 50px;
opacity: 0.25;
}
}
.login {
position: absolute;
bottom: 75px;
border: 3px solid #52b709;
border-radius: 12px;
background: rgba(255, 255, 255, 0.76);
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 97px;
cursor: pointer;
h3 {
font-weight: 500;
font-size: 22px;
line-height: 18px;
color: #000000;
margin-right: 50px;
}
a {
color: white;
width: 100%;
}
@media (max-width: 920px) {
flex-direction: column;
padding: 15px;
height: 20%;
h3 {
margin: 0 0 0 0;
text-align: center;
}
button {
margin-top: 15px;
height: 25px;
height: 40px;
}
}
}
}
@media (max-width: 1333px) {
.auth-menu {
position: fixed;
width: 100% !important;
height: 80px;
margin-bottom: 50px;
.auth-body.active {
left: 0;
width: 100%;
}
.auth-body {
&__title,
&__politic {
margin-top: 35px;
}
&__contacts {
margin: 50px 0 25px 0;
}
}
}
.free-dev_page {
margin-top: 110px;
}
.auth-header {
display: none;
}
.auth-title {
flex-direction: row;
height: 100%;
.text {
margin: 0;
flex-direction: row;
.burger {
margin-bottom: 5px;
}
h3 {
display: none;
}
}
.outstaffing {
margin: 0;
width: 150px;
font-size: 12px;
transform: none;
img {
margin-right: 5px;
width: 15px;
}
}
}
}
}
.dev-code {
width: 202px;
height: 50px;
font-weight: 500;
font-size: 16px;
}