diff --git a/src/components/footer/footer.css b/src/components/footer/footer.css index cfb5d45..a93aee4 100644 --- a/src/components/footer/footer.css +++ b/src/components/footer/footer.css @@ -10,6 +10,7 @@ box-sizing: border-box; background-color: transparent; background: #1C1D21; + padding: 120px 128px; border-radius: 32px 32px 0px 0px; color: #EBEBEB; display: -webkit-box; @@ -30,7 +31,6 @@ display: -webkit-box; display: -ms-flexbox; display: flex; - padding: 0 120px; gap: 186px; -webkit-box-pack: justify; -ms-flex-pack: justify; @@ -438,6 +438,11 @@ @media screen and (max-width: 1060px) { + .footer__container { + padding: 64px 20px 36px; + + } + .footer__main-block { display: -webkit-box; display: -ms-flexbox; diff --git a/src/components/footer/footer.tsx b/src/components/footer/footer.tsx index 02df5cd..574ebe8 100644 --- a/src/components/footer/footer.tsx +++ b/src/components/footer/footer.tsx @@ -4,11 +4,12 @@ import write from './send.svg' import phone from './phone.svg' import iconButton from "../../styles/iconButton.svg" import "../../styles/styles.css" +import { useTranslation } from 'react-i18next' export const Footer: React.FC = ({ text, language }) => { const userLanguage = language === 'RU'; - const { cardLarge, cardLarge1, cardSmall, cardSmall1, copyright } = text + const { t } = useTranslation() return (
@@ -19,7 +20,7 @@ export const Footer: React.FC = ({ text, language }) => {

stream.

-

{text.social}

+

{t('footer-social')}

Facebook YouTube @@ -29,9 +30,9 @@ export const Footer: React.FC = ({ text, language }) => {
logo
-

{copyright.caption}

+

{t('copyright-caption')}

- {copyright.caption1} + {t('copyright-caption1')}

@@ -44,10 +45,10 @@ export const Footer: React.FC = ({ text, language }) => {

+7 800 770 00 76

-

{cardLarge.address}

-

{cardLarge.city}

+

{t('footer-ru-addres')}

+

{t('footer-ru-city')}

-

{cardLarge.country}

+

{t('footer-ru-country')}

@@ -58,7 +59,7 @@ export const Footer: React.FC = ({ text, language }) => {
icon -

{cardSmall.caption}

+

{t('card1-caption')}

@@ -70,9 +71,9 @@ export const Footer: React.FC = ({ text, language }) => {

+971 50 938 8902

-

{cardLarge1.address}

+

{t('footer-uae-address')}

-

{cardLarge1.country}

+

{t('footer-uae-country')}

@@ -83,7 +84,7 @@ export const Footer: React.FC = ({ text, language }) => {
icon -

{cardSmall1.caption}

+

{t('card2-caption')}

@@ -99,7 +100,7 @@ export const Footer: React.FC = ({ text, language }) => {
icon -

{cardSmall.caption}

+

{t('card1-caption')}

@@ -112,7 +113,7 @@ export const Footer: React.FC = ({ text, language }) => {
icon -

{cardSmall1.caption}

+

{t('card2-caption')}

@@ -122,10 +123,10 @@ export const Footer: React.FC = ({ text, language }) => {

+7 800 770 00 76

-

{cardLarge.address}

-

{cardLarge.city}

+

{t('footer-ru-addres')}

+

{t('footer-ru-city')}

-

{cardLarge.country}

+

{t('footer-ru-country')}

@@ -133,9 +134,9 @@ export const Footer: React.FC = ({ text, language }) => {

+971 50 938 8902

-

{cardLarge1.address}

+

{t('footer-uae-address')}

-

{cardLarge1.country}

+

{t('footer-uae-country')}

@@ -143,9 +144,10 @@ export const Footer: React.FC = ({ text, language }) => {
logo
- {copyright.caption} + {t('copyright-caption')} +

- {copyright.caption1} + {t('copyright-caption1')}

diff --git a/src/components/header/header.tsx b/src/components/header/header.tsx index c0878e8..6691f35 100644 --- a/src/components/header/header.tsx +++ b/src/components/header/header.tsx @@ -1,4 +1,4 @@ -import "./Header.css"; +import "./header.css"; import logo from "./logoIcon.svg"; import ru from './RU.svg' diff --git a/src/index.css b/src/index.css index 68e1417..faedc0c 100644 --- a/src/index.css +++ b/src/index.css @@ -5,7 +5,7 @@ @import url(./components/cloudSolution/cloudSolution.css); @import url(./components/devices/devices.css); @import url(./components/form/form.css); -@import url(./components/header/Header.css); +@import url(./components/header/header.css); @import url(./components/multiplayer/multiplayer.css); @import url(./components/player/player.css); @import url(./components/sliderComponent/sliderComponent.css);