fix(pricing): route Talk to sales CTA to demo request form instead of signup#5602
Conversation
… signup - pricing page's enterprise card was labeled "Talk to sales" but linked to /signup for every card, sending visitors to self-serve signup instead of the demo-request flow every other "Contact sales" CTA on the site uses - resolveCta now keys off the CTA's sales intent to pick the right href - extracted the /signup and /demo route literals (previously hardcoded independently in 6 files) into a single shared apps/sim/app/(landing)/constants.ts so no CTA can drift to the wrong destination again - hoisted the static per-column comparison sections out of render and deduped the annual-discount price math in pricing-plans.tsx
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview Adds On the pricing page only: hoists static comparison sections to Reviewed by Cursor Bugbot for commit 6cd33d0. Configure here. |
Greptile SummaryThis PR updates landing-page CTA routing for pricing and shared marketing links.
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (1): Last reviewed commit: "fix(pricing): route Talk to sales CTA to..." | Re-trigger Greptile |
Summary
/signupfor every card, so clicking it sent visitors to self-serve signup instead of the demo-request form every other "Contact sales" CTA on the site (navbar, mobile nav, footer CTA, enterprise page) already usesresolveCtainpricing-plans.tsxnow keys off the card'ssalesintent (fromgetUpgradeCardCta) to pick/demovs/signup/signup//demoroute literals — previously hardcoded independently across 6 landing files — into a single sharedapps/sim/app/(landing)/constants.tsso a CTA destination can't silently drift againType of Change
Testing
Tested manually (typecheck + biome clean on all touched files; verified
resolveCta's intent-based branch andPricingCard'shref={cta.href}wiring by reading the full call path)Checklist