diff --git a/src/component/footer/Footer.js b/src/component/footer/Footer.js index 22eda2f..b4aa019 100644 --- a/src/component/footer/Footer.js +++ b/src/component/footer/Footer.js @@ -2,11 +2,6 @@ import React from 'react'; import { Link } from 'react-router-dom'; import './footer.css'; import logo from './img/logo1_1.png'; -import twitchImg from './img/twitch.png'; -import robloxImg from './img/roblax.png'; -import asusImg from './img/asus.png'; -import canonImg from './img/canon.png'; -import microsoftImg from './img/microsoft.png'; import { useSelector } from 'react-redux'; import { selectTranslations } from '../../slices/languageSlice'; @@ -14,6 +9,8 @@ const Footer = () => { const translations = useSelector(selectTranslations); return ( ); }; diff --git a/src/component/footer/footer.css b/src/component/footer/footer.css index f75d6d0..07ebf65 100644 --- a/src/component/footer/footer.css +++ b/src/component/footer/footer.css @@ -1,5 +1,5 @@ .footer { - padding-top: 6rem; + padding-top: 3rem; padding-bottom: 3rem; display: flex; flex-direction: column; @@ -67,14 +67,6 @@ text-transform: capitalize; } -.footer-partner { - margin-top: 2rem; - width: 100%; - display: flex; - flex-wrap: wrap; - align-items: center; - gap: 2rem; -} .footer-copyright { margin-top: 3rem; @@ -118,19 +110,21 @@ .footer-container { grid-template-columns: 3fr 2fr 2fr 2fr ; } - - } @media screen and (max-width: 992px){ + .footer { + padding-top: 1rem; + } .footer-container { grid-template-columns: 1fr 1fr 1fr; + gap: 1rem; } .footer-container .footer-logo { grid-column: auto / span 3; } - .footer-partner .img { - height: 3vw; + .footer-container .footer-logo > p { + margin-top: 0.5rem; } .footer-content > ul { margin-top: 1.6rem; diff --git a/src/component/header/header.css b/src/component/header/header.css index 172feca..68e9905 100644 --- a/src/component/header/header.css +++ b/src/component/header/header.css @@ -222,6 +222,7 @@ .header nav ul li { width: 100%; padding: 10px; + padding-left: 3rem; display: flex; justify-content: center; border: 2px solid black; @@ -230,7 +231,6 @@ } .header nav ul li a { display: flex; - margin-left: 3rem; width: 100%; color: #000; } @@ -253,6 +253,12 @@ } @media screen and (max-width: 576px) { + .header nav ul { + padding: 1.5rem; + } + .header nav ul li { + padding-left: 1.5rem; + } .language-btn { margin-right: 0; } @@ -269,6 +275,9 @@ } @media screen and (max-width: 360px) { + .header nav ul li { + padding-left: 1rem; + } .header-btns { gap: 10px; } diff --git a/src/locales/ru.json b/src/locales/ru.json index 864286e..f6d3401 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -40,11 +40,11 @@ }, "footer": { "paragraph1": "Платежные системы пока что работают только через Click evolution и Payme! Если сделка не будет завершена, деньги будут возвращены!", - "link1": "Продукция", + "link1": "Продажа UC", "help": "Помощь", "socialmedia": "Социальные сети", - "link2": "Приложение для телефона", - "link3": "О нас", + "link2": "Продажа аккаунтов", + "link3": "Объявления", "link4": "Связаться с нами", "link5": "Наши контакты", "link6": "Наш телеграм канал", diff --git a/src/locales/uz.json b/src/locales/uz.json index e794548..a3ccc37 100644 --- a/src/locales/uz.json +++ b/src/locales/uz.json @@ -40,16 +40,13 @@ }, "footer": { "paragraph1": "To'lov tizimlar hozircha faqat Click evolution va Payme orqali amalga oshiriladi! Agar savdo tuganlanmasa pul qaytarib beriladi!", - "link1": "Mahsulotlar", + "link1": "UC sotish", "help": "Yordam", "socialmedia": "Social Media", - "link2": "Telefonga application", - "link3": "Biz haqimizda", + "link2": "Akkount sotish", + "link3": "E'lonlar", "link4": "Biz bilan bog'lanish", - "link5": "Bizning kontactlar", "link6": "Telegram kanalimiz", - "link7": "youtube videolarimiz", - "link8": "Instagram accountimiz", "link9": "terms & conditions" }, "topgames": { diff --git a/src/pages/chat/chatFront/chatFront.css b/src/pages/chat/chatFront/chatFront.css index 7934a63..863838b 100644 --- a/src/pages/chat/chatFront/chatFront.css +++ b/src/pages/chat/chatFront/chatFront.css @@ -90,3 +90,10 @@ color: #d0dfe8; font-weight: bold; } + + +.no-chat { + padding: 1rem; + text-align: center; + font-family: monospace, sans-serif; +} \ No newline at end of file diff --git a/src/pages/chat/chatFront/chatFront.js b/src/pages/chat/chatFront/chatFront.js index 2dcf67a..47c407e 100644 --- a/src/pages/chat/chatFront/chatFront.js +++ b/src/pages/chat/chatFront/chatFront.js @@ -81,8 +81,13 @@ const FrontChat = () => { +
- {chatsArray.map((chat) => ( + + {chatsArray.length === 0 ? ( +

hozircha chat yaratilmagan

+ ) : + chatsArray.map((chat) => (
{ ) : null}
))} +
{selectedChatId && }