mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
refactor: rewrite dashboard components to match prototype design
- Rewrite TrafficProgressBar with multi-segment gradient fill, flex-based zone tints, shimmer + highlight overlays, radial glow at fill edge - Rewrite SubscriptionCardActive with zone header, big percentage on right, connect device card with device dots, tariff/days-left two-column row, sparkline placeholder, traffic refresh controls - Rewrite SubscriptionCardExpired with red glow, grid pattern, gradient renew button, outline tariffs button - Rewrite TrialOfferCard with animated glow background, grid pattern, icon glow animation, price tag with old price, gradient CTA buttons - Rewrite StatsGrid with 2x2 card layout, icon+label+chevron header, big value numbers, zone-colored balance/earnings cards - Update Sparkline with color prop and last-point dot indicator - Update useAnimatedNumber to use easeOutExpo matching prototype - Add formatTraffic utility for MB/GB/TB unit formatting - Add mainHex to trafficZone for inline style support - Update animations to match prototype timing - Add new i18n keys for redesigned components
This commit is contained in:
@@ -234,16 +234,27 @@
|
||||
},
|
||||
"connectDevice": "Connect Device",
|
||||
"devicesConnected": "{{count}} connected",
|
||||
"devicesOfMax": "{{used}} of {{max}} connected",
|
||||
"devicesShort": "dev.",
|
||||
"trafficUsage": "{{used}} / {{limit}} GB",
|
||||
"trafficUsageTitle": "Traffic Usage",
|
||||
"usedTraffic": "used {{amount}}",
|
||||
"usedSuffix": "used",
|
||||
"unlimited": "Unlimited",
|
||||
"unlimitedTraffic": "Unlimited traffic",
|
||||
"tariff": "Tariff",
|
||||
"validUntil": "until {{date}}",
|
||||
"remaining": "Remaining",
|
||||
"daysRemaining": "Days left",
|
||||
"usageLast14Days": "Usage last 14 days",
|
||||
"maxUsage": "max {{amount}}",
|
||||
"expired": {
|
||||
"title": "Subscription Expired",
|
||||
"trialTitle": "Trial Expired",
|
||||
"renew": "Renew",
|
||||
"tariffs": "View Tariffs",
|
||||
"trialSubtitle": "Trial period ended",
|
||||
"paidSubtitle": "Subscription has expired",
|
||||
"renew": "Renew Subscription",
|
||||
"tariffs": "Tariffs",
|
||||
"traffic": "Traffic",
|
||||
"devices": "Devices",
|
||||
"expiredDate": "Expired"
|
||||
@@ -295,6 +306,7 @@
|
||||
"buyDevices": "Buy Devices",
|
||||
"renewalOptions": "Renewal Options",
|
||||
"days": "days",
|
||||
"daysShort": "d.",
|
||||
"days_one": "{{count}} day",
|
||||
"days_other": "{{count}} days",
|
||||
"hours": "h",
|
||||
|
||||
@@ -246,15 +246,26 @@
|
||||
},
|
||||
"connectDevice": "Подключить устройство",
|
||||
"devicesConnected": "{{count}} подключено",
|
||||
"devicesOfMax": "{{used}} из {{max}} подключено",
|
||||
"devicesShort": "устр.",
|
||||
"trafficUsage": "{{used}} / {{limit}} ГБ",
|
||||
"trafficUsageTitle": "Расход трафика",
|
||||
"usedTraffic": "использовано {{amount}}",
|
||||
"usedSuffix": "израсходовано",
|
||||
"unlimited": "Безлимит",
|
||||
"unlimitedTraffic": "Безлимитный трафик",
|
||||
"tariff": "Тариф",
|
||||
"validUntil": "до {{date}}",
|
||||
"remaining": "Осталось",
|
||||
"daysRemaining": "Дней осталось",
|
||||
"usageLast14Days": "Расход за 14 дней",
|
||||
"maxUsage": "макс {{amount}}",
|
||||
"expired": {
|
||||
"title": "Подписка истекла",
|
||||
"trialTitle": "Пробный период истёк",
|
||||
"renew": "Продлить",
|
||||
"trialSubtitle": "Пробный период завершён",
|
||||
"paidSubtitle": "Срок действия закончился",
|
||||
"renew": "Продлить подписку",
|
||||
"tariffs": "Тарифы",
|
||||
"traffic": "Трафик",
|
||||
"devices": "Устройства",
|
||||
@@ -310,6 +321,7 @@
|
||||
"buyDevices": "Докупить устройства",
|
||||
"renewalOptions": "Варианты продления",
|
||||
"days": "дней",
|
||||
"daysShort": "дн.",
|
||||
"days_one": "{{count}} день",
|
||||
"days_few": "{{count}} дня",
|
||||
"days_many": "{{count}} дней",
|
||||
|
||||
Reference in New Issue
Block a user