mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
1.4 KiB
1.4 KiB
Requests from /ui
- components/Ask.jsx (shared header ask, phones): at ≤ 700px the header keeps a solid "Try Hanzo" for the whole page, so a page whose own ask is "GitHub" (
data-thumb) shows two solid asks with different words on its first screen and at its close. The phone bar ("GitHub →") appears only where nothing sits under it, which on /ui is about 100px of scroll. Asked for: on phones, do what desktop does: the header button goes quiet while the page'sdata-thumbask is on screen and carries the page's ask (label and link) after it. Until then /ui outlines its own "GitHub" / "View on GitHub" on phones (UiPage.css,@media (max-width: 700px)), so one solid shows per screen. - components/v2/Settle.jsx (reduced motion): it reads
useReducedMotion()during render and switches its inline style (transform: noneagainsttranslateY(10px)), so the server HTML and the first client render differ for a reduced-motion visitor: a hydration mismatch and Next's red "1 Issue" badge on every such cold load. Asked for: render the same style on the server and the first client render and apply reduced motion after mount (state set in an effect) or in CSS. /ui now uses a page-local Stage that does this, as /treasury does. - components/v2/Scale.css
.w2-cta: base#0a0a0band hover#2c2c2eare not deck values. Asked for:#0a0a0aand#262626. /ui overrides them page-locally.