From 2eea1f07aada4b6f0909b050f585a38c9f946e28 Mon Sep 17 00:00:00 2001 From: mykonos-ibiza <222371740+mykonos-ibiza@users.noreply.github.com> Date: Thu, 31 Jul 2025 15:57:11 +0530 Subject: [PATCH] Update button text and styles for yearly subscription upgrades in pricing section --- frontend/src/components/home/sections/pricing-section.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/home/sections/pricing-section.tsx b/frontend/src/components/home/sections/pricing-section.tsx index ec331955..055884b0 100644 --- a/frontend/src/components/home/sections/pricing-section.tsx +++ b/frontend/src/components/home/sections/pricing-section.tsx @@ -408,9 +408,9 @@ function PricingTier({ if (targetAmount > currentAmount || isSameTierUpgradeToLongerTerm) { // Allow upgrade to higher tier OR upgrade to longer term on same tier if (currentIsMonthly && targetIsYearlyCommitment && targetAmount <= currentAmount) { - buttonText = 'Subscribe for one year'; - buttonVariant = 'default'; - buttonClassName = 'bg-green-600 hover:bg-green-700 text-white'; + buttonText = 'Upgrade'; + buttonVariant = tier.buttonColor as ButtonVariant; + buttonClassName = 'bg-primary hover:bg-primary/90 text-primary-foreground'; } else if (currentIsMonthly && targetIsYearly && targetAmount <= currentAmount) { buttonText = 'Switch to Legacy Yearly'; buttonVariant = 'default';