Add Hardware tab with sensor stills next to UI previews.

Map each firmware project to a Commons or original module photo for local catalog browsing.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-23 16:09:20 +08:00
parent 24c740174e
commit b083da50b1
26 changed files with 232 additions and 38 deletions

View File

@@ -51,6 +51,8 @@ After rebuilding a project, run its `firmware\export_from_build.ps1`, then click
Preferred card preview: **`media/preview.html`** — HTML recreation of the on-device LVGL UI (320×240). Auto-detected if present.
Cards also offer a **Hardware** tab (sensor / module still). Mapping lives in `lib/sensor-media.ts`; images under `public/sensors/` (see `ATTRIBUTION.md`).
Optional `meta.json` beside the `.bin` files:
```json