mirror of
https://github.com/hanzoai/help-site.git
synced 2026-10-30 14:39:12 +00:00
The page mounts the docs.hanzo.ai wiring: @hanzo/event sends the pageview to api.hanzo.ai/v1/event with project hanzo-help's publishable key, startTags loads the site's GA4 and Meta tags from cloud once the visitor consents, and @hanzo/ui/consent is the banner. main did not build: the page imported a Section that no published @hanzo/ui exports, and the layout read GeistSans from @hanzo/font, which was not a dependency and exports Zen. The page now lays its rows out with a local Band, the layout binds Zen and ZenMono, and @hanzo/font is declared. @hanzo/ui 8.29.12 registers its gui config, so stacks type against the v5 shorthands, and the page moves to them. Its stylesheet is imported in the layout. Overrides keep one gui and one event client in the tree. hanzo.yml and the hanzoai/ci caller type-check, build out/ and publish it as Sites project hanzo-help on every push to main.
17 lines
489 B
YAML
17 lines
489 B
YAML
# Read by hanzoai/ci (.github/workflows/cicd.yml). A Next static export: each
|
|
# push to main type-checks, builds out/ and publishes it to the Sites plane as
|
|
# project `hanzo-help`, the project whose key the page sends with.
|
|
test:
|
|
- name: typecheck
|
|
run: pnpm install --frozen-lockfile && pnpm typecheck
|
|
|
|
site:
|
|
slug: hanzo-help
|
|
dir: out
|
|
build: pnpm install --frozen-lockfile && pnpm build
|
|
on: [main]
|
|
|
|
# The KMS tenant that holds the Sites plane deploy token.
|
|
kms:
|
|
org: hanzo
|