адаптирован футер, пофикшено растягивание картинки на фоне
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ function App() {
|
|||||||
return (
|
return (
|
||||||
<div className="App">
|
<div className="App">
|
||||||
<MainPart />
|
<MainPart />
|
||||||
{/* <Footer /> */}
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,19 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer-content-contacts-first-container {
|
||||||
|
flex: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-content-contacts-second-container {
|
||||||
|
flex: 3;
|
||||||
|
display: flex;
|
||||||
|
gap: 60px;
|
||||||
|
/* width: 100%; */
|
||||||
|
/* justify-content: space-between; */
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
.contact-header {
|
.contact-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -56,7 +69,7 @@
|
|||||||
|
|
||||||
.contact-container {
|
.contact-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 255px;
|
min-width: 230px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 25px;
|
gap: 25px;
|
||||||
@@ -68,17 +81,23 @@
|
|||||||
gap: 12px;
|
gap: 12px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
line-height: 130%;
|
line-height: 130%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact-data-row {
|
.contact-data-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
gap: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact-data-value-container {
|
.contact-data-value-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-start;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
/* flex-shrink: 0; */
|
||||||
|
/* min-width: 160px; */
|
||||||
|
/* flex-shrink: 0; */
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1280px) {
|
@media screen and (max-width: 1280px) {
|
||||||
@@ -93,4 +112,89 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 40px;
|
gap: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer-content-container {
|
||||||
|
gap: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-content-contacts {
|
||||||
|
gap: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1024px) {
|
||||||
|
.footer-container {
|
||||||
|
padding: 80px 20px 70px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-content-container {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 60px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-content-contacts {
|
||||||
|
flex-direction: column;
|
||||||
|
/* justify-content: space-between; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-data-row {
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-data-value-container {
|
||||||
|
width: 100%;
|
||||||
|
flex-shrink: 1;
|
||||||
|
/* min-width: 160px; */
|
||||||
|
/* flex-shrink: 0; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-content-contacts-second-container {
|
||||||
|
gap: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 640px) {
|
||||||
|
.footer-container {
|
||||||
|
padding: 40px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-content-logo {
|
||||||
|
width: 40px;
|
||||||
|
height: 65px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-content-container {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 40px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-content-contacts {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-data-row {
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-content-contacts-second-container {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-header-title {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-data-container {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -8,29 +8,33 @@ export const Footer:React.FC = React.memo(() => {
|
|||||||
<div className="footer-content-container">
|
<div className="footer-content-container">
|
||||||
<img className="footer-content-logo" alt="logo" src={whiteLogo}></img>
|
<img className="footer-content-logo" alt="logo" src={whiteLogo}></img>
|
||||||
<div className="footer-content-contacts">
|
<div className="footer-content-contacts">
|
||||||
<ContactContainer
|
<div className="footer-content-contacts-first-container">
|
||||||
title="Контакты"
|
<ContactContainer
|
||||||
href="graff.tech"
|
title="Контакты"
|
||||||
pairData={[
|
href="graff.tech"
|
||||||
{value1: 'Россия', value2: 'ОАЭ'},
|
pairData={[
|
||||||
{value1: 'info@graff.tech', value2: 'waseem@graff.tech'},
|
{value1: 'Россия', value2: 'ОАЭ'},
|
||||||
{value1: '+7 800 770 00 67', value2: '+971 50 983 8902'}
|
{value1: 'info@graff.tech', value2: 'waseem@graff.tech'},
|
||||||
]}
|
{value1: '+7 800 770 00 67', value2: '+971 50 983 8902'}
|
||||||
/>
|
]}
|
||||||
<ContactContainer
|
/>
|
||||||
title="Соцсети"
|
</div>
|
||||||
pairData={[
|
<div className="footer-content-contacts-second-container">
|
||||||
{value1: 'Facebook', value2: 'Instagram'},
|
<ContactContainer
|
||||||
{value1: 'YouTube', value2: 'VK'}
|
title="Соцсети"
|
||||||
]}
|
pairData={[
|
||||||
/>
|
{value1: 'Facebook', value2: 'Instagram'},
|
||||||
<ContactContainer
|
{value1: 'YouTube', value2: 'VK'}
|
||||||
title="Адрес"
|
]}
|
||||||
pairData={[
|
/>
|
||||||
{value1: 'ул. Московская, 47,'},
|
<ContactContainer
|
||||||
{value1: 'Екатеринбург, Россия'}
|
title="Адрес"
|
||||||
]}
|
pairData={[
|
||||||
/>
|
{value1: 'ул. Московская, 47,'},
|
||||||
|
{value1: 'Екатеринбург, Россия'}
|
||||||
|
]}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -18,7 +18,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: url('backgroundImage.svg') 50% 50% no-repeat;
|
background: url('backgroundImage.svg') 50% 50% no-repeat;
|
||||||
background-size: 100% 100%;
|
/* background-size: 100% 100%; */
|
||||||
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-part-header {
|
.main-part-header {
|
||||||
|
|||||||
Reference in New Issue
Block a user