Repository navigation
chore(marketing): remove the in-app /pricing page - #119
Merged
Merged
Conversation
Closes #113. Pricing lives on ansvisor.com now — the in-app duplicate had been drifting from config/plans.ts (Starter "4 platforms / 10 prompts" vs the real 2 / 50) and still pointed its bottom CTA at a placeholder GitHub URL. Removing the page solves both at once, keeps the app subdomain focused on the authenticated dashboard surface, and matches the existing chore(seo) decision to block the app subdomain from search indexing. - delete web/src/app/[locale]/(marketing)/pricing/page.tsx - drop the marketing.pricing.* block from web/messages/en.json (the only locale that still carried it) - proxy.ts: 302 redirect /pricing → https://ansvisor.com/pricing so any stale links / bookmarks land on the canonical page instead of 404'ing The in-app Settings → Plan & Billing plan switcher and the pricing fields on config/plans.ts stay as-is — they're the authenticated upgrade path and are still consumed by billing-section.tsx and plan-switcher.tsx.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #113.
What
`net diff: 3 files changed, 7 insertions(+), 364 deletions(-)`
Why
The in-app pricing page was a stale copy of marketing content:
Pricing as a public marketing surface belongs on `ansvisor.com`, not the authenticated app subdomain. Removing the duplicate kills both drift bugs in one move and prevents the same drift from recurring.
Out of scope
Verified