Skip to content

Add comparison page, FAQ pricing question and llms.txt - #402

Merged
easonxiang merged 1 commit into
weenas:mainfrom
easonxiang:add-compare-page-faq-llms-txt
Nov 20, 2026
Merged

easonxiang merged 1 commit into
weenas:mainfrom
easonxiang:add-compare-page-faq-llms-txt

Conversation

@easonxiang

Copy link
Copy Markdown
Contributor

What this changes

  • New comparison page /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.
  • FAQ: new first question in Getting started, "Is CastBay free? Are there ads or a time limit?" (EN) and "CastBay 免费吗?有广告或时长限制吗?" (ZH), in web/src/pages/faq.md and web/src/pages/zh/faq.md. FAQ grows from 20 to 21 questions in each language (counted in the repo).
  • New web/public/llms.txt (served at /llms.txt).
  • Wiring so the new page is a first-class page like the others: added compare to PAGES in web/src/i18n.ts (sitemap, canonical/hreflang) and to the footer page list in web/src/layouts/Page.astro with labels Compare / 对比. 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:

  • FAQPage: generated automatically by web/src/layouts/Doc.astro for pages with faq: true — the new FAQ question is included in it.
  • SoftwareApplication: emitted by web/src/layouts/Page.astro on the home pages.

Validation

  • Ran the site's own checks locally (Node 24): npm ci, npm test (all passed), npm run build (completed, 24 pages). Verified in dist/: /compare and /zh/compare built with the right titles, both in sitemap.xml, the new questions present in the FAQPage JSON-LD in dist/faq.html and dist/zh/faq.html, footer links to the compare page on both home pages, and dist/llms.txt present.
  • Note: the local build ran on Node 24 while CI uses Node 22; the Website workflow still needs to run on this PR.
  • No Gradle/Android work is involved.

Do not auto-merge

This PR must NOT be auto-merged; it awaits the maintainer's review.

@easonxiang
easonxiang merged commit 4ffd5f6 into weenas:main Nov 20, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant