diff --git a/apps/web/src/app/pricing/page.tsx b/apps/web/src/app/pricing/page.tsx index c7bfed4..1c109f9 100644 --- a/apps/web/src/app/pricing/page.tsx +++ b/apps/web/src/app/pricing/page.tsx @@ -192,6 +192,13 @@ export default function PricingPage() { }, [startCheckout, startFounderCheckout]); const founderPrice = effectiveCurrency === "inr" ? `₹${founderPlan.price.inr.toLocaleString("en-IN")}` : `$${founderPlan.price.usd}`; + const founderMonths = Math.round( + (founderPlan.price[effectiveCurrency] / paidPlans.pro.yearly[effectiveCurrency]) * 12 + ); + const founderSoldOut = (founderCount?.remaining ?? 1) <= 0; + const founderClaimedPct = founderCount && founderCount.cap + ? Math.min(100, Math.round((founderCount.count / founderCount.cap) * 100)) + : 0; return (
@@ -331,35 +338,74 @@ export default function PricingPage() { ))}
-
- - -
-
- Pro Lifetime — one-time purchase -

- Pay once, keep Pro forever — hosted relay + power features for as long as CrossCode operates, subject to fair use. - {founderCount ? ` ${founderCount.remaining} of ${founderCount.cap} left.` : ` Limited to ${founderPlan.cap}.`} -

-
-
-
{founderPrice}
-
one-time
+ +
+ +
+ + {founderSoldOut ? "Sold out" : "One-time · Best value"} + +
+

Pro Lifetime

+

+ Pay once. Pro forever — hosted relay, every power feature, no renewals and no future price hikes. +

+
+
    + {["Everything in Pro", "5 hosted tunnels", "Price locked for life"].map((item) => ( +
  • + + {item} +
  • + ))} +
+
+ +
+
+ {founderPrice} + one-time +
+

+ ≈ {founderMonths} months of Pro Yearly +

+
+
+
+

+ {founderCount + ? `${founderCount.count} of ${founderCount.cap} claimed — ${founderCount.remaining} left` + : `Limited to ${founderPlan.cap}`} +

- - - - -
+

+ Secure checkout · instant access +

+
+
+

Compare plans

diff --git a/packages/shared/src/plans.ts b/packages/shared/src/plans.ts index 490d9ef..5eec291 100644 --- a/packages/shared/src/plans.ts +++ b/packages/shared/src/plans.ts @@ -21,7 +21,7 @@ export const paidPlans = { export const founderPlan = { name: "Pro Lifetime", - price: { usd: 24, inr: 1999 }, + price: { usd: 50, inr: 2999 }, cap: 100, } as const