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.6 KiB
1.6 KiB
Requests from the Platform + Cloud chat (/platform and the /cloud/* template)
1. components/Ask.jsx (owner: chrome): no floating bar on desktop
MASTER 3.2 rule 6 and 3.3: "No floating pill bar or panel over content on desktop", "Anything floating over content: a pill bar … fails".
On desktop the site ask bar (.x-ask, bottom centre) still floats over page content after the hero.
Asked:
- On desktop (≥ 900px) carry the page's ask in the sticky header only (the header's quiet ask takes the label of the page's
data-thumb), and show no bottom bar. - Keep the phone bar as it is (slim, steps aside for the page's own ask,
[data-ask-hide], the footer and.x-band).
Until then /platform marks its two pinned scenes (the map and the plane-by-plane chapters) data-ask-hide, because their own controls sit on the bottom edge. The /cloud/* template no longer hides the bar anywhere.
2. components/kit.jsx (owner: kit)
Band: acceptid(and pass it to itsCta) so the closing primary carriesdata-ctalike every other primary (MASTER part 4 and 18). /platform would passplatform.band, cloud pagescloud.<slug>.band.Copy(used byCodeBlock): show the tick only whennavigator.clipboard.writeTextresolves; on failure keep the label (MASTER part 4: "failure never says Copied").PageHeroand an island error boundary (MASTER parts 3 and 17) are named in the 18-part card but are not in the kit yet.
3. lib/ (owner: conductor)
lib/cta.js (labels and hrefs) and lib/track.js (events) are named in MASTER parts 1 and 18 but do not exist. Both pages keep Hanzo's own labels and one href constant, and send no events, until they do.