@@ -52,20 +52,17 @@ function getPlanIcon(planId: string) {
5252 return PLAN_ICONS [ planId ] || CrownIcon ;
5353}
5454
55- /** Get gated features that are NEW in this plan (not inherited from lower tiers) */
5655function getNewFeaturesForPlan ( planId : string ) : GatedFeatureId [ ] {
5756 const plan = planId as PlanId ;
5857 const planFeatures = PLAN_FEATURES [ plan ] ;
5958 if ( ! planFeatures ) return [ ] ;
6059
61- // For free plan, return all enabled features
6260 if ( plan === PLAN_IDS . FREE ) {
6361 return Object . entries ( planFeatures )
6462 . filter ( ( [ , enabled ] ) => enabled )
6563 . map ( ( [ feature ] ) => feature as GatedFeatureId ) ;
6664 }
6765
68- // For other plans, find features that weren't enabled in the previous tier
6966 const tierOrder : PlanId [ ] = [
7067 PLAN_IDS . FREE ,
7168 PLAN_IDS . HOBBY ,
@@ -369,11 +366,14 @@ function PricingCard({
369366
370367 < div className = "dotted-bg border-y bg-accent px-5 py-4" >
371368 { product . id === "hobby" ? (
372- < div className = "flex items-baseline gap-2" >
373- < span className = "text-muted-foreground line-through" > $9.99</ span >
374- < span className = "font-semibold text-2xl text-green-600" > $2.00</ span >
375- < span className = "text-muted-foreground text-sm" > /month</ span >
376- < Badge variant = "secondary" > Limited time</ Badge >
369+ < div className = "flex flex-col gap-1" >
370+ < div className = "flex items-baseline gap-1" >
371+ < span className = "font-semibold text-2xl" > $2</ span >
372+ < span className = "text-muted-foreground text-sm" > first month</ span >
373+ </ div >
374+ < span className = "text-muted-foreground text-xs" >
375+ then $10/month
376+ </ span >
377377 </ div >
378378 ) : (
379379 < div className = "flex items-baseline gap-1" >
0 commit comments