From 8613cb20aa585c24e5d5e99f64e8b82efbbd8915 Mon Sep 17 00:00:00 2001 From: c0mrade Date: Sun, 31 May 2026 19:43:54 +0300 Subject: [PATCH] fix(subscription): use the nav sparkle icon on the renew CTA button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PurchaseCTAButton (the "Продлить подписку" CTA) rendered a single inline sparkle; swap it for the SubscriptionIcon component so it matches the two-star sparkle in the navigation. Colour is inherited from the badge container. --- .../subscription/PurchaseCTAButton.tsx | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/components/subscription/PurchaseCTAButton.tsx b/src/components/subscription/PurchaseCTAButton.tsx index 779d367..1ca1402 100644 --- a/src/components/subscription/PurchaseCTAButton.tsx +++ b/src/components/subscription/PurchaseCTAButton.tsx @@ -1,6 +1,7 @@ import { Link } from 'react-router'; import { useTranslation } from 'react-i18next'; import { HoverBorderGradient } from '../ui/hover-border-gradient'; +import { SubscriptionIcon } from '@/components/icons'; import type { Subscription } from '../../types'; interface PurchaseCTAButtonProps { @@ -73,21 +74,10 @@ export default function PurchaseCTAButton({ background: isExpired ? 'rgba(255,59,92,0.12)' : 'rgba(var(--color-accent-400), 0.12)', + color: accentColor, }} > - +
{buttonText}