mirror of
https://github.com/hanzo-apps/reading.git
synced 2026-10-30 19:06:57 +00:00
A real Hanzo-stack app forked from hanzo-starter: Vite + React 19 + @hanzo/gui (book-spine cards, cozy library) + @hanzo/iam PKCE + org-scoped @hanzo/base. Three views (shelf grid, book detail, add book) over a books collection provisioned from schema.sql. tsc + vite build green.
800 B
800 B
Agent guide
Canonical instructions for this repo live in LLM.md (and its
CLAUDE.md symlink). Read it before changing anything.
TL;DR: Vite + React 19 + @hanzo/gui + @hanzo/iam + @hanzo/base. Keep it
minimal and real. @hanzo/gui needs the react-native-web alias + Tamagui
defines in vite.config.ts and uses Tamagui LONGHAND props (tsc enforces this);
Button takes no color prop, so custom-coloured controls are composed via the
Btn primitive (XStack + Text). Do NOT wrap content in <LinearGradient> —
it washes children out under Vite; use a YStack with a CSS backgroundImage
gradient. schema.sql is the Base data contract (books). Prove changes with
npm run build (tsc + vite). Never build a container image locally — Hanzo Cloud
owns deploys.