Repository navigation
feat(site): a website for Lucid, published with GitHub Pages - #5
Merged
Merged
Conversation
…place Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
One static page in the app's own design language (black and white, hairlines, iA Writer Mono served from the site, light and dark): the idea, what a page is made of, how it works with the real pictures, the note formats, and a download card that shows the latest release (version, date, sizes, direct links, and what to do the first time macOS asks). It makes one network request, to GitHub's public API for the latest release, and works without it. scripts/build-site.mjs assembles it with the pictures and the guide. A test checks that its links resolve, that nothing loads from a third party, that pictures have descriptions and sizes, and the contrast of its colours in both themes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 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.
A website for the project at https://triggeredcode.github.io/lucid/ (Pages is enabled on the repository, deploying from Actions), with the download options.
What
site/: one static page in the app's own design language (black and white, hairlines, one filled button, iA Writer Mono served from the site, light and dark, responsive down to a phone). Sections: the idea (what you say, what Lucid builds), what a page is made of (the eight block types), how it works with the real pictures, the five note formats and how to add one, the download card, MCP for agents, privacy, questions.scripts/build-site.mjsassembles_site/fromsite/, the pictures indocs/imagesanddocs/guide.html;.github/workflows/pages.ymlbuilds and deploys it when those change.site.test.ts): links and anchors resolve, nothing is loaded from a third party, the script talks only to GitHub's API for the latest release, pictures have descriptions and sizes, the typeface is served from the site, and the contrast of the site's colours in both themes (body text 4.5:1, small grey text 3:1; mutation-checked). The contrast helper is shared with the app's own contrast test.Design rules, so sizes are not guessed: a 4 px spacing scale, a type scale of about 1.25, three radii (8/12/16), 1 px borders, motion limited to a short rise on scroll and switched off for visitors who ask for less motion.
Checked
pnpm run ci(1327 tests), typecheck, lint, formatting.🤖 Generated with Claude Code