Commit Graph
6 Commits
Author SHA1 Message Date
zeekay 83109f13b1 fix: force new chunk hash for ZenEnso circle logo
CF CDN was serving cached JS chunks with old bezier path.
Adding data-v attribute to force a new webpack chunk hash
so the CDN serves the updated circle-based SVG.
2026-03-03 13:39:39 -08:00
zeekay 9ad2fe3983 fix: ZenEnso uses SVG <circle> for geometrically perfect logo
Replace hand-drawn bezier path (M256 74 C154...) with SVG <circle>
element. The old path had a visible bend near the top. The new
implementation uses r=172, stroke-dasharray for the draw animation,
and starts drawing from 12 o'clock via rotate(-90).
2026-03-03 08:08:29 -08:00
zeekay 3446dab6d0 feat(zen-docs): floating pill nav with Try Zen CTA
Replace fumadocs HomeLayout default nav with a fixed floating pill nav:
- Frosted glass pill (rounded-full) centered at top of viewport
- Logo (ZenEnso 24px) + Zen LM wordmark on left
- Desktop: Models / API / Pricing / Training nav links
- Far right: Login (hanzo.id) + 'Try Zen' CTA (white pill → hanzo.chat)
- Mobile: hamburger → dropdown with same links + CTAs
- Expands to rounded-2xl on mobile open, rounded-full when closed
2026-03-01 16:19:19 -08:00
zeekay b0ced5d600 chore(zen-docs): switch to @zenlm/ui and @zenlm/models workspace packages
Replace cross-repo @hanzo/ui/models and @hanzo/zen-models references with
self-contained workspace packages @zenlm/ui and @zenlm/models. This eliminates
the CI ENOENT failure caused by the file:../../../ui/pkg/ui cross-repo path.

- components/ModelTable.tsx: @hanzo/ui/models → @zenlm/ui
- components/ZenEnso.tsx: @hanzo/ui/models → @zenlm/ui
- app/(home)/ModelLibrary.tsx: @hanzo/ui/models + @hanzo/zen-models → @zenlm/ui + @zenlm/models
- app/(home)/page.tsx: @hanzo/zen-models → @zenlm/models
- package.json: remove @hanzo/ui, @hanzo/zen-models; add @zenlm/ui, @zenlm/models workspace:*
2026-03-01 15:31:20 -08:00
zeekay 0f6968556b feat(zen-docs): add shared model components, fix /docs/models page, add blog
Model components:
- Add ModelTable, ZenEnso, ZenLoader components (thin wrappers over @hanzo/ui/models)
- Register ModelTable in client-components.tsx and page.tsx components map
- Rewrite /docs/models.mdx — replace broken DynamicModelTable (dead API)
  with ModelTable using static @hanzo/zen-models data
- Add individual model detail pages (zen3, zen4, zen5 variants)

zen-models:
- Fix zen3 family name: "Zen 3 Multimodal" → "Zen 3"
- Update zen3 description: "Previous generation API models..."

Blog:
- Add blog route (app/blog/, content/blog/)
- Add 30+ zen/hanzo-branded technical blog posts
- Brand-clean: excludes upstream-named posts

Home:
- Update ModelLibrary, layout, page, DownloadSection
- Add not-found page
2026-03-01 15:21:40 -08:00
zeekay 5aeaf64bf9 Make all model pricing dynamic via pricing.hanzo.ai API
Replace hardcoded model prices across all docs surfaces with
client-side fetches from pricing.hanzo.ai/v1/pricing. Static
fallback values remain in zen-models for SSR/build time.

Changes:
- zen-models: fix 10 wrong static prices, add fetchPricing() API
- zen-docs: new DynamicModelTable component for MDX pages
- zen-docs: pricing.mdx, models.mdx, api/models.mdx, index.mdx
  all use dynamic tables instead of hardcoded price columns
- platform: extract DynamicAiModels component, remove static array
- bot-docs: extract DynamicTokenPricing, fetch live per-1K rates
2026-02-27 11:44:28 -08:00