Repository navigation
Add comparison page, FAQ pricing question and llms.txt - #402
Merged
Merged
Conversation
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.
What this changes
/compare/and/zh/compare/(web/src/pages/compare.md,web/src/pages/zh/compare.md): CastBay vs AirScreen, Lebo and Dangbei, with an at-a-glance table (price, ads, session time limit, account, open source, protocols, Google Cast/Miracast), a "Who should pick CastBay" section, an honest "Who should pick something else" section, and a "Where to get it" section.web/src/pages/faq.mdandweb/src/pages/zh/faq.md. FAQ grows from 20 to 21 questions in each language (counted in the repo).web/public/llms.txt(served at/llms.txt).comparetoPAGESinweb/src/i18n.ts(sitemap, canonical/hreflang) and to the footer page list inweb/src/layouts/Page.astrowith labelsCompare/对比. The top navigation is unchanged.Pricing rule applied
Per the maintainer's decision, the comparison table's Price row states only whether each app charges (Free / Paid / Paid / Paid) — no amounts, no membership-price details. Cells that could not be verified say "Not verified" / "未核实" instead of being left blank. Session limits stay hedged as user reports, with a note to check each app's current store listing.
JSON-LD check
Both already exist, so nothing was added:
web/src/layouts/Doc.astrofor pages withfaq: true— the new FAQ question is included in it.web/src/layouts/Page.astroon the home pages.Validation
npm ci,npm test(all passed),npm run build(completed, 24 pages). Verified indist/:/compareand/zh/comparebuilt with the right titles, both insitemap.xml, the new questions present in the FAQPage JSON-LD indist/faq.htmlanddist/zh/faq.html, footer links to the compare page on both home pages, anddist/llms.txtpresent.Do not auto-merge
This PR must NOT be auto-merged; it awaits the maintainer's review.