Skip to content

Commit 0745ce4

Browse files
committed
Refine pricing plans UI with interactive selection and improved clarity
- Add interactive plan selection: clicking moves highlight badge between plans - Dynamic badge text: "Current Plan", "Upgrade Now", or "Downgrade Now" - Rename plans: Free→Demo, keep Max (briefly was Team) - Update descriptions: Pro for "serious creators", Max for "teams and high volume API" - Replace "projects" with "tasks" throughout - Add team collaboration features to Max plan - Move overage protection from footer to individual plan features - Format prices with commas for better readability - Remove redundant "Available Plans" heading
1 parent 2321f16 commit 0745ce4

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

src/components/payments/PricingPlans.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const plans = [
2727
{
2828
id: 'pro',
2929
name: 'Pro',
30-
description: 'Great for serious developers',
30+
description: 'Great for serious creators',
3131
monthlyPrice: 50,
3232
annualPrice: 500,
3333
units: 50000,
@@ -45,8 +45,8 @@ const plans = [
4545
},
4646
{
4747
id: 'teams',
48-
name: 'Team',
49-
description: 'For professional developers and teams',
48+
name: 'Max',
49+
description: 'For teams and high volume API calls',
5050
monthlyPrice: 500,
5151
annualPrice: 5000,
5252
units: 1000000,
@@ -56,11 +56,12 @@ const plans = [
5656
'Access to all languages',
5757
'Priority support',
5858
'Private and public tasks',
59+
'Team collaboration features',
5960
'Advanced IDE features',
6061
'API access',
6162
'Automatic overage protection'
6263
],
63-
cta: 'Go Team'
64+
cta: 'Go Max'
6465
}
6566
];
6667

@@ -156,7 +157,7 @@ export default function PricingPlans({ userId }: PricingPlansProps) {
156157
</div>
157158

158159
<div className="mb-6">
159-
<span className="text-4xl font-bold text-gray-900">${price}</span>
160+
<span className="text-4xl font-bold text-gray-900">${price.toLocaleString()}</span>
160161
{plan.id !== 'free' && (
161162
<span className="text-gray-500 ml-1">
162163
/{billingInterval === 'monthly' ? 'mo' : 'yr'}

0 commit comments

Comments
 (0)