Repository navigation
feat: product page with a live demo on GitHub Pages - #19
Merged
Merged
Conversation
A public page for Raidy, deployed with GitHub Pages. - The hero is the product: the real availability grid next to a copy of the Discord post. The visitor plays the "You" row, and every tap updates the counts and status in both, as the real app does. - Features, the three setup steps, screenshots of the real app (light and dark, captured from the demo at deploy time), open source and FAQ. - "Try the live demo" opens the demo build at /demo/. - `npm run build:pages` builds the page and the demo into dist-pages; the Pages workflow captures screenshots, builds and deploys on every merge to main. CI also checks that the site builds. Release v0.0.18.
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.
Summary
A public product page for Raidy, deployed with GitHub Pages:
/is the product page and/demo/is the live demo from #17.renderAnnouncement. The visitor plays the "You" row, and every tap updates the counts and status in both, using the server's rule that a confirmed night needs everyone.vite.product.config.tsbuildsweb/product/. The page reuses the app's tokens, components and demo sample data.npm run build:pagesbuilds the page and the demo intoweb/dist-pages.npm run screenshotscaptures the screenshots..github/workflows/pages.ymlcaptures screenshots, builds and deploys on every merge tomain. CI also checks that the site builds.Release v0.0.18.
One-time setup
CNAMErecord atjoshchen-dev.github.io.The site uses root paths, so it needs the custom domain rather than
joshchen-dev.github.io/raidy/.Tests
A new Playwright
productproject checks:npm run check,format:check,build,build:pages,screenshots, and the full Playwright suite (31 passed) all pass locally. I checked the page with screenshots at 1440 px and on a Pixel 7, in light and dark.