Spaces:
Running
Running
Commit History
-
สร้างเว็บแอป HTML5 ไฟล์เดียวเป็นภาษาไทย (ห้ามแยกไฟล์) เป็น Mobile-first SPA สไตล์ WHOOP แต่สวยกว่า/compact สำหรับ demo นักลงทุน โดยต้องมี Metric catalog จริง 100+ ตัว และฝังเป็น JSON catalog ในไฟล์ พร้อม mock data และกราฟใช้งานจริง
Verified signatureข้อกำหนดหลัก Deliverable: โค้ด HTML5 ไฟล์เดียว เปิดใน browser ได้ทันที ใช้ Chart.js ผ่าน CDN ทำเป็น SPA (สลับ section ไม่ reload) ทุกเมนู/ทุก metric กดได้จริง มี mock data สมจริง (90–180 วัน daily + labs 6–12 ครั้ง) ทุก metric detail ต้องมี: Snapshot + Trend chart + Driver bars + 3/7/30 trend + status badge + projection + AI insight + actions มี Search + Filter by source + Group by category Theme: dark premium health-tech, gradient accent 1) ฝัง JSON Catalog ในไฟล์ (ต้องทำ!) ภายใน <script> ต้องมีตัวแปร: const METRICS_CATALOG = { "schema_version":"1.2-demo", "data_sources":[ ... ] }; โดย METRICS_CATALOG ต้องมี structure: { "schema_version": "1.2-demo", "data_sources": [ { "source_id": "smartband", "name_en": "Smartband / Wearable", "name_th": "สมาร์ทแบนด์ / อุปกรณ์สวมใส่", "description": "...", "primary_metrics": [ { "metric_id": "heart_rate", "name_en": "Heart Rate", "name_th": "อัตราการเต้นหัวใจ"…9fa900d -
initial commit
Verified signaturea92c7c5