Skip to content

Commit

Permalink
- добавил background color для body
Browse files Browse the repository at this point in the history
- теперь по умолчанию новый дизайн
  • Loading branch information
andreu6454 committed Apr 30, 2024
1 parent de1c90b commit 614926d
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 2 deletions.
17 changes: 17 additions & 0 deletions extractedTranslations/en/profile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"Ccылка на аватар": "",
"Username": "",
"Введите ссылку на аватар": "",
"Возраст": "",
"Город": "",
"Имя": "",
"Оставьте свой отзыв о профиле": "",
"Отменить": "",
"Оцените профиль": "",
"Попробуйте обновить страницу": "",
"Произошла ошибка при загрузке профиля": "",
"Профиль": "",
"Редактировать": "",
"Сохранить": "",
"Фамилия": ""
}
26 changes: 26 additions & 0 deletions extractedTranslations/en/translation.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,39 @@
{
"cdts app": "",
"error": "",
"{{count}} Просмотров": "",
"{{count}} Просмотров_plural": "",
"Админка": "",
"Вариант интерфейса": "",
"Ваш отзыв": "",
"Введите username": "",
"Введите пароль": "",
"Введите текст комментария": "",
"Войти": "",
"Вы ввели неверный логин или пароль": "",
"Выйти": "",
"Добро пожаловать на страницу статей": "",
"Закрыть": "",
"Здесь вы можете искать и просматривать статьи на различные темы": "",
"Здесь вы можете искать и просматривать статьи на различные темы!": "Здесь вы можете искать и просматривать статьи на различные темы!",
"Здесь вы можете найти фильм и информацию о нем!": "Здесь вы можете найти фильм и информацию о нем!",
"Комментарии отсутствуют": "",
"Настройки": "",
"Настройки пользователя": "",
"Новый": "",
"Отправить": "",
"Поиск": "",
"Профиль": "",
"Создать статью": "",
"Спасибо за оценку!": "",
"Старый": "",
"Статьи": "",
"Статьи не найдены": "",
"Счетчик": "Счетчик",
"Счетчик с возможностью инкремента и декремента": "Счетчик с возможностью инкремента и декремента",
"Фильм не найден": "",
"Фильмы": "",
"Форма авторизации": "",
"возрастанию": "",
"убыванию": ""
}
2 changes: 1 addition & 1 deletion json-server/db.json
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@
},
"avatar": "https://i.pinimg.com/564x/71/af/c8/71afc81a9bdb88723d4b36425021e869.jpg",
"jsonSettings": {
"theme": "app_orange_theme",
"theme": "app_light_theme",
"isArticlesPageWasOpened": true
}
},
Expand Down
3 changes: 3 additions & 0 deletions src/app/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
body {
font-size: var(--font-m);
color: var(--primary-color);
background-color: var(--bg-redesigned);
}

.app {
Expand All @@ -20,6 +21,8 @@ body {
color: var(--text-redesigned);
background: var(--bg-redesigned);
font-size: var(--font-m-redesigned);


}

.content-page {
Expand Down
2 changes: 1 addition & 1 deletion src/shared/lib/features/lib/setGetFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {FeatureFlags} from "@/shared/types/featureFlags";
import {LOCAL_STORAGE_LAST_DESIGN_KEY} from "@/shared/const/localStorage";

const defaultFeatures: FeatureFlags = {
isAppRedesigned: localStorage.getItem(LOCAL_STORAGE_LAST_DESIGN_KEY) === 'new'
isAppRedesigned: true
}

let featureFlags: FeatureFlags = {
Expand Down

0 comments on commit 614926d

Please sign in to comment.