mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
feat: redesign admin panel with glass morphism UI, animated background, and stats bar
- Rewrite AdminPanel with cosmic floating orbs background using theme colors - Add stats bar: uptime, bot version, cabinet version, trial/paid counts from API - Glass morphism cards with 3D tilt effect (rAF-throttled) and entry animations - Live search with Cmd+K shortcut, highlight matches, permission-aware filtering - Register Tailwind `light:` variant for proper light theme support - Mobile optimizations: reduced orbs (3), lower blur (80px), compact 2-col stats - Telegram MiniApp safe area support via useTelegramSDK - Full accessibility: aria-hidden on decorative SVGs, aria-labels, role="status" - React.memo on StatsBar, GlassCard, CosmosBackground for render performance - Memo-stable section refs via Set<id> pattern to preserve GlassCard memo during search - i18n keys added to all 4 locales (ru, en, zh, fa)
This commit is contained in:
@@ -1117,6 +1117,17 @@
|
||||
"panel": {
|
||||
"title": "Admin Panel",
|
||||
"subtitle": "System management",
|
||||
"statsUptime": "Uptime",
|
||||
"statsBot": "Bot",
|
||||
"statsCabinet": "Cabinet",
|
||||
"statsTrials": "Trials",
|
||||
"statsPaid": "Paid",
|
||||
"statsOnline": "Online",
|
||||
"statsToday": "today",
|
||||
"searchPlaceholder": "Search...",
|
||||
"searchEmpty": "Nothing found",
|
||||
"searchEmptyHint": "Try a different query",
|
||||
"searchClear": "Clear search",
|
||||
"dashboardDesc": "Statistics and system monitoring",
|
||||
"ticketsDesc": "Handle user support tickets",
|
||||
"settingsDesc": "System settings and parameters",
|
||||
|
||||
@@ -951,6 +951,17 @@
|
||||
"panel": {
|
||||
"title": "پنل مدیریت",
|
||||
"subtitle": "مدیریت سیستم",
|
||||
"statsUptime": "آپتایم",
|
||||
"statsBot": "ربات",
|
||||
"statsCabinet": "کابینت",
|
||||
"statsTrials": "آزمایشی",
|
||||
"statsPaid": "پولی",
|
||||
"statsOnline": "آنلاین",
|
||||
"statsToday": "امروز",
|
||||
"searchPlaceholder": "جستجو...",
|
||||
"searchEmpty": "چیزی پیدا نشد",
|
||||
"searchEmptyHint": "عبارت دیگری امتحان کنید",
|
||||
"searchClear": "پاک کردن جستجو",
|
||||
"dashboardDesc": "آمار و مانیتورینگ سیستم",
|
||||
"ticketsDesc": "مدیریت تیکتهای کاربران",
|
||||
"settingsDesc": "تنظیمات و پارامترهای سیستم",
|
||||
|
||||
@@ -1138,6 +1138,17 @@
|
||||
"panel": {
|
||||
"title": "Панель администратора",
|
||||
"subtitle": "Управление системой",
|
||||
"statsUptime": "Аптайм",
|
||||
"statsBot": "Бот",
|
||||
"statsCabinet": "Кабинет",
|
||||
"statsTrials": "Триалы",
|
||||
"statsPaid": "Платные",
|
||||
"statsOnline": "Онлайн",
|
||||
"statsToday": "сегодня",
|
||||
"searchPlaceholder": "Поиск...",
|
||||
"searchEmpty": "Ничего не найдено",
|
||||
"searchEmptyHint": "Попробуйте другой запрос",
|
||||
"searchClear": "Очистить поиск",
|
||||
"dashboardDesc": "Статистика и мониторинг системы",
|
||||
"ticketsDesc": "Обработка обращений пользователей",
|
||||
"settingsDesc": "Настройки системы и параметры",
|
||||
|
||||
@@ -951,6 +951,17 @@
|
||||
"panel": {
|
||||
"title": "管理面板",
|
||||
"subtitle": "系统管理",
|
||||
"statsUptime": "运行时间",
|
||||
"statsBot": "机器人",
|
||||
"statsCabinet": "控制台",
|
||||
"statsTrials": "试用",
|
||||
"statsPaid": "付费",
|
||||
"statsOnline": "在线",
|
||||
"statsToday": "今日",
|
||||
"searchPlaceholder": "搜索...",
|
||||
"searchEmpty": "未找到结果",
|
||||
"searchEmptyHint": "请尝试其他关键词",
|
||||
"searchClear": "清除搜索",
|
||||
"dashboardDesc": "统计和系统监控",
|
||||
"ticketsDesc": "处理用户工单",
|
||||
"settingsDesc": "系统设置和参数",
|
||||
|
||||
Reference in New Issue
Block a user