From d2f02d605c5990bc88fbade5f6fa6e7624abd70b Mon Sep 17 00:00:00 2001 From: Fringg Date: Fri, 27 Feb 2026 09:38:33 +0300 Subject: [PATCH] fix: clean up expired trial card - remove redundant badge and subtitle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove red "Пробный период" badge from expired trial card - Remove "Пробный период завершен" subtitle text - Simplify header layout (no justify-between needed without badge) - Change "Тарифы" button link to /subscription/purchase --- .../dashboard/SubscriptionCardExpired.tsx | 84 +++++-------------- 1 file changed, 22 insertions(+), 62 deletions(-) diff --git a/src/components/dashboard/SubscriptionCardExpired.tsx b/src/components/dashboard/SubscriptionCardExpired.tsx index 57f5329..dce57ef 100644 --- a/src/components/dashboard/SubscriptionCardExpired.tsx +++ b/src/components/dashboard/SubscriptionCardExpired.tsx @@ -50,73 +50,33 @@ export default function SubscriptionCardExpired({ subscription }: SubscriptionCa /> {/* Header */} -
-
- {/* Clock icon */} -
- -
-
-

- {subscription.is_trial - ? t('dashboard.expired.trialTitle') - : t('dashboard.expired.title')} -

- - {subscription.is_trial - ? t('dashboard.expired.trialSubtitle') - : t('dashboard.expired.paidSubtitle')} - -
-
- - {/* Badge */} +
+ {/* Clock icon */}
- {subscription.is_trial && ( - - )} - {subscription.is_trial ? t('subscription.trialStatus') : t('subscription.expired')} +
+

+ {subscription.is_trial ? t('dashboard.expired.trialTitle') : t('dashboard.expired.title')} +

{/* Expired date */} @@ -149,7 +109,7 @@ export default function SubscriptionCardExpired({ subscription }: SubscriptionCa {t('dashboard.expired.renew')}