diff --git a/docs/superpowers/specs/2026-06-01-qr-decode-design.md b/docs/superpowers/specs/2026-06-01-qr-decode-design.md index 9b833c6..7e78420 100644 --- a/docs/superpowers/specs/2026-06-01-qr-decode-design.md +++ b/docs/superpowers/specs/2026-06-01-qr-decode-design.md @@ -67,9 +67,9 @@ tweak and CSS. with the label `📷 scan to connect` (accurate now that it decodes), plus - a hidden `` used only for the fallback path. - This single shared component already drives all three placements (profile, - `/e/{token}` scan-landing, and `/events/{token}` event detail), so they all - inherit the scanner automatically. + This single shared component drives all four placements (profile, + `/e/{token}` scan-landing, `/events/{token}` event detail, and the logged-in + home dashboard at `/`), so they all inherit the scanner automatically. - **CSS** (`web/resources/static/css/terminal.css`) — new overlay/viewfinder styles. The existing mobile-only `.camera-scan` rule (`display:none` above 768px) is unchanged, keeping the button mobile-only. @@ -147,6 +147,8 @@ tweak and CSS. - `web/resources/static/js/qr-scan.js` — new module. - `features/common/layouts/camerabutton.templ` — button markup change (+ regenerated `*_templ.go`). +- `features/index/pages/index.templ` — add the shared button to the logged-in + home dashboard, under the QR flip card (+ regenerated `*_templ.go`). - `features/common/layouts/base.templ` — script includes (+ regenerated `*_templ.go`). - `web/resources/static/css/terminal.css` — overlay styles.