finished auth page
This commit is contained in:
@ -2,103 +2,110 @@ import React from 'react';
|
||||
import style from './Auth.module.css';
|
||||
import ellipse from '../../images/ellipse.png';
|
||||
import arrow from '../../images/arrow__login_page.png';
|
||||
import male from '../../images/medium_male_big.png';
|
||||
import authImg from '../../images/auth_img.png';
|
||||
import cross from '../../images/cross.png';
|
||||
import specialists from '../../images/specialists.png';
|
||||
import text from '../../images/Body_Text.png';
|
||||
import align from '../../images/align-left.png';
|
||||
import phone from '../../images/phone.png';
|
||||
import telegram from '../../images/telegram.png';
|
||||
import vector from '../../images/Vector_Smart_Object.png';
|
||||
import vectorBlack from '../../images/Vector_Smart_Object_black.png';
|
||||
|
||||
const Auth = ({ setAuthed }) => {
|
||||
return (
|
||||
<section className={style.auth}>
|
||||
<div className="container">
|
||||
<div className="row">
|
||||
<div className="col-xl-6">
|
||||
<div className={style.auth__box}>
|
||||
<h2 className={style.auth__title}>
|
||||
Войти в <span>систему</span>
|
||||
</h2>
|
||||
<div className={style.auth__partners}>
|
||||
<img src={ellipse} alt="" />
|
||||
<span>Для партнеров</span>
|
||||
<div className={style.auth__background}>
|
||||
<img className={style.vector} src={vector} alt="" />
|
||||
<img className={style.vectorBlack} src={vectorBlack} alt="" />
|
||||
<div className="container">
|
||||
<div className="row">
|
||||
<div className="col-12 col-xl-6">
|
||||
<div className={style.auth__box}>
|
||||
<h2 className={style.auth__title}>
|
||||
Войти в <span>систему</span>
|
||||
</h2>
|
||||
<div className={style.auth__partners}>
|
||||
<img src={ellipse} alt="" />
|
||||
<span>Для партнеров</span>
|
||||
</div>
|
||||
<form className={style.auth__form}>
|
||||
<label htmlFor="login">Ваш логин:</label>
|
||||
<input id="login" type="text" placeholder="Логин" />
|
||||
|
||||
<label htmlFor="password">Пароль:</label>
|
||||
<input id="password" type="password" placeholder="Пароль" />
|
||||
|
||||
<button className={style.form__btn} type="submit" onClick={() => setAuthed(true)}>
|
||||
Войти
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
<form className={style.auth__form}>
|
||||
<label htmlFor="login">Ваш логин:</label>
|
||||
<input id="login" type="text" placeholder="Логин" />
|
||||
|
||||
<label htmlFor="password">Пароль:</label>
|
||||
<input id="password" type="password" placeholder="Пароль" />
|
||||
|
||||
<button className={style.form__btn} type="submit" onClick={() => setAuthed(true)}>
|
||||
Войти
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col-xl-2">
|
||||
<img className={style.auth__arrow} src={arrow} alt="" />
|
||||
</div>
|
||||
<div className="col-xl-4">
|
||||
<div className={style.auth__info}>
|
||||
<div className={style.auth__info__box}>
|
||||
<img src={male} alt="" />
|
||||
<h3>
|
||||
Frontend разработчик, <br /> Middle
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div className={style.auth__info__container}>
|
||||
<div className={style.auth__info__img}>
|
||||
<div>
|
||||
<img className="cross" src={cross} alt="" />
|
||||
</div>
|
||||
<div>
|
||||
<img className={style.specialists} src={specialists} alt="" />
|
||||
</div>
|
||||
<div className="col-xl-2">
|
||||
<img className={style.auth__arrow} src={arrow} alt="" />
|
||||
</div>
|
||||
<div className="col-12 col-xl-4">
|
||||
<div className={style.auth__info}>
|
||||
<div className={style.auth__info__box}>
|
||||
<img src={authImg} alt="" />
|
||||
<h3>
|
||||
Управление
|
||||
<br /> командой
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<ul className={style.info__list}>
|
||||
<li className={style.info__list__item}>Ruby on Rails</li>
|
||||
<li className={style.info__list__item}>Php</li>
|
||||
<li className={style.info__list__item}>Python</li>
|
||||
<li className={style.info__list__item}>Vue.js</li>
|
||||
<li className={style.info__list__item}>React. JS</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div className={style.auth__info__container}>
|
||||
<div className={style.auth__info__img}>
|
||||
<div>
|
||||
<img className="cross" src={cross} alt="" />
|
||||
</div>
|
||||
<div>
|
||||
<img className={style.specialists} src={specialists} alt="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<img className={style.img__text} src={text} alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul className={style.info__list}>
|
||||
<li className={style.info__list__item}>Рабочее пространство</li>
|
||||
<li className={style.info__list__item}>Управления задачами</li>
|
||||
{/* <li className={style.info__list__item}>Python</li>
|
||||
<li className={style.info__list__item}>Vue.js</li>
|
||||
<li className={style.info__list__item}>React. JS</li> */}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div className="row">
|
||||
<div className="col-xl-7">
|
||||
<div className={style.auth__footer__left}>
|
||||
<div className={style.footer__left__img}>
|
||||
<img src={align} alt="" />
|
||||
</div>
|
||||
<div className={style.footer__left__sp}>
|
||||
<span>
|
||||
© Адвего — биржа контента №1. Копирайтинг, рерайтинг, переводы, работа на дому: поставщик уникального
|
||||
контента. 2021{' '}
|
||||
</span>
|
||||
<img className={style.img__text} src={text} alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="col-xl-2">
|
||||
<div className={style.auth__footer__icon}>
|
||||
<img src={phone} alt="" />
|
||||
<img src={telegram} alt="" />
|
||||
<div className="row">
|
||||
<div className="col-12 col-xl-7">
|
||||
<div className={style.auth__footer__left}>
|
||||
<div className={style.footer__left__img}>
|
||||
<img src={align} alt="" />
|
||||
</div>
|
||||
<div className={style.footer__left__sp}>
|
||||
<span>
|
||||
© Адвего — биржа контента №1. Копирайтинг, рерайтинг, переводы, работа на дому: поставщик
|
||||
уникального контента. 2021{' '}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="col-xl-3">
|
||||
<div className={style.auth__footer__right}>
|
||||
<p className={style.phone}>+7 495 156 78 98</p>
|
||||
<p className={style.workingHours}>Будни с 9:00 до 21:00</p>
|
||||
<div className="col-4 col-xl-2">
|
||||
<div className={style.auth__footer__icon}>
|
||||
<img src={phone} alt="" />
|
||||
<img src={telegram} alt="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="col-8 col-xl-3">
|
||||
<div className={style.auth__footer__right}>
|
||||
<p className={style.phone}>+7 495 156 78 98</p>
|
||||
<p className={style.workingHours}>Будни с 9:00 до 21:00</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,8 +1,53 @@
|
||||
/* .auth {
|
||||
background-color: #f1f1f1;
|
||||
background: url(../../images/Vector_Smart_Object.png)-302px -720px no-repeat,
|
||||
url(../../images/Vector_Smart_Object_black.png) 1760px 480px no-repeat;
|
||||
} */
|
||||
|
||||
.auth {
|
||||
background-color: #f1f1f1;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.auth__background {
|
||||
background-color: #f1f1f1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.vector,
|
||||
.vectorBlack {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.vector {
|
||||
top: -720px;
|
||||
left: -320px;
|
||||
}
|
||||
|
||||
.vectorBlack {
|
||||
top: 460px;
|
||||
right: -224px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.vector,
|
||||
.vectorBlack {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-self: center;
|
||||
margin-bottom: 154px;
|
||||
margin-bottom: 194px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__box {
|
||||
margin-bottom: 44px;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__title {
|
||||
@ -13,7 +58,14 @@
|
||||
letter-spacing: normal;
|
||||
line-height: 77.81px;
|
||||
text-align: left;
|
||||
margin-top: 254px;
|
||||
margin-top: 164px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__title {
|
||||
text-align: center;
|
||||
margin-top: 44px;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__title > span {
|
||||
@ -69,7 +121,7 @@
|
||||
}
|
||||
|
||||
.auth__form > input {
|
||||
width: 366px;
|
||||
max-width: 366px;
|
||||
height: 75px;
|
||||
box-shadow: 0 0 59px rgba(44, 44, 44, 0.05);
|
||||
border-radius: 37px;
|
||||
@ -111,31 +163,69 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.form__btn {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__arrow {
|
||||
margin-top: 360px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__arrow {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__info {
|
||||
background-color: #e1fccf;
|
||||
margin-top: 140px;
|
||||
width: 310px;
|
||||
margin-top: 70px;
|
||||
max-width: 310px;
|
||||
padding-top: 30px;
|
||||
position: relative;
|
||||
padding-bottom: 160px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__info {
|
||||
max-width: 380px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 375.98px) {
|
||||
.auth__info {
|
||||
max-width: 340px;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__info__box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__info__box {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__info__box > img {
|
||||
width: 165px;
|
||||
height: 165px;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
margin-left: -84px;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__info__box > img {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__info__box > h3 {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 2em;
|
||||
@ -144,8 +234,12 @@
|
||||
letter-spacing: normal;
|
||||
line-height: 36px;
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
right: -14px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__info__box > h3 {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__info__container {
|
||||
@ -160,6 +254,12 @@
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__info__img {
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__info__img > div > img {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
@ -172,7 +272,14 @@
|
||||
list-style: none;
|
||||
margin-top: 110px;
|
||||
position: absolute;
|
||||
right: -116px;
|
||||
/* right: -116px; */
|
||||
left: 114px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.info__list {
|
||||
left: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
.info__list__item {
|
||||
@ -186,6 +293,14 @@
|
||||
text-align: left;
|
||||
text-decoration: underline;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 34px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.info__list__item {
|
||||
font-size: 2.6em;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.img__text {
|
||||
@ -194,16 +309,35 @@
|
||||
bottom: -84px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.img__text {
|
||||
right: -10px;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__footer__left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__footer__left {
|
||||
margin-top: 120px;
|
||||
}
|
||||
}
|
||||
|
||||
.footer__left__sp {
|
||||
padding: 0 100px 0 34px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.footer__left__sp {
|
||||
padding: 0;
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__footer__left > div > span {
|
||||
color: #18586e;
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
@ -215,6 +349,12 @@
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__footer__left > div > span {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__footer__icon {
|
||||
text-align: end;
|
||||
}
|
||||
@ -223,12 +363,23 @@
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__footer__icon > img {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.auth__footer__right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: left;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.auth__footer__right {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
.phone {
|
||||
color: #003b65;
|
||||
font-family: 'CeraPro';
|
||||
|
Reference in New Issue
Block a user