сверстана первая страница, доабавлен футер

This commit is contained in:
DmitriyB
2022-07-25 15:02:40 +05:30
parent f0686d3790
commit 6f799e8463
8 changed files with 211 additions and 0 deletions
@@ -0,0 +1,13 @@
import React from "react";
type TProps = {
title: string
href?: string
pairData: Array<{value1: string, value2: string}>
}
export const ContactContainer:React.FC<TProps> = React.memo((props) => {
return <div className="contact-container">
</div>
})
+8
View File
@@ -0,0 +1,8 @@
.footer-container {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #1E1630;
}
+12
View File
@@ -0,0 +1,12 @@
import React from "react";
import './footer.css';
import whiteLogo from './logoWhiteIcon.svg';
export const Footer:React.FC = React.memo(() => {
return <div className="footer-container">
<div className="footer-content-container">
<img className="footer-content-logo" alt="logo" src={whiteLogo}></img>
</div>
</div>
})
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 MiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

+106
View File
@@ -0,0 +1,106 @@
.main-part-container {
position: relative;
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
color: #FFFFFF;
padding: 50px 200px 16px 200px;
box-sizing: border-box;
}
.background-image {
z-index: -1;
top: 0;
left: 0;
position: absolute;
width: 100%;
height: 100%;
background: url('backgroundImage.svg') 50% 50% no-repeat;
background-size: auto 100%;
}
.main-part-header {
box-sizing: border-box;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.main-part-header-logo {
width: 53px;
height: 85px;
}
.main-part-header-lang {
font-weight: 400;
font-size: 18px;
line-height: 22px;
width: 90px;
display: flex;
justify-content: space-between;
gap: 8px;
}
.main-part-header-lang {
display: flex;
justify-content: center;
align-items: center;
border-radius: 4px;
}
.main-part-header-lang.ru {
background-color: #CE56C2;
}
.main-part-text-container {
width: 800px;
display: flex;
flex-direction: column;
gap: 40px;
}
.main-part-text-title {
font-weight: 700;
font-size: 56px;
line-height: 100%;
max-width: 570px;
}
.main-part-text-descript {
font-weight: 400;
font-size: 18px;
line-height: 130%;
max-width: 450px;
}
.main-part-text-button {
width: 320px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
font-weight: 700;
font-size: 17px;
line-height: 21px;
background: #CE56C2;
border-radius: 8px;
border: none;
color: #FFFFFF;
}
.main-part-footer-container {
font-weight: 500;
font-size: 14px;
line-height: 130%;
color: #F2F2F2;
display: flex;
flex-direction: column;
position: relative;
}
.main-part-footer-text::before {
content: '*';
}
+34
View File
@@ -0,0 +1,34 @@
import React from "react";
import './mainPart.css';
import whiteLogo from './logoWhiteIcon.svg';
export const MainPart: React.FC = React.memo(() => {
return <div className="main-part-container">
<div className="background-image"></div>
<div className="main-part-header">
<img className="main-part-header-logo" alt="logo" src={whiteLogo} />
<div className="main-part-header-lang">
<span className="main-part-header-lang en">EN</span>
<span className="main-part-header-lang-slash">/</span>
<span className="main-part-header-lang ru">RU</span>
</div>
</div>
<div className="main-part-text-container">
<span className="main-part-text-title">
Удаленная демонстрация жилого комплекса
</span>
<span className="main-part-text-descript">
Основанная на стриминге технология удаленной демонстрации позволяет познакомиться с жилым комплексом, не посещая офис продаж.
</span>
<button className="main-part-text-button">Начать демонстрацию</button>
</div>
<div className="main-part-footer-container">
<span className="main-part-footer-text">
Данная технология находится на стадии разработки. Если подключиться к демонстрации не удалось, свяжитесь с нами.
</span>
<span className="main-part-footer-number">
+7 800 770 00 67 (Россия) / +971 50 983 8902 (ОАЭ)
</span>
</div>
</div>
})