Spaces:
Running
Running
Download index.html from CSNET/wellnet-bioage: direct link, hf CLI and curl.
- Browser
- Download file 29.5 kB
-
https://huggingface.co/spaces/CSNET/wellnet-bioage/resolve/main/index.html
- Command line
-
hf download hf://spaces/CSNET/wellnet-bioage/index.html
-
curl -L -o index.html https://huggingface.co/spaces/CSNET/wellnet-bioage/resolve/main/index.html
29.5 kB
| <html lang="th"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
| <title>WP WELLNET - แพลตฟอร์มอายุสุขภาพ</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <link rel="stylesheet" href="style.css"> | |
| <link href="https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| </head> | |
| <body class="font-prompt bg-gray-50 min-h-screen"> | |
| <!-- Header --> | |
| <header class="bg-white shadow-sm fixed top-0 left-0 right-0 z-50"> | |
| <div class="flex items-center justify-between px-4 py-3"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-8 h-8 bg-green-400 rounded-lg flex items-center justify-center"> | |
| <span class="text-white font-bold text-sm">WP</span> | |
| </div> | |
| <span class="font-semibold text-gray-800">WELLNET</span> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="relative"> | |
| <i data-feather="bell" class="w-5 h-5 text-gray-600"></i> | |
| <span class="absolute -top-1 -right-1 w-2 h-2 bg-red-500 rounded-full"></span> | |
| </button> | |
| <button class="w-8 h-8 bg-gray-200 rounded-full flex items-center justify-center"> | |
| <i data-feather="user" class="w-4 h-4 text-gray-600"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="pt-14 pb-20 px-4"> | |
| <!-- Dashboard View --> | |
| <div id="dashboard-view" class="view"> | |
| <!-- Age Display --> | |
| <div class="bg-gradient-to-r from-green-400 to-green-500 rounded-2xl p-6 mt-4 text-white shadow-lg"> | |
| <h2 class="text-lg font-semibold mb-2">อายุจริงของคุณ</h2> | |
| <div class="flex items-baseline space-x-3"> | |
| <span class="text-3xl font-bold">42</span> | |
| <span class="text-lg">ปี</span> | |
| </div> | |
| <div class="mt-3 flex items-center space-x-2"> | |
| <i data-feather="trending-down" class="w-4 h-4"></i> | |
| <span class="text-sm">อายุสุขภาพ: 46 ปี</span> | |
| </div> | |
| </div> | |
| <!-- Progress Circle --> | |
| <div class="bg-white rounded-2xl p-6 mt-4 shadow-md"> | |
| <div class="flex items-center justify-between"> | |
| <div class="relative w-32 h-32"> | |
| <svg class="transform -rotate-90 w-32 h-32"> | |
| <circle cx="64" cy="64" r="56" stroke="#E5E7EB" stroke-width="12" fill="none"></circle> | |
| <circle cx="64" cy="64" r="56" stroke="#A5D6A7" stroke-width="12" fill="none" | |
| stroke-dasharray="351.86" stroke-dashoffset="88" stroke-linecap="round"></circle> | |
| </svg> | |
| <div class="absolute inset-0 flex flex-col items-center justify-center"> | |
| <span class="text-2xl font-bold text-gray-800">75%</span> | |
| <span class="text-xs text-gray-500">ความสำเร็จ</span> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="font-semibold text-gray-800">เป้าหมาย</h3> | |
| <p class="text-sm text-gray-600 mt-1">อายุสุขภาพ 38 ปี</p> | |
| <p class="text-xs text-green-500 mt-1">สำเร็จ 8 ปีแล้ว</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Health Metrics Cards --> | |
| <div class="grid grid-cols-2 gap-3 mt-4"> | |
| <div class="bg-white rounded-xl p-4 shadow-sm"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-xs text-gray-500">HRV</span> | |
| <i data-feather="activity" class="w-4 h-4 text-green-500"></i> | |
| </div> | |
| <span class="text-xl font-semibold text-gray-800">47</span> | |
| <span class="text-xs text-gray-500 ml-1">ms</span> | |
| </div> | |
| <div class="bg-white rounded-xl p-4 shadow-sm"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-xs text-gray-500">คุณภาพการนอน</span> | |
| <i data-feather="moon" class="w-4 h-4 text-blue-500"></i> | |
| </div> | |
| <span class="text-xl font-semibold text-gray-800">78</span> | |
| <span class="text-xs text-gray-500 ml-1">%</span> | |
| </div> | |
| <div class="bg-white rounded-xl p-4 shadow-sm"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-xs text-gray-500">ความเครียด</span> | |
| <i data-feather="alert-circle" class="w-4 h-4 text-yellow-500"></i> | |
| </div> | |
| <span class="text-lg font-semibold text-gray-800">ปานกลาง</span> | |
| </div> | |
| <div class="bg-white rounded-xl p-4 shadow-sm"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-xs text-gray-500">% ไขมัน</span> | |
| <i data-feather="trending-down" class="w-4 h-4 text-green-500"></i> | |
| </div> | |
| <span class="text-xl font-semibold text-gray-800">27</span> | |
| <span class="text-xs text-gray-500 ml-1">%</span> | |
| </div> | |
| <div class="bg-white rounded-xl p-4 shadow-sm"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-xs text-gray-500">กล้ามเนื้อ</span> | |
| <i data-feather="zap" class="w-4 h-4 text-orange-500"></i> | |
| </div> | |
| <span class="text-xl font-semibold text-gray-800">32.5</span> | |
| <span class="text-xs text-gray-500 ml-1">กก.</span> | |
| </div> | |
| <div class="bg-white rounded-xl p-4 shadow-sm"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-xs text-gray-500">น้ำหนัก</span> | |
| <i data-feather="monitor" class="w-4 h-4 text-purple-500"></i> | |
| </div> | |
| <span class="text-xl font-semibold text-gray-800">72.3</span> | |
| <span class="text-xs text-gray-500 ml-1">กก.</span> | |
| </div> | |
| <div class="bg-white rounded-xl p-4 shadow-sm col-span-2"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-xs text-gray-500">BMR</span> | |
| <i data-feather="flame" class="w-4 h-4 text-red-500"></i> | |
| </div> | |
| <span class="text-xl font-semibold text-gray-800">1,520</span> | |
| <span class="text-xs text-gray-500 ml-1">kcal/วัน</span> | |
| </div> | |
| </div> | |
| <!-- Analyze Button --> | |
| <button class="w-full bg-green-500 text-white rounded-xl py-4 mt-6 font-semibold shadow-lg hover:bg-green-600 transition"> | |
| วิเคราะห์สุขภาพอัตโนมัติใหม่ | |
| </button> | |
| </div> | |
| <!-- Plan View --> | |
| <div id="plan-view" class="view hidden"> | |
| <h2 class="text-xl font-bold text-gray-800 mt-4 mb-4">แผนย้อนวัย 90 วัน</h2> | |
| <!-- Progress Bar --> | |
| <div class="bg-white rounded-xl p-4 shadow-sm mb-4"> | |
| <div class="flex justify-between text-sm mb-2"> | |
| <span class="text-gray-600">ความคืบหน้า</span> | |
| <span class="font-semibold text-green-600">23/90 วัน</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-3"> | |
| <div class="bg-gradient-to-r from-green-400 to-green-500 h-3 rounded-full" style="width: 25.6%"></div> | |
| </div> | |
| </div> | |
| <!-- Calendar Tasks --> | |
| <div class="space-y-3"> | |
| <div class="bg-white rounded-xl p-4 shadow-sm"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <h3 class="font-semibold text-gray-800">จันทร์ที่ผ่านมา</h3> | |
| <span class="text-xs bg-green-100 text-green-600 px-2 py-1 rounded-full">เสร็จสิ้น</span> | |
| </div> | |
| <div class="space-y-2"> | |
| <div class="flex items-center space-x-2"> | |
| <input type="checkbox" checked class="w-4 h-4 text-green-500"> | |
| <span class="text-sm text-gray-600 line-through">ADEK เช้า</span> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <input type="checkbox" checked class="w-4 h-4 text-green-500"> | |
| <span class="text-sm text-gray-600 line-through">งดกาแฟ</span> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <input type="checkbox" checked class="w-4 h-4 text-green-500"> | |
| <span class="text-sm text-gray-600 line-through">6,000 ก้าว ✅</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl p-4 shadow-sm"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <h3 class="font-semibold text-gray-800">อังคารที่ผ่านมา</h3> | |
| <span class="text-xs bg-green-100 text-green-600 px-2 py-1 rounded-full">เสร็จสิ้น</span> | |
| </div> | |
| <div class="space-y-2"> | |
| <div class="flex items-center space-x-2"> | |
| <input type="checkbox" checked class="w-4 h-4 text-green-500"> | |
| <span class="text-sm text-gray-600 line-through">NMN ครึ่งเช้า</span> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <input type="checkbox" checked class="w-4 h-4 text-green-500"> | |
| <span class="text-sm text-gray-600 line-through">นอน 7 ชม.</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl p-4 shadow-sm"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <h3 class="font-semibold text-gray-800">วันนี้ - พุธ</h3> | |
| <span class="text-xs bg-yellow-100 text-yellow-600 px-2 py-1 rounded-full">กำลังทำ</span> | |
| </div> | |
| <div class="space-y-2"> | |
| <div class="flex items-center space-x-2"> | |
| <input type="checkbox" class="w-4 h-4 text-green-500"> | |
| <span class="text-sm text-gray-600">เดินเร็ว 20 นาที</span> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <input type="checkbox" class="w-4 h-4 text-green-500"> | |
| <span class="text-sm text-gray-600">Magnesium เย็น</span> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <input type="checkbox" class="w-4 h-4 text-green-500"> | |
| <span class="text-sm text-gray-600">อ่านหนังสือ 30 นาที</span> | |
| </div> | |
| </div> | |
| <button class="w-full bg-green-500 text-white rounded-lg py-2 mt-3 text-sm font-medium"> | |
| ทำภารกิจแล้ว | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Graph View --> | |
| <div id="graph-view" class="view hidden"> | |
| <h2 class="text-xl font-bold text-gray-800 mt-4 mb-4">กราฟสุขภาพ</h2> | |
| <!-- Time Period Selector --> | |
| <div class="flex space-x-2 mb-4"> | |
| <button class="flex-1 bg-green-500 text-white py-2 rounded-lg text-sm font-medium">7 วัน</button> | |
| <button class="flex-1 bg-white text-gray-600 py-2 rounded-lg text-sm font-medium border">30 วัน</button> | |
| <button class="flex-1 bg-white text-gray-600 py-2 rounded-lg text-sm font-medium border">90 วัน</button> | |
| </div> | |
| <!-- HRV Graph --> | |
| <div class="bg-white rounded-xl p-4 shadow-sm mb-4"> | |
| <h3 class="font-semibold text-gray-800 mb-3 flex items-center"> | |
| <i data-feather="activity" class="w-4 h-4 mr-2 text-green-500"></i> | |
| HRV (ms) | |
| </h3> | |
| <canvas id="hrvChart" width="300" height="150"></canvas> | |
| </div> | |
| <!-- Sleep Quality Graph --> | |
| <div class="bg-white rounded-xl p-4 shadow-sm mb-4"> | |
| <h3 class="font-semibold text-gray-800 mb-3 flex items-center"> | |
| <i data-feather="moon" class="w-4 h-4 mr-2 text-blue-500"></i> | |
| คุณภาพการนอน (%) | |
| </h3> | |
| <canvas id="sleepChart" width="300" height="150"></canvas> | |
| </div> | |
| <!-- Weight Graph --> | |
| <div class="bg-white rounded-xl p-4 shadow-sm mb-4"> | |
| <h3 class="font-semibold text-gray-800 mb-3 flex items-center"> | |
| <i data-feather="monitor" class="w-4 h-4 mr-2 text-purple-500"></i> | |
| น้ำหนัก (กก.) | |
| </h3> | |
| <canvas id="weightChart" width="300" height="150"></canvas> | |
| </div> | |
| <!-- Body Fat Graph --> | |
| <div class="bg-white rounded-xl p-4 shadow-sm"> | |
| <h3 class="font-semibold text-gray-800 mb-3 flex items-center"> | |
| <i data-feather="trending-down" class="w-4 h-4 mr-2 text-orange-500"></i> | |
| % ไขมัน | |
| </h3> | |
| <canvas id="fatChart" width="300" height="150"></canvas> | |
| </div> | |
| </div> | |
| <!-- Products View --> | |
| <div id="products-view" class="view hidden"> | |
| <h2 class="text-xl font-bold text-gray-800 mt-4 mb-4">แนะนำสินค้าเฉพาะบุคคล</h2> | |
| <!-- Recommendation --> | |
| <div class="bg-gradient-to-r from-green-50 to-blue-50 rounded-xl p-4 mb-4"> | |
| <p class="text-sm text-gray-700">จากข้อมูลสุขภาพของคุณ เราขอแนะนำแพ็กเสริม</p> | |
| </div> | |
| <!-- Product Cards --> | |
| <div class="space-y-4"> | |
| <div class="bg-white rounded-xl shadow-sm overflow-hidden"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="font-semibold text-gray-800">แพ็ก BioAge+</h3> | |
| <span class="text-lg font-bold text-green-600">฿1,590</span> | |
| </div> | |
| <div class="space-y-1 mb-3"> | |
| <p class="text-sm text-gray-600">• NMN - ย้อนวัยระดับเซลล์</p> | |
| <p class="text-sm text-gray-600">• ADEK - วิตามินหลัก</p> | |
| <p class="text-sm text-gray-600">• MAG-5 - ผ่อนคลายประสาท</p> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="flex-1 bg-gray-100 text-gray-700 py-2 rounded-lg text-sm font-medium"> | |
| ดูรายละเอียด | |
| </button> | |
| <button class="flex-1 bg-green-500 text-white py-2 rounded-lg text-sm font-medium"> | |
| เพิ่มลงตะกร้า | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm overflow-hidden"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="font-semibold text-gray-800">แพ็ก Sleep Deep</h3> | |
| <span class="text-lg font-bold text-green-600">฿990</span> | |
| </div> | |
| <div class="space-y-1 mb-3"> | |
| <p class="text-sm text-gray-600">• Magnesium - ผ่อนคลายกล้ามเนื้อ</p> | |
| <p class="text-sm text-gray-600">• GABA - สารหลับ</p> | |
| <p class="text-sm text-gray-600">• Reishi - ลดความเครียด</p> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="flex-1 bg-gray-100 text-gray-700 py-2 rounded-lg text-sm font-medium"> | |
| ดูรายละเอียด | |
| </button> | |
| <button class="flex-1 bg-green-500 text-white py-2 rounded-lg text-sm font-medium"> | |
| เพิ่มลงตะกร้า | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Auto-purchase Section --> | |
| <div class="mt-6"> | |
| <h3 class="font-semibold text-gray-800 mb-3">ระบบซื้อซ้ำอัตโนมัติ</h3> | |
| <div class="bg-white rounded-xl p-4 shadow-sm"> | |
| <p class="text-sm text-gray-600 mb-3">คุณสั่ง NMN 30 เม็ด ครั้งล่าสุด: 15 วันก่อน</p> | |
| <button class="w-full bg-blue-500 text-white rounded-lg py-2 mb-3 text-sm font-medium"> | |
| ซื้อซ้ำใน 1 คลิก | |
| </button> | |
| <div class="flex items-center justify-between"> | |
| <span class="text-sm text-gray-600">ตั้งเตือนซื้อใหม่</span> | |
| <select class="bg-gray-100 rounded-lg px-3 py-1 text-sm"> | |
| <option>30 วัน</option> | |
| <option>45 วัน</option> | |
| <option>60 วัน</option> | |
| <option>ปิด</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Profile View --> | |
| <div id="profile-view" class="view hidden"> | |
| <h2 class="text-xl font-bold text-gray-800 mt-4 mb-4">โปรไฟล์ของฉัน</h2> | |
| <!-- User Info --> | |
| <div class="bg-white rounded-xl p-4 shadow-sm mb-4"> | |
| <div class="flex items-center space-x-4 mb-4"> | |
| <div class="w-16 h-16 bg-gradient-to-r from-green-400 to-green-500 rounded-full flex items-center justify-center"> | |
| <span class="text-white font-bold text-xl">ส</span> | |
| </div> | |
| <div> | |
| <h3 class="font-semibold text-gray-800">สุภาพร</h3> | |
| <p class="text-sm text-gray-600">อายุ 42 ปี</p> | |
| <p class="text-xs text-green-600">คะแนนสะสม: 1,250 แต้ม</p> | |
| </div> | |
| </div> | |
| <div class="space-y-2"> | |
| <div class="flex justify-between py-2 border-b"> | |
| <span class="text-sm text-gray-600">เป้าหมาย</span> | |
| <span class="text-sm font-medium">อายุสุขภาพ <40 ปี</span> | |
| </div> | |
| <div class="flex justify-between py-2 border-b"> | |
| <span class="text-sm text-gray-600">น้ำหนักเป้าหมาย</span> | |
| <span class="text-sm font-medium">68 กก.</span> | |
| </div> | |
| <div class="flex justify-between py-2"> | |
| <span class="text-sm text-gray-600">สถานะ</span> | |
| <span class="text-sm font-medium text-green-600">Bio-Warrior 🎖️</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Leaderboard --> | |
| <div class="bg-white rounded-xl p-4 shadow-sm mb-4"> | |
| <h3 class="font-semibold text-gray-800 mb-3">อันดับเดือนนี้</h3> | |
| <div class="text-center mb-3"> | |
| <span class="text-2xl font-bold text-green-600">12</span> | |
| <p class="text-xs text-gray-600">ของทั้งหมด</p> | |
| </div> | |
| <div class="space-y-2"> | |
| <div class="flex items-center space-x-3"> | |
| <span class="text-sm font-bold text-gray-400 w-4">1</span> | |
| <div class="flex-1"> | |
| <p class="text-sm font-medium">คุณ A</p> | |
| <p class="text-xs text-gray-500">ลดอายุสุขภาพ 5 ปี</p> | |
| </div> | |
| <span class="text-xs bg-yellow-100 text-yellow-600 px-2 py-1 rounded">🏆</span> | |
| </div> | |
| <div class="flex items-center space-x-3"> | |
| <span class="text-sm font-bold text-gray-400 w-4">2</span> | |
| <div class="flex-1"> | |
| <p class="text-sm font-medium">คุณ B</p> | |
| <p class="text-xs text-gray-500">ลด % ไขมัน 3.4%</p> | |
| </div> | |
| <span class="text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded">🥈</span> | |
| </div> | |
| <div class="flex items-center space-x-3"> | |
| <span class="text-sm font-bold text-gray-400 w-4">3</span> | |
| <div class="flex-1"> | |
| <p class="text-sm font-medium">คุณ C</p> | |
| <p class="text-xs text-gray-500">นอนครบ 7 ชม. 28 วัน</p> | |
| </div> | |
| <span class="text-xs bg-orange-100 text-orange-600 px-2 py-1 rounded">🥉</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Badges --> | |
| <div class="bg-white rounded-xl p-4 shadow-sm mb-4"> | |
| <h3 class="font-semibold text-gray-800 mb-3">เหรียญรางวัล</h3> | |
| <div class="flex flex-wrap gap-2"> | |
| <span class="bg-yellow-100 text-yellow-700 px-3 py-1 rounded-full text-xs font-medium">🎖️ Bio-Warrior</span> | |
| <span class="bg-blue-100 text-blue-700 px-3 py-1 rounded-full text-xs font-medium">🌙 Sleep Master</span> | |
| <span class="bg-red-100 text-red-700 px-3 py-1 rounded-full text-xs font-medium">🔥 Fat Burner</span> | |
| <span class="bg-purple-100 text-purple-700 px-3 py-1 rounded-full text-xs font-medium">💪 Strong 30</span> | |
| <span class="bg-green-100 text-green-700 px-3 py-1 rounded-full text-xs font-medium">🥗 Healthy Eater</span> | |
| </div> | |
| </div> | |
| <!-- BioCoach --> | |
| <div class="bg-gradient-to-r from-green-500 to-green-600 rounded-xl p-4 text-white"> | |
| <h3 class="font-semibold mb-2">ติดต่อ BioCoach</h3> | |
| <div class="flex items-center space-x-3 mb-3"> | |
| <div class="w-12 h-12 bg-white/20 rounded-full flex items-center justify-center"> | |
| <i data-feather="user" class="w-6 h-6"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">โค้ชจูน</p> | |
| <p class="text-xs opacity-90">Certified BioCoach (WP L2)</p> | |
| </div> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="flex-1 bg-white/20 backdrop-blur rounded-lg py-2 text-sm font-medium"> | |
| <i data-feather="message-circle" class="w-4 h-4 inline mr-1"></i> | |
| แชท | |
| </button> | |
| <button class="flex-1 bg-white text-green-600 rounded-lg py-2 text-sm font-medium"> | |
| <i data-feather="video" class="w-4 h-4 inline mr-1"></i> | |
| นัดคอล | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Purchase History --> | |
| <div class="mt-4"> | |
| <h3 class="font-semibold text-gray-800 mb-3">ประวัติการสั่งซื้อ</h3> | |
| <div class="space-y-2"> | |
| <div class="bg-white rounded-lg p-3 shadow-sm"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-sm font-medium">ADEK</p> | |
| <p class="text-xs text-gray-500">30 เม็ด • 3 กล่อง</p> | |
| </div> | |
| <span class="text-xs text-gray-500">15 ก.ย.</span> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg p-3 shadow-sm"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-sm font-medium">MAG-5</p> | |
| <p class="text-xs text-gray-500">2 กล่อง</p> | |
| </div> | |
| <span class="text-xs text-gray-500">10 ส.ค.</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Bottom Navigation --> | |
| <nav class="fixed bottom-0 left-0 right-0 bg-white border-t z-50"> | |
| <div class="flex justify-around items-center py-2"> | |
| <button class="nav-item flex flex-col items-center p-2 text-green-600" data-view="dashboard-view"> | |
| <i data-feather="home" class="w-5 h-5 mb-1"></i> | |
| <span class="text-xs">หน้าหลัก</span> | |
| </button> | |
| <button class="nav-item flex flex-col items-center p-2 text-gray-400" data-view="plan-view"> | |
| <i data-feather="calendar" class="w-5 h-5 mb-1"></i> | |
| <span class="text-xs">แผนย้อนวัย</span> | |
| </button> | |
| <button class="nav-item flex flex-col items-center p-2 text-gray-400" data-view="graph-view"> | |
| <i data-feather="trending-up" class="w-5 h-5 mb-1"></i> | |
| <span class="text-xs">กราฟสุขภาพ</span> | |
| </button> | |
| <button class="nav-item flex flex-col items-center p-2 text-gray-400" data-view="products-view"> | |
| <i data-feather="shopping-bag" class="w-5 h-5 mb-1"></i> | |
| <span class="text-xs">สินค้า</span> | |
| </button> | |
| <button class="nav-item flex flex-col items-center p-2 text-gray-400" data-view="profile-view"> | |
| <i data-feather="user" class="w-5 h-5 mb-1"></i> | |
| <span class="text-xs">โปรไฟล์</span> | |
| </button> | |
| </div> | |
| </nav> | |
| <script src="script.js"></script> | |
| <script>feather.replace();</script> | |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> | |
| </body> | |
| </html> |