feat(www): add a showcase section and page - #15
Merged
Merged
Conversation
The landing page ends with a Showcase section that features the first site, and /showcase lists every site with a slot for the next one. Each site is one file in www/showcase/, checked at build time by a Vite plugin (virtual:showcase). A contributor who edits it on github.com learns from CI what to fix, and two pull requests never touch the same lines. "Add on GitHub" opens GitHub's new-file page with an entry template, which forks the repository and opens the pull request. hackers.pub is the first entry, with its cat motif (CC BY-SA 4.0, credited on the card). The header and footer link to the page. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Add a showcase issue form for whoever would rather fill in a form than edit a file, an "Add a site to the showcase" section in CONTRIBUTING.md, and a line in the pull request template that skips the code checklist for showcase entries. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
What changes
The landing page ends with a Showcase section that features the first site, and a new
/showcasepage lists every site with a slot for the next one. hackers.pub is the first entry (hackers-pub/hackerspub#408), with its cat motif beside the name (CC BY-SA 4.0, credited on the card).Adding a site is meant to be easy:
www/showcase/, so two pull requests never touch the same lines.virtual:showcase, likellms.ts) checks every file at build time. A bad entry failspnpm build:wwwwith the file and the field, e.g.showcase/x.json: "url" must be an https:// URL.showcase.yml, labeledshowcase) is the alternative for whoever would rather fill in a form. Logos go in a PR comment or the form, and we commit them.Also:
CodeCardnow sits on a sharedCodeFile, the footer is its own component, and the header and footer link to/showcase.Checklist
pnpm format:checkandpnpm checkpass//comments)README.mdand the matching docs are updated:CONTRIBUTING.mdhas a showcase sectionAfter merging
main; theshowcaselabel already exists.filenameandvaluequery parameters, which its docs do not describe. Click "Add on GitHub" once on the deployed page to confirm.🤖 Generated with Claude Code