Dev #12

Merged
redrockjs merged 4 commits from dev into main 2025-06-06 12:15:01 +00:00
9 changed files with 344 additions and 59 deletions
Showing only changes of commit dd452a950d - Show all commits

View File

@@ -20,7 +20,7 @@
font-family: $font-open-sans; font-family: $font-open-sans;
font-weight: $font-regular; font-weight: $font-regular;
font-size: rem(24px); font-size: rem(18px);
line-height: 100%; line-height: 100%;
color: $color-text; color: $color-text;
@@ -29,6 +29,19 @@
width: 100%; width: 100%;
flex-grow: 1; flex-grow: 1;
@include iftablet{
font-size: rem(18px);
}
@include iflaptop{
font-size: rem(20px);
padding: rem(10px) rem(20px);
}
@include ifdesktop{
font-size: rem(24px);
}
/* scrollbar */ /* scrollbar */
& { & {
/* Arrow mouse cursor over the scrollbar */ /* Arrow mouse cursor over the scrollbar */

View File

@@ -1,21 +1,62 @@
.Contacts { .Container {
position: relative;
z-index: 2;
background: $color-lightgray; background: $color-lightgray;
border-radius: rem(28px); border-radius: rem(28px);
padding: rem(160px) 0; padding: rem(32px) 0 0;
@include iftablet {
padding: rem(60px) 0 rem(40px);
}
@include iflaptop {
padding: rem(60px) 0 rem(60px);
}
@include ifdesktop {
padding: rem(160px) 0;
}
} }
.InnerContainer { .Contacts {
margin: 0 auto; margin: 0 auto;
width: rem(1340px);
@include iftablet {
width: rem(712px);
}
@include iflaptop {
width: rem(930px);
}
@include ifdesktop {
width: rem(1340px);
}
} }
.Header { .Header {
font-family: $font-open-sans; font-family: $font-open-sans;
font-weight: $font-semi-bold; font-weight: $font-semi-bold;
font-size: rem(60px); font-size: rem(26px);
line-height: 100%; line-height: 100%;
color: $color-text; color: $color-text;
margin-bottom: rem(80px); margin-bottom: rem(40px);
padding: 0 rem(20px);
@include iftablet {
font-size: rem(28px);
padding: unset;
}
@include iflaptop {
font-size: rem(36px);
margin-bottom: rem(60px);
}
@include ifdesktop {
font-size: rem(60px);
margin-bottom: rem(80px);
}
} }
.Clients { .Clients {
@@ -26,8 +67,25 @@
justify-content: space-around; justify-content: space-around;
align-items: center; align-items: center;
gap: rem(40px); gap: rem(40px);
max-width: rem(1200px); padding: 0 0 rem(32px);
margin-bottom: rem(160px);
@include iftablet {
gap: rem(40px);
max-width: rem(1200px);
margin-bottom: rem(160px);
}
@include iflaptop {
gap: rem(40px);
max-width: rem(1200px);
margin-bottom: rem(160px);
}
@include ifdesktop {
gap: rem(40px);
max-width: rem(1200px);
margin-bottom: rem(160px);
}
.Client { .Client {
@@ -42,13 +100,33 @@
position: relative; position: relative;
background: #292E3D; background: #292E3D;
display: flex; display: flex;
flex-direction: row; flex-direction: column;
gap: rem(40px);
overflow: hidden;
padding: rem(60px) rem(50px); padding: rem(60px) rem(50px);
border-radius: rem(28px); border-radius: rem(28px);
overflow: hidden;
margin-bottom: rem(80px); margin-bottom: rem(80px);
@include iftablet {
flex-direction: row;
gap: unset;
padding: rem(60px) rem(50px);
border-radius: rem(28px);
margin-bottom: rem(120px);
}
@include iflaptop {
padding: rem(60px) rem(50px);
border-radius: rem(28px);
margin-bottom: rem(100px);
}
@include ifdesktop {
padding: rem(60px) rem(50px);
border-radius: rem(28px);
margin-bottom: rem(160px);
}
&:after { &:after {
content: ''; content: '';
display: block; display: block;
@@ -78,10 +156,25 @@
z-index: 2; z-index: 2;
font-family: $font-open-sans; font-family: $font-open-sans;
font-weight: $font-semi-bold; font-weight: $font-semi-bold;
font-size: rem(48px); font-size: rem(26px);
line-height: 100%; line-height: 100%;
color: $color-white; color: $color-white;
margin-bottom: rem(80px); margin-bottom: rem(16px);
@include iftablet {
font-size: rem(28px);
margin-bottom: rem(60px);
}
@include iflaptop {
font-size: rem(36px);
margin-bottom: rem(80px);
}
@include ifdesktop {
font-size: rem(48px);
margin-bottom: rem(80px);
}
} }
.SubTitle { .SubTitle {
@@ -89,10 +182,22 @@
z-index: 2; z-index: 2;
font-family: $font-open-sans; font-family: $font-open-sans;
font-weight: $font-light; font-weight: $font-light;
font-size: rem(32px); font-size: rem(16px);
line-height: 100%; line-height: 100%;
color: $color-white; color: $color-white;
max-width: rem(720px);
@include iftablet {
font-size: rem(18px);
}
@include iflaptop {
font-size: rem(20px);
}
@include ifdesktop {
font-size: rem(32px);
max-width: rem(720px);
}
} }
} }
@@ -103,7 +208,12 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-self: center;
gap: rem(20px); gap: rem(20px);
@include iftablet {
align-self: unset;
}
} }
} }
@@ -112,38 +222,109 @@
iframe { iframe {
border-radius: rem(28px); border-radius: rem(28px);
width: 100%;
height: rem(820px);
@include iftablet {
height: rem(300px);
}
@include iflaptop {
height: rem(400px);
}
@include ifdesktop {
height: rem(620px);
}
} }
.Contacts { .Contacts {
position: absolute; position: absolute;
z-index: 2; z-index: 2;
top: rem(-40px);
right: rem(180px);
border-radius: rem(28px);
background: $color-white;
width: rem(440px);
padding: rem(40px) rem(35px) rem(20px);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
align-items: flex-start; align-items: flex-start;
background: $color-white;
bottom: 0;
border-radius: rem(28px);
width: 100%;
height: fit-content;
padding: rem(40px) rem(35px) rem(20px);
@include iftablet {
top: rem(-60px);
right: rem(60px);
border-radius: rem(28px);
width: rem(240px);
padding: rem(20px) rem(20px) rem(10px);
}
@include iflaptop {
top: rem(-30px);
right: rem(100px);
border-radius: rem(28px);
width: rem(260px);
padding: rem(40px) rem(20px) rem(20px);
}
@include ifdesktop {
top: rem(-40px);
right: rem(180px);
border-radius: rem(28px);
width: rem(440px);
padding: rem(40px) rem(35px) rem(40px);
}
.Title { .Title {
position: relative; position: relative;
font-family: $font-open-sans; font-family: $font-open-sans;
font-weight: $font-semi-bold; font-weight: $font-semi-bold;
font-size: rem(48px); font-size: rem(28px);
line-height: 100%; line-height: 100%;
color: $color-text; color: $color-text;
text-align: right; text-align: right;
margin-bottom: rem(32px); margin-bottom: rem(20px);
align-self: center; align-self: center;
@include iftablet {
font-size: rem(28px);
align-self: center;
margin-bottom: rem(40px);
}
@include iflaptop {
font-size: rem(32px);
}
@include ifdesktop {
font-size: rem(48px);
margin-bottom: rem(32px);
}
.LedOn { .LedOn {
position: absolute; position: absolute;
bottom: rem(6px); bottom: -2px;
left: rem(6px); left: 0;
width: rem(20px);
@include iftablet {
bottom: -1px;
width: rem(20px);
}
@include iflaptop {
bottom: 1px;
left: 1px;
width: rem(24px);
}
@include ifdesktop {
bottom: rem(6px);
left: rem(6px);
width: unset;
}
} }
} }
@@ -151,19 +332,51 @@
position: relative; position: relative;
font-family: $font-open-sans; font-family: $font-open-sans;
font-weight: $font-regular; font-weight: $font-regular;
font-size: rem(32px); font-size: rem(16px);
line-height: 130%; line-height: 130%;
color: $color-text; color: $color-text;
margin-bottom: rem(20px); padding-bottom: rem(20px);
margin-left: rem(32px); margin: 0 auto;
width: rem(180px);
@include iftablet {
width: unset;
margin: unset;
margin-left: rem(32px);
margin-bottom: rem(20px);
padding-bottom: unset;
}
@include iflaptop {
}
@include ifdesktop {
font-size: rem(32px);
margin-bottom: rem(20px);
margin-left: rem(42px);
}
.Icon { .Icon {
position: absolute; position: absolute;
left: rem(-48px); top: 0;
top: rem(8px); left: rem(-32px);
width: rem(32px); width: rem(20px);
height: rem(32px); height: rem(20px);
stroke: #E96526; stroke: #E96526;
@include iftablet {
left: rem(-36px);
width: rem(20px);
height: rem(20px);
}
@include ifdesktop {
top: rem(6px);
left: rem(-48px);
width: rem(32px);
height: rem(32px);
}
} }
} }
} }

View File

@@ -15,8 +15,8 @@ import email from '@public/svg/email.svg';
export default function Contacts() { export default function Contacts() {
return ( return (
<section className={s.Contacts}> <section className={s.Container}>
<div className={s.InnerContainer}> <div className={s.Contacts}>
<h2 className={s.Header}> <h2 className={s.Header}>
Клиенты, которые <Mark>нам доверяют</Mark> Клиенты, которые <Mark>нам доверяют</Mark>
</h2> </h2>
@@ -57,8 +57,8 @@ export default function Contacts() {
<div className={s.Map}> <div className={s.Map}>
<iframe <iframe
src='https://yandex.ru/map-widget/v1/?um=constructor%3A7f1285c4f3e470bc9affa220323655ac72edd1be376c2579d421ca359ac46a7d&amp;source=constructor' src='https://yandex.ru/map-widget/v1/?um=constructor%3A7f1285c4f3e470bc9affa220323655ac72edd1be376c2579d421ca359ac46a7d&amp;source=constructor'
width='100%' // width='100%'
height='620' // height='620'
frameBorder='0' frameBorder='0'
></iframe> ></iframe>

View File

@@ -1,26 +1,64 @@
.Footer { .Container {
position: relative; position: relative;
background-color: #1B1B25; background-color: #1B1B25;
padding: rem(120px) 0 rem(40px); padding: rem(120px) 0 rem(40px);
margin-top: rem(-24px); margin-top: rem(-24px);
z-index: -1;
@include iftablet {
padding: rem(120px) 0 rem(40px);
}
@include iflaptop {
padding: rem(120px) 0 rem(40px);
}
@include ifdesktop {
padding: rem(120px) 0 rem(40px);
}
} }
.InnerContainer { .Footer {
position: relative;
margin: 0 auto; margin: 0 auto;
width: rem(1340px); width: 90vw;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
align-items: flex-start; align-items: flex-start;
gap: rem(20px); gap: rem(20px);
@include iftablet {
margin: 0 auto;
width: rem(712px);
}
@include iflaptop {
width: rem(930px);
}
@include ifdesktop {
width: rem(1340px);
}
} }
.Block { .Block {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: rem(20px); gap: rem(20px);
max-width: 40vw; width: 100%;
@include iftablet {
width: unset;
max-width: 100%;
}
@include iflaptop {
max-width: 60%;
}
@include ifdesktop {
max-width: 60%;
}
} }
.SendBtn { .SendBtn {
@@ -31,20 +69,38 @@
.Header { .Header {
font-family: $font-open-sans; font-family: $font-open-sans;
font-weight: $font-semi-bold; font-weight: $font-semi-bold;
font-size: rem(60px); font-size: rem(28px);
line-height: 100%; line-height: 100%;
color: $color-white; color: $color-white;
margin-bottom: rem(40px); margin-bottom: rem(30px);
@include iflaptop {
font-size: rem(42px);
margin-bottom: rem(30px);
}
@include ifdesktop {
font-size: rem(60px);
margin-bottom: rem(40px);
}
} }
.Bottom { .Bottom {
width: 100%; width: 100%;
height: rem(80px);
border-top: 1px solid $color-white; border-top: 1px solid $color-white;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
gap: rem(20px); gap: rem(20px);
flex-wrap: wrap;
padding-top: rem(20px);
@include iftablet {
height: rem(80px);
gap: rem(20px);
flex-wrap: nowrap;
padding-top: unset;
}
.Policy { .Policy {
font-family: $font-open-sans; font-family: $font-open-sans;
@@ -52,6 +108,9 @@
font-size: rem(16px); font-size: rem(16px);
line-height: 100%; line-height: 100%;
color: $color-white; color: $color-white;
margin-left: auto;
@include iftablet {
margin-left: auto;
}
} }
} }

View File

@@ -4,8 +4,8 @@ import Link from 'next/link';
export default function Footer() { export default function Footer() {
return ( return (
<section className={s.Footer}> <section className={s.Container}>
<div className={s.InnerContainer}> <div className={s.Footer}>
<div className={s.Block}> <div className={s.Block}>
<h2 className={s.Header}> <h2 className={s.Header}>
Давайте <Mark>обсудим</Mark> ваши задачи Давайте <Mark>обсудим</Mark> ваши задачи

View File

@@ -2,8 +2,8 @@ import Main from './main/main';
import Offer from './offer/offer'; import Offer from './offer/offer';
import Result from './result/result'; import Result from './result/result';
import License from './license/license'; import License from './license/license';
// import Contacts from './contacts/contacts'; import Contacts from './contacts/contacts';
// import Footer from './footer/footer'; import Footer from './footer/footer';
export default function HomePage() { export default function HomePage() {
return ( return (
@@ -12,8 +12,8 @@ export default function HomePage() {
<Offer /> <Offer />
<Result /> <Result />
<License /> <License />
{/*<Contacts />*/} <Contacts />
{/*<Footer />*/} <Footer />
</> </>
); );
} }

View File

@@ -1,6 +1,6 @@
.License { .License {
margin: 0 auto; margin: 0 auto;
padding: rem(32px) 0 0; padding: rem(32px) 0 rem(32px);
@include iftablet { @include iftablet {
margin: 0 auto; margin: 0 auto;

View File

@@ -1,4 +1,4 @@
.Offer { .Container {
background: $color-lightgray; background: $color-lightgray;
border-radius: rem(28px); border-radius: rem(28px);
padding: rem(32px) 0 0; padding: rem(32px) 0 0;
@@ -16,7 +16,7 @@
} }
} }
.InnerContainer { .Offer {
margin: 0 auto; margin: 0 auto;
@include iftablet { @include iftablet {

View File

@@ -18,8 +18,8 @@ export default function Offer() {
const [name, setName] = useState(''); const [name, setName] = useState('');
return ( return (
<section className={s.Offer}> <section className={s.Container}>
<div className={s.InnerContainer}> <div className={s.Offer}>
<div className={s.Top}> <div className={s.Top}>
<h2 className={s.Header}> <h2 className={s.Header}>
Помогаем <Mark> выявить недостатки </Mark> и <Mark>привести</Mark>{' '} Помогаем <Mark> выявить недостатки </Mark> и <Mark>привести</Mark>{' '}
@@ -59,7 +59,7 @@ export default function Offer() {
onChange={(e) => setName(e.target.value)} onChange={(e) => setName(e.target.value)}
/> />
<Button className={s.Unit} variant='orange'> <Button className={s.Unit} variant='orange'>
Узнать подробности Получить консультацию
</Button> </Button>
</form> </form>