Skip to content

Commit 652fa89

Browse files
LEANDERANTONYclaude
andcommitted
fix(landing): correct stale pricing comment — caps ARE enforced
The pricing block's comment claimed "Tier caps are aspirational — there's no backend enforcement of these values yet". That's been false since the tier-enforcement work landed: the caps mirror backend/tiers.py TIER_CAPS and the quota gates enforce them on every metered action. Rewrote the comment to state the real behavior (enforced; resolve_user_tier returns "free" for everyone until the Lemon Squeezy payment cutover) and to flag the keep-in-sync-with- TIER_CAPS contract. Also dropped the cross-project references. Comment-only — zero behavior or visual change. The displayed tier numbers were already accurate against TIER_CAPS; only the misleading comment is fixed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c233f01 commit 652fa89

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

frontend/src/components/landing-page.tsx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,16 +1040,18 @@ function ArrowGlyph({ direction }: { direction: "left" | "right" }) {
10401040
// ─── Pricing ──────────────────────────────────────────────────────────
10411041
//
10421042
// Three-tier card with the middle "Pro" tier filled-and-floated as the
1043-
// focal anchor. Same visual structure as HelpmateAI's landing-pricing
1044-
// (mint accent over there, electric blue here). Free + Pro CTAs route
1045-
// through the existing onPrimaryCta auth handoff so a click here is
1046-
// identical to clicking "Sign in with Google" in the hero. Business
1047-
// is a mailto until there's a real sales flow.
1043+
// focal anchor. Free + Pro CTAs route through the existing onPrimaryCta
1044+
// auth handoff so a click here is identical to clicking "Sign in with
1045+
// Google" in the hero. Business is a mailto until there's a real sales
1046+
// flow.
10481047
//
1049-
// Tier caps are aspirational — there's no backend enforcement of these
1050-
// values yet; that's a follow-up. The numbers below are stylistically
1051-
// matched to HelpmateAI's pricing matrix (Free / Pro $9 / Business
1052-
// $39 per seat) so the two products price coherently as siblings.
1048+
// The caps below ARE enforced — they mirror backend/tiers.py TIER_CAPS,
1049+
// which the quota gates read on every metered action (tailored /
1050+
// premium applications, assistant turns, resume parses, job searches,
1051+
// saved jobs, saved workspaces). resolve_user_tier returns "free" for
1052+
// every user until the Lemon Squeezy payment cutover (variant IDs
1053+
// pending), so today the Free column is what everyone actually gets.
1054+
// Keep these strings in sync with TIER_CAPS whenever a cap changes.
10531055

10541056
// PricingSection takes everything HeroProps does (auth state + the
10551057
// primary CTA handler) plus the Supabase user_id used to bind the

0 commit comments

Comments
 (0)