No description
- HTML 66%
- TypeScript 34%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| images | ||
| scripts | ||
| favicon.svg | ||
| index.html | ||
| README.md | ||
quartz-web
The landing page for Quartz: one
static index.html styled with Tailwind (browser build from a CDN), plus
the screenshots in images/. There is no build step. Open index.html or
serve the folder with any static file server.
Screenshots
scripts/ holds the Playwright spec that takes the screenshots, in light and
dark. It runs inside the Quartz repo's e2e harness, which starts a fresh
Postgres and the built server. It fills a demo space with about 130 linked
notes, a board and an assistant chat (the assistant answers from a fake model).
# from a Quartz checkout next to this repo
cp ../quartz-web/scripts/landing.config.ts e2e/
mkdir -p e2e/landing && cp ../quartz-web/scripts/shots.spec.ts e2e/landing/
nix develop -c npm run build
nix develop -c scripts/with-postgres.sh npx playwright test -c e2e/landing.config.ts
rm -r e2e/landing e2e/landing.config.ts
# PNG to WebP
cd ../quartz-web/images
for f in *.png; do cwebp -q 80 -m 6 "$f" -o "${f%.png}.webp" && rm "$f"; done
The hero (editor-*.webp) is Quartz's own README screenshot
(npm run screenshots -w e2e in Quartz).