Move the pricing page to /pricing - #46
Merged
Merged
Conversation
The page is called Pricing now, so its address follows: /pricing and /zh-CN/pricing. The old addresses are built as redirect pages (Astro's redirects; GitHub Pages cannot answer with a redirect), marked noindex with a canonical link to the new page, and the sitemap lists only the new ones. Every link on the site points at the new address; no other repository links to the old one. The page, its component and its copy are renamed to match (PricingPage, src/i18n/pages/pricing.ts, nav.pricing), and an unused duplicate nav.pricing key from the old one-page site is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Since #45 the page is called Pricing, so its address follows:
/pricingand/zh-CN/pricing./licenseand/zh-CN/licenseare built as redirect pages with Astro'sredirectsconfig, since GitHub Pages cannot answer with a redirect. Each page sends the browser on, is markednoindexand has a canonical link to the new address. The sitemap lists only the new addresses.LicensePage→PricingPage,src/i18n/pages/license.ts→pricing.ts,nav.license→nav.pricing. An unused duplicatenav.pricingkey left from the old one-page site is removed, which the build had flagged.Checked: no
href="/license"left in the build. In headless Chromium,/license/lands on/pricing/and/zh-CN/license/on/zh-CN/pricing/, with the right title and heading.tsc --noEmitis clean.🤖 Generated with Claude Code