Fixed Auth

This commit is contained in:
MaxOvs19 2023-04-27 12:46:18 +03:00
parent 3fa9f636c1
commit 256e9cf0b7
4 changed files with 55 additions and 52 deletions

View File

@ -4,7 +4,7 @@ import { AuthBox } from "../../components/AuthBox/AuthBox";
import { useSelector } from "react-redux"; import { useSelector } from "react-redux";
import arrow from "../../images/arrow__login_page.png"; import arrow from "../../images/arrow__login_page.png";
import authImg from "../../images/auth_img.png"; import medium from "../../images/medium_male_big.png";
import cross from "../../images/cross.png"; import cross from "../../images/cross.png";
import text from "../../images/Body_Text.png"; import text from "../../images/Body_Text.png";
import arrowBtn from "../../images/arrowRight.png"; import arrowBtn from "../../images/arrowRight.png";
@ -78,10 +78,10 @@ const AuthForDevelopers = () => {
<div className="col-12 col-xl-4"> <div className="col-12 col-xl-4">
<div className="auth-developers__info"> <div className="auth-developers__info">
<div className="auth-developers__info-box"> <div className="auth-developers__info-box">
<img src={authImg} alt="" /> <img src={medium} alt="" />
<h3> <h3>
Управление Frontend разработчик,
<br /> командой <br /> Middle
</h3> </h3>
</div> </div>
@ -100,13 +100,12 @@ const AuthForDevelopers = () => {
<ul className="auth-developers__info-list"> <ul className="auth-developers__info-list">
<li className="auth-developers__info-item"> <li className="auth-developers__info-item">
Рабочее Ruby on Rails
<br />
пространство
</li>
<li className="auth-info__list-item">
Управление задачами
</li> </li>
<li className="auth-developers__info-item">PHP</li>
<li className="auth-developers__info-item">Python</li>
<li className="auth-developers__info-item">Vue.js</li>
<li className="auth-developers__info-item">React. JS</li>
</ul> </ul>
</div> </div>

View File

@ -35,7 +35,6 @@
display: none; display: none;
} }
} }
&__info { &__info {
background-color: #e1fccf; background-color: #e1fccf;
margin-top: 70px; margin-top: 70px;
@ -45,10 +44,20 @@
padding-bottom: 310px; padding-bottom: 310px;
} }
&__info-box {
display: flex;
align-items: center;
}
@media (max-width: 575.98px) { @media (max-width: 575.98px) {
&__info { &__info {
max-width: 380px; max-width: 380px;
} }
&__info-box {
flex-direction: column;
justify-content: center;
}
} }
@media (max-width: 375.98px) { @media (max-width: 375.98px) {
@ -57,21 +66,9 @@
} }
} }
&__info-box {
display: flex;
align-items: center;
}
@media (max-width: 575.98px) {
&__info-box {
flex-direction: column;
justify-content: center;
}
}
&__info-box > img { &__info-box > img {
width: 150px; width: 165px;
height: 150px; height: 165px;
margin-left: -84px; margin-left: -84px;
margin-right: 30px; margin-right: 30px;
} }
@ -132,7 +129,7 @@
list-style: none; list-style: none;
margin-top: 110px; margin-top: 110px;
position: absolute; position: absolute;
left: 34px; right: -70px;
} }
@media (max-width: 575.98px) { @media (max-width: 575.98px) {
@ -144,7 +141,7 @@
&__info-item { &__info-item {
color: #1f1f1f; color: #1f1f1f;
font-family: "GT Eesti Pro Display"; font-family: "GT Eesti Pro Display";
font-size: 2.6em; font-size: 4em;
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
letter-spacing: normal; letter-spacing: normal;
@ -152,13 +149,11 @@
text-align: left; text-align: left;
text-decoration: underline; text-decoration: underline;
text-transform: uppercase; text-transform: uppercase;
margin-bottom: 34px;
} }
@media (max-width: 575.98px) { @media (max-width: 575.98px) {
&__info-item { &__info-item {
font-size: 2.6em; font-size: 2.6em;
margin-bottom: 14px;
} }
} }
@ -174,6 +169,7 @@
bottom: -40px; bottom: -40px;
} }
} }
////////////////////////////////////
&__auth-link { &__auth-link {
display: block; display: block;

View File

@ -1,6 +1,6 @@
import React, { useEffect } from "react"; import React, { useEffect } from "react";
import arrow from "../../images/arrow__login_page.png"; import arrow from "../../images/arrow__login_page.png";
import medium from "../../images/medium_male_big.png"; import authImg from "../../images/auth_img.png";
import cross from "../../images/cross.png"; import cross from "../../images/cross.png";
import text from "../../images/Body_Text.png"; import text from "../../images/Body_Text.png";
import arrowBtn from "../../images/arrowRight.png"; import arrowBtn from "../../images/arrowRight.png";
@ -71,13 +71,14 @@ const AuthForPartners = () => {
<div className="col-xl-2"> <div className="col-xl-2">
<img className="auth-partners__arrow" src={arrow} alt="" /> <img className="auth-partners__arrow" src={arrow} alt="" />
</div> </div>
<div className="col-12 col-xl-4"> <div className="col-12 col-xl-4">
<div className="auth-partners__info"> <div className="auth-partners__info">
<div className="auth-partners__info-box"> <div className="auth-partners__info-box">
<img src={medium} alt="" /> <img src={authImg} alt="" />
<h3> <h3>
Frontend разработчик, Управление
<br /> Middle <br /> командой
</h3> </h3>
</div> </div>
@ -95,11 +96,14 @@ const AuthForPartners = () => {
</div> </div>
<ul className="auth-partners__info-list"> <ul className="auth-partners__info-list">
<li className="auth-partners__info-item">Ruby on Rails</li> <li className="auth-partners__info-item">
<li className="auth-partners__info-item">PHP</li> Рабочее
<li className="auth-partners__info-item">Python</li> <br />
<li className="auth-partners__info-item">Vue.js</li> пространство
<li className="auth-partners__info-item">React. JS</li> </li>
<li className="auth-info__list-item">
Управление задачами
</li>
</ul> </ul>
</div> </div>

View File

@ -45,20 +45,10 @@
padding-bottom: 310px; padding-bottom: 310px;
} }
&__info-box {
display: flex;
align-items: center;
}
@media (max-width: 575.98px) { @media (max-width: 575.98px) {
&__info { &__info {
max-width: 380px; max-width: 380px;
} }
&__info-box {
flex-direction: column;
justify-content: center;
}
} }
@media (max-width: 375.98px) { @media (max-width: 375.98px) {
@ -67,9 +57,21 @@
} }
} }
&__info-box {
display: flex;
align-items: center;
}
@media (max-width: 575.98px) {
&__info-box {
flex-direction: column;
justify-content: center;
}
}
&__info-box > img { &__info-box > img {
width: 165px; width: 150px;
height: 165px; height: 150px;
margin-left: -84px; margin-left: -84px;
margin-right: 30px; margin-right: 30px;
} }
@ -130,7 +132,7 @@
list-style: none; list-style: none;
margin-top: 110px; margin-top: 110px;
position: absolute; position: absolute;
right: -70px; left: 34px;
} }
@media (max-width: 575.98px) { @media (max-width: 575.98px) {
@ -142,7 +144,7 @@
&__info-item { &__info-item {
color: #1f1f1f; color: #1f1f1f;
font-family: "GT Eesti Pro Display"; font-family: "GT Eesti Pro Display";
font-size: 4em; font-size: 2.6em;
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
letter-spacing: normal; letter-spacing: normal;
@ -150,11 +152,13 @@
text-align: left; text-align: left;
text-decoration: underline; text-decoration: underline;
text-transform: uppercase; text-transform: uppercase;
margin-bottom: 34px;
} }
@media (max-width: 575.98px) { @media (max-width: 575.98px) {
&__info-item { &__info-item {
font-size: 2.6em; font-size: 2.6em;
margin-bottom: 14px;
} }
} }