Files

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's data-thumb ask 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: none against translateY(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 #0a0a0b and hover #2c2c2e are not deck values. Asked for: #0a0a0a and #262626. /ui overrides them page-locally.