Skip to content

Commit

Permalink
new styles
Browse files Browse the repository at this point in the history
13.03.2024
  • Loading branch information
Kirill8805 authored Mar 13, 2024
1 parent a8358d5 commit c499ca5
Show file tree
Hide file tree
Showing 34 changed files with 20,965 additions and 20,484 deletions.
Binary file added .DS_Store
Binary file not shown.
37,066 changes: 18,533 additions & 18,533 deletions package-lock.json

Large diffs are not rendered by default.

96 changes: 48 additions & 48 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
{
"name": "project",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"i18next": "^23.10.1",
"i18next-browser-languagedetector": "^7.2.0",
"i18next-http-backend": "^2.5.0",
"react": "^18.2.0",
"react-dom": "18.2.0",
"react-i18next": "^14.1.0",
"react-icons": "^5.0.1",
"react-router": "6.0.0",
"react-router-dom": "^6.22.3",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"tailwindcss": "^3.4.1"
}
}
{
"name": "project",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"i18next": "^23.10.1",
"i18next-browser-languagedetector": "^7.2.0",
"i18next-http-backend": "^2.5.0",
"react": "^18.2.0",
"react-dom": "18.2.0",
"react-i18next": "^14.1.0",
"react-icons": "^5.0.1",
"react-router": "6.0.0",
"react-router-dom": "^6.22.3",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"tailwindcss": "^3.4.1"
}
}
38 changes: 19 additions & 19 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href=".././src//app/img/logo.webp" />
<link rel="icon" href="./logo.webp" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<link rel="apple-touch-icon" href="./logo.webp" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>Halyk Tumar</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>

</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href=".././src//app/img/logo.webp" />
<link rel="icon" href="./logo.webp" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<link rel="apple-touch-icon" href="./logo.webp" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>Halyk Tumar</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>

</body>
</html>
96 changes: 48 additions & 48 deletions public/locales/kz/translation.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
{
"Ribbon": "Таспа",
"All": "Барлық",
"Search": "Іздеу",
"Raw": "Шикі",
"In progress": "Жұмыста",
"Done": "Дайын",
"Under review": "Қаралуда",
"Add a request": "Сұраныс қосыңыз",
"Appeal image": "Апелляциялық сурет",
"Select an image...": "Кескінді таңдаңыз...",
"Add more photos/videos": "Қосымша фотосуреттер/бейнелер қосыңыз",
"Mandatory": "Міндетті",
"Brief title of the request": "Сұраныстың қысқаша атауы",
"Type of appeal": "Апелляция түрі",
"Choose something": "Бір нәрсені таңдаңыз",
"Description of the request": "Сұраныс сипаттамасы",
"Address": "Мекенжай",
"Enter address": "Мекенжайды енгізіңіз",
"Send": "Жіберу",
"Profile": "Профиль",
"points": "ұпай",
"Your data": "Сіздің деректеріңіз",
"Phone number": "Телефон нөмірі",
"City/district": "Қала/аудан",
"Edit": "Өңдеу",
"Your requests": "Сіздің сұраныстарыңыз",
"User rating": "Пайдаланушы рейтингі",
"Department rating": "Бөлім рейтингі",
"Those. support": "Анау. қолдау көрсету",
"Problems": "Егер сізде мобильді қосымшамен проблемалар болса, оларды төмендегі өрісте сипаттаңыз:",
"Describe your problem": "Мәселеңізді сипаттаңыз",
"Wish": "Тілек",
"you help": "Сіз бізге платформа пайдаланушылары үшін жақсырақ және ыңғайлы болуға көмектесесіз.",
"Write your wishes": "Жақсарту бойынша ұсыныстарыңызды және платформада сізге ұнайтын нәрсені жазыңыз",
"Missing function...": "Функция жетіспейді...",
"Questions": "Сұрақтар",
"Bonuses": "Бонустар",
"Prevention": "Алдын алу",
"Settings": "Параметрлер",
"View profile": "Профильді көру",
"Exit": "Шығу",
"Certificate from photographic": "Фотосурет мектебінен «Цифрлық фотосурет негіздері» курсы бойынша сертификат",
"Digital Marketing Certificate": "HubSpot сандық маркетинг негіздері сертификаты",
"American Red Cross Certificate": "Америкалық Қызыл Кресттің алғашқы көмек көрсету сертификаты бар",
"Microsoft Certificate": "Microsoft сертификаты",
"Discount on language courses": "Тіл курстарына жеңілдік",
"Certificate for 10,000 tenge": "10 000 теңгеге сертификат"
{
"Ribbon": "Таспа",
"All": "Барлық",
"Search": "Іздеу",
"Raw": "Шикі",
"In progress": "Жұмыста",
"Done": "Дайын",
"Under review": "Қаралуда",
"Add a request": "Сұраныс қосыңыз",
"Appeal image": "Апелляциялық сурет",
"Select an image...": "Кескінді таңдаңыз...",
"Add more photos/videos": "Қосымша фотосуреттер/бейнелер қосыңыз",
"Mandatory": "Міндетті",
"Brief title of the request": "Сұраныстың қысқаша атауы",
"Type of appeal": "Апелляция түрі",
"Choose something": "Бір нәрсені таңдаңыз",
"Description of the request": "Сұраныс сипаттамасы",
"Address": "Мекенжай",
"Enter address": "Мекенжайды енгізіңіз",
"Send": "Жіберу",
"Profile": "Профиль",
"points": "ұпай",
"Your data": "Сіздің деректеріңіз",
"Phone number": "Телефон нөмірі",
"City/district": "Қала/аудан",
"Edit": "Өңдеу",
"Your requests": "Сіздің сұраныстарыңыз",
"User rating": "Пайдаланушы рейтингі",
"Department rating": "Бөлім рейтингі",
"Those. support": "Анау. қолдау көрсету",
"Problems": "Егер сізде мобильді қосымшамен проблемалар болса, оларды төмендегі өрісте сипаттаңыз:",
"Describe your problem": "Мәселеңізді сипаттаңыз",
"Wish": "Тілек",
"you help": "Сіз бізге платформа пайдаланушылары үшін жақсырақ және ыңғайлы болуға көмектесесіз.",
"Write your wishes": "Жақсарту бойынша ұсыныстарыңызды және платформада сізге ұнайтын нәрсені жазыңыз",
"Missing function...": "Функция жетіспейді...",
"Questions": "Сұрақтар",
"Bonuses": "Бонустар",
"Prevention": "Алдын алу",
"Settings": "Параметрлер",
"View profile": "Профильді көру",
"Exit": "Шығу",
"Certificate from photographic": "Фотосурет мектебінен «Цифрлық фотосурет негіздері» курсы бойынша сертификат",
"Digital Marketing Certificate": "HubSpot сандық маркетинг негіздері сертификаты",
"American Red Cross Certificate": "Америкалық Қызыл Кресттің алғашқы көмек көрсету сертификаты бар",
"Microsoft Certificate": "Microsoft сертификаты",
"Discount on language courses": "Тіл курстарына жеңілдік",
"Certificate for 10,000 tenge": "10 000 теңгеге сертификат"
}
96 changes: 48 additions & 48 deletions public/locales/ru/translation.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
{
"Ribbon": "Лента",
"All": "Все",
"Search": "Поиск",
"Raw": "Необработанное",
"In progress": "В работе",
"Done": "Выполнено",
"Under review": "На проверке",
"Add a request": "Добавить обращение",
"Appeal image": "Изображение обращения",
"Select an image...": "Выберите изображение...",
"Add more photos/videos": "Добавить еще фото/видео",
"Mandatory": "Обязательное",
"Brief title of the request": "Краткое название приложения",
"Type of appeal": "Тип обращения",
"Choose something": "Выберите что-нибудь",
"Description of the request": "Описание обращения",
"Address": "Адрес",
"Enter address": "Введите адрес",
"Send": "Отправить",
"Profile": "Профиль",
"points": "баллов",
"Your data": "Ваши данные",
"Phone number": "Номер телефона",
"City/district": "Город / район",
"Edit": "Редактировать",
"Your requests": "Ваши обращения",
"User rating": "Рейтинг пользователей",
"Department rating": "Рейтинг отделов",
"Those. support": "Тех. поддержка",
"Problems": "Если у вас появились проблемы с мобильным приложением, опишите их в поле ниже:",
"Describe your problem": "Опишите вашу проблему",
"Wish": "Пожелание",
"you help": "Ты помогаешь нам стать лучше и удобнее для пользователей платформы",
"Write your wishes": "Пиши свои пожелания по улучшению и что тебе больше всего нравится на платформе",
"Missing function...": "Не хватает функции...",
"Questions": "Вопросы",
"Bonuses": "Бонусы",
"Prevention": "Профилактика",
"Settings": "Настройки",
"View profile": "Посмотреть профиль",
"Exit": "Выход",
"Certificate from photographic": "Сертификат от фотографической школы по курсу 'Основы цифровой фотографии'",
"Digital Marketing Certificate": "Сертификат по курсу 'Основы цифрового маркетинга' от HubSpot",
"American Red Cross Certificate": "Сертификат American Red Cross по оказанию первой помощи",
"Microsoft Certificate": "Сертификат Microsoft",
"Discount on language courses": "Скидка на языковые курсы",
"Certificate for 10,000 tenge": "Сертификат на 10.000 тенге"
{
"Ribbon": "Лента",
"All": "Все",
"Search": "Поиск",
"Raw": "Необработанное",
"In progress": "В работе",
"Done": "Выполнено",
"Under review": "На проверке",
"Add a request": "Добавить обращение",
"Appeal image": "Изображение обращения",
"Select an image...": "Выберите изображение...",
"Add more photos/videos": "Добавить еще фото/видео",
"Mandatory": "Обязательное",
"Brief title of the request": "Краткое название приложения",
"Type of appeal": "Тип обращения",
"Choose something": "Выберите что-нибудь",
"Description of the request": "Описание обращения",
"Address": "Адрес",
"Enter address": "Введите адрес",
"Send": "Отправить",
"Profile": "Профиль",
"points": "баллов",
"Your data": "Ваши данные",
"Phone number": "Номер телефона",
"City/district": "Город / район",
"Edit": "Редактировать",
"Your requests": "Ваши обращения",
"User rating": "Рейтинг пользователей",
"Department rating": "Рейтинг отделов",
"Those. support": "Тех. поддержка",
"Problems": "Если у вас появились проблемы с мобильным приложением, опишите их в поле ниже:",
"Describe your problem": "Опишите вашу проблему",
"Wish": "Пожелание",
"you help": "Ты помогаешь нам стать лучше и удобнее для пользователей платформы",
"Write your wishes": "Пиши свои пожелания по улучшению и что тебе больше всего нравится на платформе",
"Missing function...": "Не хватает функции...",
"Questions": "Вопросы",
"Bonuses": "Бонусы",
"Prevention": "Профилактика",
"Settings": "Настройки",
"View profile": "Посмотреть профиль",
"Exit": "Выход",
"Certificate from photographic": "Сертификат от фотографической школы по курсу 'Основы цифровой фотографии'",
"Digital Marketing Certificate": "Сертификат по курсу 'Основы цифрового маркетинга' от HubSpot",
"American Red Cross Certificate": "Сертификат American Red Cross по оказанию первой помощи",
"Microsoft Certificate": "Сертификат Microsoft",
"Discount on language courses": "Скидка на языковые курсы",
"Certificate for 10,000 tenge": "Сертификат на 10.000 тенге"
}
34 changes: 17 additions & 17 deletions src/18n.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import i18n from "i18next";
import Backend from "i18next-http-backend";
import LanguageDetector from "i18next-browser-languagedetector";
import { initReactI18next } from "react-i18next";

i18n.use(Backend).use(LanguageDetector).use(initReactI18next).init({
fallbackLng: "ru",
debug: true,
detection: {
order: ['queryString', 'cookie'],
cache: ['cookie']
},
interpolation: {
escapeValue: false
}
})

import i18n from "i18next";
import Backend from "i18next-http-backend";
import LanguageDetector from "i18next-browser-languagedetector";
import { initReactI18next } from "react-i18next";

i18n.use(Backend).use(LanguageDetector).use(initReactI18next).init({
fallbackLng: "ru",
debug: true,
detection: {
order: ['queryString', 'cookie'],
cache: ['cookie']
},
interpolation: {
escapeValue: false
}
})

export default i18n;
Loading

0 comments on commit c499ca5

Please sign in to comment.