CSNET commited on
Commit
546fc96
·
verified ·
1 Parent(s): 5ed324c

Project Name: ชีพจร (Pulse) - The Context-Aware Thai Health & Recovery Coach

Browse files

Core Objective: พัฒนา Mobile Application (iOS & Android) และระบบหลังบ้าน สำหรับติดตามสุขภาพ การฟื้นตัว และสมรรถภาพร่างกาย ที่ออกแบบมาเพื่อคนไทยโดยเฉพาะ โดยมีเป้าหมายเพื่อเป็นผู้นำตลาดแทนที่ WHOOP ในประเทศไทย

Key Differentiators (จุดขายหลัก):

Hyper-localization: Database อาหารไทย, กิจกรรม (มวยไทย, สมาธิ), และภาษาที่เข้าใจง่าย

Contextual Awareness (ระบบตระหนักรู้บริบท): เชื่อมโยงข้อมูลสุขภาพ (HRV, Sleep) เข้ากับข้อมูลสิ่งแวดล้อมจริง (AQI, สภาพอากาศ, การจราจร) เพื่อให้คำแนะนำที่แม่นยำกว่า

Actionable AI Coach: AI ที่ให้คำแนะนำเชิงปฏิบัติ (ไม่ใช่แค่แสดงข้อมูล) โดยอิงจากบริบทชีวิตของคนไทย

Holistic Tracking: ครอบคลุม ร่างกาย (Strain), การนอน (Sleep), การฟื้นตัว (Recovery), โภชนาการ (Nutrition), และ จิตใจ (Mental Wellness)

Module 1: User Onboarding & Profile (อัปเกรด)
Function 1.1: Authentication: สมัครผ่าน Email, Google, Facebook, Apple ID

Function 1.2: Profile Setup:

ข้อมูลพื้นฐาน (เพศ, วันเกิด, ส่วนสูง, น้ำหนัก)

เป้าหมายหลัก (Goal Setting): ลดน้ำหนัก, สร้างกล้าม, นอนดีขึ้น, ลดเครียด

(ใหม่) ข้อมูลไลฟ์สไตล์:

ที่อยู่ "บ้าน" และ "ที่ทำงาน" (สำหรับวิเคราะห์การจราจร)

รูปแบบการกิน (Dietary Style): ทั่วไป, ทำ IF (Intermittent Fasting), มังสวิรัติ, กินเจ (ช่วงเทศกาล)

Function 1.3: Hardware Pairing: เชื่อมต่อ Bluetooth กับ Hardware ที่รองรับ (Smartwatch, Ring, Strap)

Function 1.4: Permission Request:

Health Data: HealthKit (iOS) / Health Connect (Android)

(สำคัญ) Location (Always): สำหรับดึงข้อมูล AQI และ สภาพอากาศ

Camera: สำหรับ AI Food Log

Notifications: สำหรับการแจ้งเตือนอัจฉริยะ

Module 2: Dashboard (หน้าหลัก "วันนี้") (อัปเกรด)
Function 2.1: Main Vitals (วงกลม 3 วงหลัก):

Recovery (การฟื้นตัว): % (คำนวณจาก HRV, RHR, Sleep)

Strain (ภาระร่างกาย): คะแนน (0-21)

Sleep (การนอนหลับ): % Performance (เทียบกับ Sleep Need)

Function 2.2: (ใหม่) Contextual Vitals (ข้อมูลบริบทแวดล้อม):

การ์ดแสดงผลเล็กๆ แสดงข้อมูล Real-time ตามตำแหน่งที่อยู่

AQI/PM2.5: "คุณภาพอากาศ: ปานกลาง (65)" (ดึง API)

Weather: "ดัชนีความร้อน: 39°C (เสี่ยง)" (ดึง API)

Traffic: "เส้นทางกลับบ้าน: ติดขัด" (ดึง API)

Function 2.3: AI Coach Summary: การ์ดสรุปสั้นๆ จาก AI Coach ที่ นำข้อมูลจาก 2.2 มาใช้ (เช่น "วันนี้ฝุ่นเยอะ Recovery 60% แนะนำออกกำลังในร่ม")

Function 2.4: Quick-Log Buttons: บันทึกอาหาร, เริ่มออกกำลังกาย, บันทึกอารมณ์, (ใหม่) เริ่ม/หยุด Fasting (สำหรับคนทำ IF)

Module 3: Sleep Tracking (การนอนหลับ)
Function 3.1: Automatic Detection: ตรวจจับการนอนหลับและตื่นนอนอัตโนมัติ

Function 3.2: Sleep Stages: กราฟ (Awake, Light, Deep, REM)

Function 3.3: Sleep Metrics: Efficiency, Latency, Disturbances, Respiratory Rate

Function 3.4: Smart Alarm: ปลุกในช่วง Light Sleep

Module 4: Strain & Activity (การออกกำลังกาย) (อัปเกรด)
Function 4.1: Activity Detection: ตรวจจับกิจกรรมอัตโนมัติ (เดิน, วิ่ง)

Function 4.2: Manual Activity Logging (Thai-Centric):

หน้าจอเลือกประเภทกิจกรรม เพิ่ม List กีฬา/กิจกรรมไทย:

"มวยไทย"

"แบดมินตัน"

"เวทเทรนนิ่ง"

(ใหม่) "นั่งสมาธิ" (Samadhi)

(ใหม่) "สวดมนต์" (Chanting)

(ใหม่) "เดินจงกรม" (Walking Meditation)

(ใหม่) "เข้าวัด/ทำบุญ" (Mental Recovery)

Function 4.3: Daily Strain Score: คะแนนภาระรวมของวัน

Function 4.4: Strain Coach: AI แนะนำระดับ Strain ที่เหมาะสม (อิงตาม Recovery และ ข้อมูลบริบท เช่น "วันนี้ร้อนจัด Strain Coach แนะนำให้ลดเป้าลง 20%")

Module 5: Recovery & Readiness (การฟื้นตัว)
Function 5.1: Daily Recovery Score: แสดงผล % (คำนวณตอนตื่นนอน)

Function 5.2: Key Recovery Metrics: HRV, RHR, Skin Temperature (ถ้ามี)

Function 5.3: Recovery Insights: อธิบายว่าทำไมวันนี้ Recovery ถึงสูง/ต่ำ

Module 6: Nutrition Log (โภชนาการ) (อัปเกรด)
Function 6.1: Thai Food Database: Database อาหารไทย/ตามสั่ง/ชานมไข่มุก (ต้องสร้างเอง)

Function 6.2: AI Food Photo Logging: ถ่ายรูปอาหารไทย (เช่น กะเพราไข่ดาว) AI วิเคราะห์และบันทึก

Function 6.3: Barcode Scanner: สแกนสินค้าใน 7-Eleven, Lotus's

Function 6.4: Nutrition Summary: สรุปแคลอรี, Macros (Carb/Fat/Protein)

Function 6.5: (ใหม่) Intermittent Fasting (IF) Tracker:

ตั้งค่ารูปแบบ (16/8, 18/6)

แสดง Timer นับเวลา Fasting/Eating

แจ้งเตือนเมื่อเริ่มและจบ

Function 6.6: (ใหม่) Dietary Mode Filter:

หากผู้ใช้ตั้งค่า "กินเจ" แอปจะ Pop-up ถามช่วงเทศกาล และ AI Coach จะเปลี่ยนคำแนะนำโภชนาการ (เช่น "อย่าลืมหาโปรตีนจากถั่ว/เต้าหู้ทดแทนเนื้อสัตว์นะครับ")

Module 7: Mental Wellness & Office Syndrome (อัปเกรด)
Function 7.1: Mood Log: บันทึกอารมณ์ (Emoji)

Function 7.2: (ใหม่) Digital Stress Log:

เมื่อผู้ใช้ Log อารมณ์ "เครียด" ให้มี Quick-Tap เลือกสาเหตุ: [งาน, ครอบครัว, การจราจร, ข่าว/โซเชียล, PM2.5] (เพื่อป้อนข้อมูลให้ AI)

Function 7.3: Guided Meditation (คลังเสียงภาษาไทย):

"เสียงนำนั่งสมาธิ" (อานาปานสติ)

"เสียงนำแผ่เมตตา"

(ใหม่) "ไฟล์เสียงสวดมนต์" (Audio Tracks เช่น ชินบัญชร)

Function 7.4: Sedentary Alert (Office Syndrome): แจ้งเตือนเมื่อนั่งนาน + Pop-up ท่ากายบริหารยืดเหยียดที่โต๊ะทำงาน

Module 8: AI Coach ("ผู้ช่วยชีพจร") (อัปเกรด - นี่คือหัวใจสำคัญ)
Function 8.1: Daily/Weekly Report: สรุปรายงานสุขภาพรายวันและรายสัปดาห์

Function 8.2: Actionable Insights (The Core Logic):

ระบบต้องวิเคราะห์ความสัมพันธ์ (Correlate) ข้อมูลสุขภาพ กับ ข้อมูลบริบท (Contextual Data)

ตัวอย่าง Insight 1 (AQI): "เราสังเกตว่าค่า HRV ของคุณลดลง 15% ในคืนหลังจากวันที่ PM2.5 สูงเกิน 100 นี่อาจหมายถึงร่างกายคุณเกิดการอักเสบ วันนี้ (ที่ฝุ่นยังสูง) ลองงดออกกำลังกายกลางแจ้ง และทานอาหารต้านอักเสบดูนะครับ"

ตัวอย่าง Insight 2 (Traffic): "เมื่อวานนี้ HR ของคุณสูงค้าง (Zone 2) นาน 1 ชั่วโมง ในช่วง 18.00-19.00 น. ซึ่งตรงกับข้อมูล 'รถติดหนัก' บนเส้นทางกลับบ้

Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +272 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Pulse Coach
3
- emoji: 👁
4
- colorFrom: green
5
- colorTo: pink
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: พื้นนที่ใจ Pulse Coach ‍♂️
3
+ colorFrom: red
4
+ colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
index.html CHANGED
@@ -1,19 +1,272 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="th" class="scroll-smooth">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>ชีพจร - ผู้ช่วยสุขภาาพไทยอัจฉริยะ</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <link rel="stylesheet" href="style.css">
9
+ <script src="https://cdn.tailwindcss.com"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
12
+ <link rel="preconnect" href="https://fonts.googleapis.com">
13
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
14
+ <link href="https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&display=swap" rel="stylesheet">
15
+ <script>
16
+ tailwind.config = {
17
+ theme: {
18
+ extend: {
19
+ fontFamily: {
20
+ 'thai': ['Sarabun', 'sans-serif'],
21
+ },
22
+ colors: {
23
+ 'thai': {
24
+ 50: '#fef7ee',
25
+ 100: '#feefd7',
26
+ 200: '#fcdbae',
27
+ 300: '#f9c27c',
28
+ 400: '#f59e44',
29
+ 500: '#f17f0b',
30
+ 600: '#e36b07',
31
+ 700: '#bc5308',
32
+ 800: '#95420e',
33
+ 900: '#78370f',
34
+ },
35
+ 'sage': {
36
+ 50: '#f5f7f6',
37
+ 100: '#e3e9e6',
38
+ 200: '#c8d3cd',
39
+ 300: '#a3b5ac',
40
+ 400: '#7a9485',
41
+ 500: '#5d7968',
42
+ 600: '#486152',
43
+ 700: '#3d4f45',
44
+ 800: '#334039',
45
+ 900: '#2c3531',
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ </script>
52
+ </head>
53
+ <body class="bg-slate-50 font-thai" style="font-family: 'Sarabun', sans-serif;">
54
+ <!-- Navigation -->
55
+ <nav class="fixed top-0 w-full bg-white/90 backdrop-blur-md border-b border-slate-200 z-50">
56
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
57
+ <div class="flex justify-between items-center h-16">
58
+ <div class="flex items-center">
59
+ <div class="flex-shrink-0">
60
+ <h1 class="text-xl font-bold text-thai-600">ชีพจร</h1>
61
+ </div>
62
+ <div class="hidden md:block">
63
+ <div class="ml-10 flex items-baseline space-x-4">
64
+ <a href="#dashboard" class="nav-link text-slate-700 hover:text-thai-600 px-3 py-2 text-sm font-medium">หน้าาหลัก</a>
65
+ <a href="#sleep" class="nav-link text-slate-700 hover:text-thai-600 px-3 py-2 text-sm font-medium">การนอน</a>
66
+ <a href="#activity" class="nav-link text-slate-700 hover:text-thai-600 px-3 py-2 text-sm font-medium">กิจกรรม</a>
67
+ <a href="#nutrition" class="nav-link text-slate-700 hover:text-thai-600 px-3 py-2 text-sm font-medium">โภชนาการ</a>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ <div class="flex items-center space-x-4">
72
+ <button class="p-2 rounded-full text-slate-600 hover:bg-slate-100">
73
+ <i data-feather="bell" class="w-5 h-5"></i>
74
+ </button>
75
+ <img class="w-8 h-8 rounded-full" src="http://static.photos/people/200x200/1" alt="Profile">
76
+ </div>
77
+ </div>
78
+ </div>
79
+ </nav>
80
+
81
+ <!-- Main Content -->
82
+ <main class="pt-20 pb-20">
83
+ <!-- Hero Section -->
84
+ <section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
85
+ <div class="text-center mb-12">
86
+ <h1 class="text-4xl md:text-5xl font-bold text-slate-900 mb-4">
87
+ ผู้ช่วยสุขภาาพที่เข้าใจคุณ
88
+ </h1>
89
+ <p class="text-xl text-slate-600 max-w-2xl mx-auto">
90
+ วิเเคราาะห์สุขภาาพของคุณด้วย AI ที่เข้าใจวิถีชีวิตไทย ตั้งแต่กะเเพราไข่ดาวจนนถึงการจราาจรในกรุงเเทพ
91
+ </p>
92
+ </div>
93
+
94
+ <!-- Dashboard Overview -->
95
+ <div id="dashboard" class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12">
96
+ <!-- Recovery Card -->
97
+ <div class="bg-white rounded-2xl shadow-sm border border-slate-200 p-6">
98
+ <div class="flex items-center justify-between mb-4">
99
+ <h3 class="text-lg font-semibold text-slate-900">การฟื้นนตัว</h3>
100
+ <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center">
101
+ <i data-feather="heart" class="w-6 h-6 text-green-600"></i>
102
+ </div>
103
+ </div>
104
+ <div class="text-3xl font-bold text-green-600 mb-2">78%</div>
105
+ <p class="text-sm text-slate-600">พร้อมสำหรับวันนี้</p>
106
+ <div class="mt-4 p-3 bg-green-50 rounded-lg">
107
+ <p class="text-xs text-green-700">
108
+ <i data-feather="check-circle" class="w-4 h-4 inline mr-1"></i>
109
+ HRV อยู่ในเกณฑ์ดี
110
+ </p>
111
+ </div>
112
+ </div>
113
+
114
+ <!-- Strain Card -->
115
+ <div class="bg-white rounded-2xl shadow-sm border border-slate-200 p-6">
116
+ <div class="flex items-center justify-between mb-4">
117
+ <h3 class="text-lg font-semibold text-slate-900">ภาระร่างกาย</h3>
118
+ <div class="w-12 h-12 rounded-full bg-orange-100 flex items-center justify-center">
119
+ <i data-feather="zap" class="w-6 h-6 text-orange-600"></i>
120
+ </div>
121
+ </div>
122
+ <div class="text-3xl font-bold text-orange-600 mb-2">12.4</div>
123
+ <p class="text-sm text-slate-600">ระดับปานกลาง</p>
124
+ <div class="mt-4 p-3 bg-orange-50 rounded-lg">
125
+ <p class="text-xs text-orange-700">
126
+ <i data-feather="trending-up" class="w-4 h-4 inline mr-1"></i>
127
+ เ เพิ่มขึ้นนจากเมื่อวาน
128
+ </p>
129
+ </div>
130
+ </div>
131
+
132
+ <!-- Sleep Card -->
133
+ <div class="bg-white rounded-2xl shadow-sm border border-slate-200 p-6">
134
+ <div class="flex items-center justify-between mb-4">
135
+ <h3 class="text-lg font-semibold text-slate-900">การนอน</h3>
136
+ <div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center">
137
+ <i data-feather="moon" class="w-6 h-6 text-purple-600"></i>
138
+ </div>
139
+ </div>
140
+ <div class="text-3xl font-bold text-purple-600 mb-2">92%</div>
141
+ <p class="text-sm text-slate-600">คุณภาาพดีมาก</p>
142
+ <div class="mt-4 p-3 bg-purple-50 rounded-lg">
143
+ <p class="text-xs text-purple-700">
144
+ <i data-feather="clock" class="w-4 h-4 inline mr-1"></i>
145
+ 7 ชั่วโมง 24 นาาที
146
+ </p>
147
+ </div>
148
+ </div>
149
+ </div>
150
+
151
+ <!-- Contextual Vitals -->
152
+ <div class="bg-white rounded-2xl shadow-sm border border-slate-200 p-6 mb-8">
153
+ <h3 class="text-lg font-semibold text-slate-900 mb-4">สภาาพแวดล้อมวันนี้</h3>
154
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
155
+ <div class="bg-slate-50 rounded-lg p-4">
156
+ <div class="flex items-center mb-2">
157
+ <i data-feather="wind" class="w-5 h-5 text-slate-600 mr-2"></i>
158
+ <span class="text-sm font-medium text-slate-700">AQI</span>
159
+ </div>
160
+ <p class="text-lg font-semibold text-yellow-600">ปานกลาง (65)</p>
161
+ <p class="text-xs text-slate-500">PM2.5: 35 μg/m³</p>
162
+ </div>
163
+ <div class="bg-slate-50 rounded-lg p-4">
164
+ <div class="flex items-center mb-2">
165
+ <i data-feather="sun" class="w-5 h-5 text-slate-600 mr-2"></i>
166
+ <span class="text-sm font-medium text-slate-700">อากาาศ</span>
167
+ </div>
168
+ <p class="text-lg font-semibold text-red-600">ร้อนมาก (39°C)</p>
169
+ <p class="text-xs text-slate-500">ความชื้น 68%</p>
170
+ </div>
171
+ <div class="bg-slate-50 rounded-lg p-4">
172
+ <div class="flex items-center mb-2">
173
+ <i data-feather="map-pin" class="w-5 h-5 text-slate-600 mr-2"></i>
174
+ <span class="text-sm font-medium text-slate-700">การจราาจร</span>
175
+ </div>
176
+ <p class="text-lg font-semibold text-red-600">ติดขัด</p>
177
+ <p class="text-xs text-slate-500">เเพิ่มขึ้น 45%</p>
178
+ </div>
179
+ <div class="bg-slate-50 rounded-lg p-4">
180
+ <div class="flex items-center mb-2">
181
+ <i data-feather="droplets" class="w-5 h-5 text-slate-600 mr-2"></i>
182
+ <span class="text-sm font-medium text-slate-700">ความเเครียด</span>
183
+ </div>
184
+ <p class="text-lg font-semibold text-yellow-600">ระดับกลาง</p>
185
+ <p class="text-xs text-slate-500">จากการจราาจร</p>
186
+ </div>
187
+ </div>
188
+ </div>
189
+
190
+ <!-- AI Coach Insight -->
191
+ <div class="bg-gradient-to-r from-thai-50 to-sage-50 rounded-2xl border border-thai-200 p-6 mb-8">
192
+ <div class="flex items-start">
193
+ <div class="flex-shrink-0">
194
+ <div class="w-12 h-12 rounded-full bg-thai-100 flex items-center justify-center">
195
+ <i data-feather="brain" class="w-6 h-6 text-thai-600"></i>
196
+ </div>
197
+ </div>
198
+ <div class="ml-4">
199
+ <h3 class="text-lg font-semibold text-slate-900 mb-2">คำแนนะนนำจากผู้ช่วย AI</h3>
200
+ <p class="text-slate-700">
201
+ วันนี้ฝุ่น PM2.5 อยู่ในระดับปานกลาง และอากาาศร้อนมาก จากข้อมูลพบว่า HRV ของคุณลดลง 15% ในในคืนนที่มีฝุ่นนสูง
202
+ แนนะนนำให้ลดการออกกำลังกายกลางแจ้ง และเลือกทำกิจกรรมในร่มแทน เ เช่น ฝึกมวยไทยในโรงยิมหรือนั่งสมาาธิ
203
+ </p>
204
+ <button class="mt-4 bg-thai-600 text-white px-4 py-2 rounded-lg text-sm font-medium hover:bg-thai-700 transition">
205
+ ดูคำแนนะนนำเเพิ่มเเติม
206
+ </button>
207
+ </div>
208
+ </div>
209
+ </div>
210
+
211
+ <!-- Quick Actions -->
212
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
213
+ <button class="bg-white rounded-xl p-4 shadow-sm border border-slate-200 hover:shadow-md transition text-center">
214
+ <i data-feather="camera" class="w-8 h-8 text-thai-600 mx-auto mb-2"></i>
215
+ <span class="text-sm font-medium text-slate-700">ถ่ายอาาหาร</span>
216
+ </button>
217
+ <button class="bg-white rounded-xl p-4 shadow-sm border border-slate-200 hover:shadow-md transition text-center">
218
+ <i data-feather="play" class="w-8 h-8 text-green-600 mx-auto mb-2"></i>
219
+ <span class="text-sm font-medium text-slate-700">เริ่มออกกำลัง</span>
220
+ </button>
221
+ <button class="bg-white rounded-xl p-4 shadow-sm border border-slate-200 hover:shadow-md transition text-center">
222
+ <i data-feather="coffee" class="w-8 h-8 text-orange-600 mx-auto mb-2"></i>
223
+ <span class="text-sm font-medium text-slate-700">เริ่ม IF</span>
224
+ </button>
225
+ <button class="bg-white rounded-xl p-4 shadow-sm border border-slate-200 hover:shadow-md transition text-center">
226
+ <i data-feather="smile" class="w-8 h-8 text-purple-600 mx-auto mb-2"></i>
227
+ <span class="text-sm font-medium text-slate-700">บันันทึกอารมณ์</span>
228
+ </button>
229
+ </div>
230
+ </section>
231
+
232
+ <!-- Sleep Section -->
233
+ <section id="sleep" class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
234
+ <h2 class="text-2xl font-bold text-slate-900 mb-6">การนอนนหลับ</h2>
235
+ <div class="bg-white rounded-2xl shadow-sm border border-slate-200 p-6">
236
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
237
+ <div>
238
+ <h3 class="text-lg font-semibold mb-4">เเวลานอนเมื่อคืน</h3>
239
+ <div class="space-y-4">
240
+ <div class="flex justify-between items-center">
241
+ <span class="text-slate-600">เข้านอน</span>
242
+ <span class="font-semibold text-slate-900">22:45 น.</span>
243
+ </div>
244
+ <div class="flex justify-between items-center">
245
+ <span class="text-slate-600">ตื่นนอน</span>
246
+ <span class="font-semibold text-slate-900">06:09 น.</span>
247
+ </div>
248
+ <div class="flex justify-between items-center">
249
+ <span class="text-slate-600">เเวลานอนนทั้งหมด</span>
250
+ <span class="font-semibold text-slate-900">7 ชม. 24 นาาที</span>
251
+ </div>
252
+ </div>
253
+ </div>
254
+ <div>
255
+ <h3 class="text-lg font-semibold mb-4">ระยะการนอน</h3>
256
+ <div class="space-y-2">
257
+ <div class="flex items-center justify-between">
258
+ <span class="text-sm text-slate-600">Deep</span>
259
+ <div class="flex-1 mx-3 bg-slate-200 rounded-full h-2">
260
+ <div class="bg-blue-600 h-2 rounded-full" style="width: 25%"></div>
261
+ </div>
262
+ <span class="text-sm font-semibold">1h 51m</span>
263
+ </div>
264
+ <div class="flex items-center justify-between">
265
+ <span class="text-sm text-slate-600">REM</span>
266
+ <div class="flex-1 mx-3 bg-slate-200 rounded-full h-2">
267
+ <div class="bg-purple-600 h-2 rounded-full" style="width: 20%"></div>
268
+ </div>
269
+ <span class="text-sm font-semibold">1h 28m
270
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
271
+ </body>
272
+ </html>