File size: 20,479 Bytes
37c8390 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 | <!DOCTYPE html>
<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 – Longevity Platform</title>
<link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🌿</text></svg>">
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<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>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#A5D6A7',
'primary-dark': '#81C784',
'primary-light': '#C8E6C9',
},
fontFamily: {
'thai': ['Prompt', 'sans-serif'],
}
}
}
}
</script>
</head>
<body class="font-thai bg-gray-50 text-gray-800 min-h-screen pb-16">
<!-- Fixed Header -->
<header class="fixed top-0 left-0 right-0 bg-white shadow-sm z-40 px-4 py-3">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-2">
<div class="w-10 h-10 bg-primary rounded-lg flex items-center justify-center">
<span class="text-white font-bold">WP</span>
</div>
<span class="text-sm font-semibold">WELLNET</span>
</div>
<div class="flex items-center space-x-4">
<button class="relative p-2 hover:bg-gray-100 rounded-lg transition-colors">
<i data-feather="bell" class="w-5 h-5"></i>
<span class="absolute top-1 right-1 w-2 h-2 bg-red-500 rounded-full"></span>
</button>
<button class="relative p-2 hover:bg-gray-100 rounded-lg transition-colors">
<i data-feather="user" class="w-5 h-5"></i>
</button>
</div>
</div>
</header>
<!-- Main Content -->
<main class="pt-16 px-4 space-y-6">
<!-- Dashboard Section -->
<section id="dashboard" class="py-6">
<h2 class="text-2xl font-bold mb-4">หน้าหลัก</h2>
<!-- Biological Age Card -->
<div class="bg-gradient-to-br from-primary to-primary-light rounded-2xl p-6 text-white shadow-lg mb-6">
<div class="text-center">
<p class="text-sm opacity-90 mb-2">อายุชีวภาพปัจจุบัน</p>
<div class="flex items-center justify-center space-x-4">
<div>
<p class="text-4xl font-bold">34</p>
<p class="text-xs opacity-75">ปี</p>
</div>
<div class="text-2xl">↓</div>
<div>
<p class="text-2xl font-semibold">38</p>
<p class="text-xs opacity-75">อายุจริง</p>
</div>
</div>
<div class="mt-4 bg-white/20 rounded-full h-3 overflow-hidden">
<div class="bg-white h-full rounded-full" style="width: 65%"></div>
</div>
<p class="text-xs mt-2 opacity-90">ลดลง 65% ของเป้าหมาย</p>
</div>
</div>
<!-- Health Summary Bars -->
<div class="grid grid-cols-2 gap-3 mb-6">
<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-600">HRV</span>
<span class="text-xs font-semibold text-primary">ดี</span>
</div>
<div class="bg-gray-200 rounded-full h-2">
<div class="bg-primary h-full rounded-full" style="width: 75%"></div>
</div>
</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-600">ความเครียด</span>
<span class="text-xs font-semibold text-yellow-500">ปานกลาง</span>
</div>
<div class="bg-gray-200 rounded-full h-2">
<div class="bg-yellow-400 h-full rounded-full" style="width: 45%"></div>
</div>
</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-600">การนอนหลับ</span>
<span class="text-xs font-semibold text-primary">ยอดเยี่ยม</span>
</div>
<div class="bg-gray-200 rounded-full h-2">
<div class="bg-primary h-full rounded-full" style="width: 85%"></div>
</div>
</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-600">กล้ามเนื้อ</span>
<span class="text-xs font-semibold text-primary">ดี</span>
</div>
<div class="bg-gray-200 rounded-full h-2">
<div class="bg-primary h-full rounded-full" style="width: 70%"></div>
</div>
</div>
</div>
</section>
<!-- AI Analysis Section -->
<section id="ai-analysis" class="py-6 bg-white rounded-2xl p-4 shadow-sm">
<h3 class="text-lg font-bold mb-4">ระบบวิเคราะห์ชีวภาพ</h3>
<button class="w-full bg-primary text-white rounded-xl py-3 font-semibold hover:bg-primary-dark transition-colors mb-4">
<i data-feather="refresh-cw" class="inline w-4 h-4 mr-2"></i>
วิเคราะห์ใหม่
</button>
<div class="space-y-3">
<div class="bg-primary-light/30 rounded-lg p-3">
<p class="text-sm font-medium mb-1">Smart Band ล่าสุด</p>
<p class="text-xs text-gray-600">HRV: 42ms | การนอน: 7.5 ชม. | ก้าว: 8,234</p>
</div>
<div class="bg-primary-light/30 rounded-lg p-3">
<p class="text-sm font-medium mb-1">MyScale ล่าสุด</p>
<p class="text-xs text-gray-600">น้ำหนัก: 68.2kg | ไขมัน: 18.5% | กล้ามเนื้อ: 45.2%</p>
</div>
<div class="bg-yellow-50 rounded-lg p-3">
<p class="text-xs font-semibold text-yellow-800 mb-2">แนะนำจาก AI วันนี้</p>
<p class="text-xs text-gray-700">• นอนเร็วขึ้น 15 นาทีคืนนี้</p>
<p class="text-xs text-gray-700">• เดินเพิ่มอีก 2,000 ก้าว</p>
<p class="text-xs text-gray-700">• ดื่มน้ำมากขึ้น 500ml</p>
</div>
</div>
</section>
<!-- 90-Day Longevity Plan -->
<section id="longevity-plan" class="py-6">
<h3 class="text-lg font-bold mb-4">แผนย้อนวัย 90 วัน</h3>
<div class="bg-white rounded-2xl shadow-sm overflow-hidden">
<div class="bg-gradient-to-r from-primary to-primary-light p-4">
<div class="flex justify-between items-center text-white">
<span class="text-sm">วันที่ 15 ของ 90</span>
<span class="text-sm font-semibold">16.7%</span>
</div>
</div>
<div class="p-4 space-y-3">
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
<div>
<p class="text-sm font-medium">วันนี้ (วันที่ 15)</p>
<p class="text-xs text-gray-600">กิน ADEK, เดิน 6,000 ก้าว</p>
</div>
<button class="bg-green-100 text-green-600 px-3 py-1 rounded-full text-xs font-semibold">
สำเร็จ
</button>
</div>
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
<div>
<p class="text-sm font-medium">พรุ่งนี้ (วันที่ 16)</p>
<p class="text-xs text-gray-600">หลีกเลี่ยงกาแฟ, โยคะ 15 นาที</p>
</div>
<button class="bg-gray-200 text-gray-600 px-3 py-1 rounded-full text-xs font-semibold">
รอดำเนินการ
</button>
</div>
</div>
</div>
</section>
<!-- Tracking Section -->
<section id="tracking" class="py-6">
<h3 class="text-lg font-bold mb-4">ระบบติดตามร่างกาย</h3>
<div class="bg-white rounded-2xl p-4 shadow-sm">
<div class="flex space-x-2 mb-4">
<button class="px-3 py-1 bg-primary text-white rounded-full text-xs font-semibold">7 วัน</button>
<button class="px-3 py-1 bg-gray-200 text-gray-600 rounded-full text-xs font-semibold">30 วัน</button>
</div>
<div class="space-y-4">
<div>
<div class="flex justify-between items-center mb-1">
<span class="text-xs font-medium">Fat %</span>
<span class="text-xs text-gray-600">18.5% → 17.8%</span>
</div>
<canvas id="fatChart" class="w-full h-20"></canvas>
</div>
<div>
<div class="flex justify-between items-center mb-1">
<span class="text-xs font-medium">คุณภาพการนอน</span>
<span class="text-xs text-gray-600">78%</span>
</div>
<div class="flex space-x-1">
<div class="flex-1 bg-green-400 h-2 rounded"></div>
<div class="flex-1 bg-green-400 h-2 rounded"></div>
<div class="flex-1 bg-yellow-400 h-2 rounded"></div>
<div class="flex-1 bg-green-400 h-2 rounded"></div>
<div class="flex-1 bg-green-400 h-2 rounded"></div>
<div class="flex-1 bg-red-400 h-2 rounded"></div>
<div class="flex-1 bg-green-400 h-2 rounded"></div>
</div>
</div>
<button class="w-full py-2 border border-primary text-primary rounded-lg text-sm font-medium hover:bg-primary-light transition-colors">
<i data-feather="plus" class="inline w-4 h-4 mr-1"></i>
บันทึกเหตุการณ์พิเศษ
</button>
</div>
</div>
</section>
<!-- Product Recommendations -->
<section id="products" class="py-6">
<h3 class="text-lg font-bold mb-4">ร้านค้าแนะนำ</h3>
<div class="space-y-3">
<div class="bg-white rounded-xl p-4 shadow-sm">
<div class="flex items-start space-x-3">
<img src="https://static.photos/health/80x80/1" alt="Product" class="w-20 h-20 rounded-lg object-cover">
<div class="flex-1">
<p class="text-sm font-semibold">Resveratrol Plus</p>
<p class="text-xs text-gray-600 mb-2">คุณควรเพิ่มเพื่อต้านอนุมูลอิสระ</p>
<div class="flex items-center justify-between">
<span class="text-sm font-bold text-primary">฿890</span>
<button class="bg-primary text-white px-3 py-1 rounded-lg text-xs font-semibold">
สั่งซื้อทันที
</button>
</div>
</div>
</div>
</div>
<div class="bg-yellow-50 rounded-xl p-3">
<p class="text-xs font-semibold text-yellow-800 mb-1">🎉 ส่วนลดสมาชิก Longevity Club</p>
<p class="text-xs text-gray-700">รับส่วนลด 15% สำหรับสมาชิก</p>
</div>
</div>
</section>
<!-- Auto-Reorder System -->
<section id="reorder" class="py-6">
<h3 class="text-lg font-bold mb-4">ระบบซื้อซ้ำอัตโนมัติ</h3>
<div class="bg-white rounded-xl p-4 shadow-sm space-y-3">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium">ADEK Complete</p>
<p class="text-xs text-gray-600">ครั้งต่อไป: 5 วัน</p>
</div>
<button class="bg-primary text-white px-4 py-2 rounded-lg text-xs font-semibold">
ซื้อซ้ำ 1 คลิก
</button>
</div>
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium">Sleep Support</p>
<p class="text-xs text-gray-600">ครั้งต่อไป: 12 วัน</p>
</div>
<button class="bg-gray-200 text-gray-700 px-4 py-2 rounded-lg text-xs font-semibold">
ตั้งค่า
</button>
</div>
</div>
</section>
<!-- Mission & Reward -->
<section id="rewards" class="py-6">
<h3 class="text-lg font-bold mb-4">Mission & Reward</h3>
<div class="bg-gradient-to-br from-purple-500 to-pink-500 rounded-2xl p-4 text-white shadow-lg">
<div class="text-center mb-4">
<p class="text-2xl font-bold">750</p>
<p class="text-xs opacity-90">แต้มสะสม</p>
</div>
<div class="bg-white/20 rounded-lg p-3 mb-3">
<p class="text-xs font-semibold mb-1">ภารกิจปัจจุบัน</p>
<p class="text-xs">ทำภารกิจครบ 5 วันต่อเนื่อง → รับ 100 แต้ม</p>
<div class="mt-2 bg-white/30 rounded-full h-2">
<div class="bg-white h-full rounded-full" style="width: 60%"></div>
</div>
</div>
<div class="flex space-x-2">
<div class="flex-1 bg-white/20 rounded-lg p-2 text-center">
<span class="text-lg">🏆</span>
<p class="text-xs mt-1">BioAge Warrior</p>
</div>
<div class="flex-1 bg-white/20 rounded-lg p-2 text-center">
<span class="text-lg">😴</span>
<p class="text-xs mt-1">Sleep Master</p>
</div>
<div class="flex-1 bg-white/20 rounded-lg p-2 text-center">
<span class="text-lg">💪</span>
<p class="text-xs mt-1">Step Champion</p>
</div>
</div>
</div>
</section>
<!-- BioCoach Connection -->
<section id="biocoach" class="py-6">
<h3 class="text-lg font-bold mb-4">เชื่อมต่อ BioCoach</h3>
<div class="bg-white rounded-xl p-4 shadow-sm">
<div class="flex items-center space-x-3 mb-4">
<img src="https://static.photos/people/60x60/2" alt="Coach" class="w-14 h-14 rounded-full object-cover">
<div>
<p class="text-sm font-semibold">คุณสมชาย ใจดี</p>
<p class="text-xs text-gray-600">BioCoach มืออาชีพ | ประสบการณ์ 5 ปี</p>
</div>
</div>
<div class="grid grid-cols-3 gap-2">
<button class="py-2 bg-primary text-white rounded-lg text-xs font-semibold">
<i data-feather="message-circle" class="inline w-3 h-3"></i> แชท
</button>
<button class="py-2 bg-gray-200 text-gray-700 rounded-lg text-xs font-semibold">
<i data-feather="video" class="inline w-3 h-3"></i> วิดีโอคอล
</button>
<button class="py-2 bg-gray-200 text-gray-700 rounded-lg text-xs font-semibold">
<i data-feather="file-text" class="inline w-3 h-3"></i> ถาม
</button>
</div>
</div>
</section>
</main>
<!-- Bottom Navigation -->
<nav class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 z-40">
<div class="grid grid-cols-5 py-2">
<button class="flex flex-col items-center py-2 text-primary">
<i data-feather="home" class="w-5 h-5"></i>
<span class="text-xs mt-1">หน้าหลัก</span>
</button>
<button class="flex flex-col items-center py-2 text-gray-500">
<i data-feather="activity" class="w-5 h-5"></i>
<span class="text-xs mt-1">วิเคราะห์</span>
</button>
<button class="flex flex-col items-center py-2 text-gray-500">
<i data-feather="calendar" class="w-5 h-5"></i>
<span class="text-xs mt-1">แผน</span>
</button>
<button class="flex flex-col items-center py-2 text-gray-500">
<i data-feather="shopping-cart" class="w-5 h-5"></i>
<span class="text-xs mt-1">สินค้า</span>
</button>
<button class="flex flex-col items-center py-2 text-gray-500">
<i data-feather="award" class="w-5 h-5"></i>
<span class="text-xs mt-1">รางวัล</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> |