Безопасность: - proxy: белый список путей (только /sub/*), POST заблокирован - console.log заменён на logger (утечки URL/данных) - OnboardingFlow: убраны --tg-theme-* (не существуют в проекте) TypeScript (0 ошибок): - tsconfig target es5→es2017 (regex /u flag fix) - layout.tsx: viewport перенесён в metadata (Next.js 13.5) - telegram-webhook: fix text possibly undefined - hooks/useTelegramWebApp: fix Object possibly undefined - types/telegram: убрана дублирующая Window декларация UI: - BottomNav: новый компонент (Назад/Главная/Помощь) - safe-area-bottom CSS класс добавлен в globals.css - dashboard: spacer h-20, toast поднят над BottomNav - OnboardingFlow: цены 149/249/350₽ (были 200/350/500₽) Очистка: - page_NEW.tsx удалён локально (не был в git)
54 lines
966 B
CSS
54 lines
966 B
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
.safe-area-bottom {
|
|
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
}
|
|
|
|
:root {
|
|
/* Hiddify Colors */
|
|
--primary: #2fbea5;
|
|
--primary-dark: #005048;
|
|
--primary-light: #7df8dd;
|
|
|
|
--bg-app: #191f23;
|
|
--bg-card: #263238;
|
|
--bg-elevated: #37474f;
|
|
|
|
--text-primary: #e1e2e6;
|
|
--text-white: #ffffff;
|
|
|
|
--border: #37474f;
|
|
--outline: #4caf50;
|
|
|
|
--success: #44a334;
|
|
--idle: #4a4d8b;
|
|
--error: #f44336;
|
|
}
|
|
|
|
body {
|
|
background: var(--bg-app);
|
|
color: var(--text-primary);
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
}
|
|
|
|
/* Бегущая строка */
|
|
@keyframes marquee {
|
|
0% {
|
|
transform: translateX(0);
|
|
}
|
|
100% {
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|
|
|
|
.animate-marquee {
|
|
animation: marquee 20s linear infinite;
|
|
}
|
|
|
|
/* Safe area для iOS (нижняя полоска) */
|
|
.safe-area-bottom {
|
|
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
}
|