mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
refactor: extract purchase/renewal flow to separate page
Move ~1900 lines of purchase/renewal logic from Subscription.tsx into a new SubscriptionPurchase.tsx page at /subscription/purchase. - Create SubscriptionPurchase.tsx with tariffs grid, classic mode wizard, switch preview modal, and promo handling - Create PurchaseCTAButton.tsx with animated gradient border, state-aware colors and context-aware text - Create subscriptionHelpers.ts with shared utilities - Add CopyIcon to shared icons module - Register /subscription/purchase route with lazy loading - Update SubscriptionCardExpired and PromoOffersSection navigators - Add CTA translation keys to ru.json and en.json - Remove all scrollToExtend references
This commit is contained in:
@@ -336,6 +336,11 @@
|
||||
"price": "Цена",
|
||||
"noSubscription": "У вас нет активной подписки",
|
||||
"getSubscription": "Оформить подписку",
|
||||
"cta": {
|
||||
"expiredHint": "Выберите тариф и оплатите",
|
||||
"trialHint": "Больше трафика и устройств",
|
||||
"activeHint": "Продление и смена тарифа"
|
||||
},
|
||||
"connectionInfo": "Данные для подключения",
|
||||
"copyLink": "Копировать ссылку",
|
||||
"copied": "Скопировано!",
|
||||
|
||||
Reference in New Issue
Block a user