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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="th">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>รายงานฉบับเต็ม - Body Composition Comparator</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>⚖️</text></svg>">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 11 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
| 12 |
+
<script>
|
| 13 |
+
tailwind.config = {
|
| 14 |
+
theme: {
|
| 15 |
+
extend: {
|
| 16 |
+
colors: {
|
| 17 |
+
primary: '#6366f1',
|
| 18 |
+
secondary: '#8b5cf6',
|
| 19 |
+
accent: '#ec4899',
|
| 20 |
+
dark: '#1e293b',
|
| 21 |
+
light: '#f8fafc'
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
</script>
|
| 27 |
+
<style>
|
| 28 |
+
body {
|
| 29 |
+
font-family: 'Inter', sans-serif;
|
| 30 |
+
background: linear-gradient(135deg, #f0f4ff 0%, #fdf2f8 100%);
|
| 31 |
+
}
|
| 32 |
+
.report-card {
|
| 33 |
+
transition: all 0.3s ease;
|
| 34 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
| 35 |
+
}
|
| 36 |
+
.metric-value {
|
| 37 |
+
font-weight: 700;
|
| 38 |
+
font-size: 1.5rem;
|
| 39 |
+
}
|
| 40 |
+
.change-indicator {
|
| 41 |
+
display: inline-flex;
|
| 42 |
+
align-items: center;
|
| 43 |
+
padding: 0.25rem 0.5rem;
|
| 44 |
+
border-radius: 9999px;
|
| 45 |
+
font-size: 0.875rem;
|
| 46 |
+
font-weight: 600;
|
| 47 |
+
}
|
| 48 |
+
.positive {
|
| 49 |
+
background-color: #dcfce7;
|
| 50 |
+
color: #16a34a;
|
| 51 |
+
}
|
| 52 |
+
.negative {
|
| 53 |
+
background-color: #fee2e2;
|
| 54 |
+
color: #dc2626;
|
| 55 |
+
}
|
| 56 |
+
.neutral {
|
| 57 |
+
background-color: #e5e7eb;
|
| 58 |
+
color: #4b5563;
|
| 59 |
+
}
|
| 60 |
+
.print-button {
|
| 61 |
+
position: fixed;
|
| 62 |
+
bottom: 30px;
|
| 63 |
+
right: 30px;
|
| 64 |
+
z-index: 100;
|
| 65 |
+
}
|
| 66 |
+
</style>
|
| 67 |
+
</head>
|
| 68 |
+
<body class="min-h-screen">
|
| 69 |
+
<!-- Header -->
|
| 70 |
+
<header class="bg-white shadow-sm">
|
| 71 |
+
<div class="container mx-auto px-4 py-6 flex justify-between items-center">
|
| 72 |
+
<div class="flex items-center space-x-2">
|
| 73 |
+
<div class="bg-primary p-2 rounded-lg">
|
| 74 |
+
<i data-feather="file-text" class="text-white"></i>
|
| 75 |
+
</div>
|
| 76 |
+
<h1 class="text-2xl font-bold text-dark">รายงานฉบับเต็ม</h1>
|
| 77 |
+
</div>
|
| 78 |
+
<nav class="hidden md:flex space-x-6">
|
| 79 |
+
<a href="index.html" class="font-medium text-gray-500 hover:text-gray-700">หน้าหลัก</a>
|
| 80 |
+
<a href="#" class="font-medium text-primary hover:text-secondary">รายงาน</a>
|
| 81 |
+
<a href="#" class="font-medium text-gray-500 hover:text-gray-700">การวิเคราะห์</a>
|
| 82 |
+
<a href="#" class="font-medium text-gray-500 hover:text-gray-700">เกี่ยวกับ</a>
|
| 83 |
+
</nav>
|
| 84 |
+
</div>
|
| 85 |
+
</header>
|
| 86 |
+
|
| 87 |
+
<!-- Report Header -->
|
| 88 |
+
<section class="py-8 bg-gradient-to-r from-primary to-secondary text-white">
|
| 89 |
+
<div class="container mx-auto px-4">
|
| 90 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 91 |
+
<div>
|
| 92 |
+
<h2 class="text-3xl font-bold mb-2">รายงานการเปรียบเทียบองค์ประกอบร่างกาย</h2>
|
| 93 |
+
<p class="text-indigo-100">ระหว่างวันที่ 15 มีนาคม 2023 ถึง 20 พฤษภาคม 2023</p>
|
| 94 |
+
</div>
|
| 95 |
+
<div class="mt-4 md:mt-0 text-center">
|
| 96 |
+
<div class="bg-white bg-opacity-20 rounded-xl p-4">
|
| 97 |
+
<div class="text-sm opacity-80">ระยะเวลา</div>
|
| 98 |
+
<div class="text-xl font-bold">66 วัน</div>
|
| 99 |
+
</div>
|
| 100 |
+
</div>
|
| 101 |
+
</div>
|
| 102 |
+
</div>
|
| 103 |
+
</section>
|
| 104 |
+
|
| 105 |
+
<!-- Summary Cards -->
|
| 106 |
+
<section class="py-12">
|
| 107 |
+
<div class="container mx-auto px-4">
|
| 108 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12">
|
| 109 |
+
<!-- Overall Progress -->
|
| 110 |
+
<div class="report-card bg-white rounded-2xl p-6 text-center">
|
| 111 |
+
<div class="inline-block p-3 bg-blue-100 rounded-full mb-4">
|
| 112 |
+
<i data-feather="trending-up" class="text-blue-600 w-8 h-8"></i>
|
| 113 |
+
</div>
|
| 114 |
+
<h3 class="text-xl font-bold text-dark mb-2">ความคืบหน้าโดยรวม</h3>
|
| 115 |
+
<div class="text-3xl font-bold text-primary mb-2">78%</div>
|
| 116 |
+
<p class="text-gray-600">ของเป้าหมายที่กำหนด</p>
|
| 117 |
+
</div>
|
| 118 |
+
|
| 119 |
+
<!-- Body Fat Reduction -->
|
| 120 |
+
<div class="report-card bg-white rounded-2xl p-6 text-center">
|
| 121 |
+
<div class="inline-block p-3 bg-green-100 rounded-full mb-4">
|
| 122 |
+
<i data-feather="minus-circle" class="text-green-600 w-8 h-8"></i>
|
| 123 |
+
</div>
|
| 124 |
+
<h3 class="text-xl font-bold text-dark mb-2">การลดไขมัน</h3>
|
| 125 |
+
<div class="text-3xl font-bold text-green-600 mb-2">2.1%</div>
|
| 126 |
+
<p class="text-gray-600">ลดลงจากระดับปกติ</p>
|
| 127 |
+
</div>
|
| 128 |
+
|
| 129 |
+
<!-- Muscle Gain -->
|
| 130 |
+
<div class="report-card bg-white rounded-2xl p-6 text-center">
|
| 131 |
+
<div class="inline-block p-3 bg-purple-100 rounded-full mb-4">
|
| 132 |
+
<i data-feather="plus-circle" class="text-purple-600 w-8 h-8"></i>
|
| 133 |
+
</div>
|
| 134 |
+
<h3 class="text-xl font-bold text-dark mb-2">การเพิ่มกล้ามเนื้อ</h3>
|
| 135 |
+
<div class="text-3xl font-bold text-purple-600 mb-2">1.8%</div>
|
| 136 |
+
<p class="text-gray-600">เพิ่มขึ้นจากระดับก่อนหน้า</p>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
|
| 140 |
+
<!-- Detailed Metrics -->
|
| 141 |
+
<div class="report-card bg-white rounded-2xl shadow-lg p-6 mb-12">
|
| 142 |
+
<h3 class="text-2xl font-bold text-dark mb-6">เมตริกโดยละเอียด</h3>
|
| 143 |
+
<div class="overflow-x-auto">
|
| 144 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 145 |
+
<thead class="bg-gray-50">
|
| 146 |
+
<tr>
|
| 147 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">ตัวชี้วัด</th>
|
| 148 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">การวัดครั้งแรก</th>
|
| 149 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">การวัดครั้งที่สอง</th>
|
| 150 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">การเปลี่ยนแปลง</th>
|
| 151 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">สถานะ</th>
|
| 152 |
+
</tr>
|
| 153 |
+
</thead>
|
| 154 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 155 |
+
<tr>
|
| 156 |
+
<td class="px-6 py-4 whitespace-nowrap font-medium text-gray-900">น้ำหนัก</td>
|
| 157 |
+
<td class="px-6 py-4 whitespace-nowrap">73.7 kg</td>
|
| 158 |
+
<td class="px-6 py-4 whitespace-nowrap">72.5 kg</td>
|
| 159 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 160 |
+
<span class="change-indicator negative">
|
| 161 |
+
<i data-feather="arrow-down" class="w-4 h-4 mr-1"></i>
|
| 162 |
+
1.2 kg
|
| 163 |
+
</span>
|
| 164 |
+
</td>
|
| 165 |
+
<td class="px-6 py-4 whitespace-nowrap text-green-600 font-medium">ดีขึ้น</td>
|
| 166 |
+
</tr>
|
| 167 |
+
<tr>
|
| 168 |
+
<td class="px-6 py-4 whitespace-nowrap font-medium text-gray-900">ไขมันในร่างกาย</td>
|
| 169 |
+
<td class="px-6 py-4 whitespace-nowrap">20.6%</td>
|
| 170 |
+
<td class="px-6 py-4 whitespace-nowrap">18.5%</td>
|
| 171 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 172 |
+
<span class="change-indicator positive">
|
| 173 |
+
<i data-feather="arrow-down" class="w-4 h-4 mr-1"></i>
|
| 174 |
+
2.1%
|
| 175 |
+
</span>
|
| 176 |
+
</td>
|
| 177 |
+
<td class="px-6 py-4 whitespace-nowrap text-green-600 font-medium">ดีขึ้น</td>
|
| 178 |
+
</tr>
|
| 179 |
+
<tr>
|
| 180 |
+
<td class="px-6 py-4 whitespace-nowrap font-medium text-gray-900">มวลกล้ามเนื้อ</td>
|
| 181 |
+
<td class="px-6 py-4 whitespace-nowrap">56.4%</td>
|
| 182 |
+
<td class="px-6 py-4 whitespace-nowrap">58.2%</td>
|
| 183 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 184 |
+
<span class="change-indicator positive">
|
| 185 |
+
<i data-feather="arrow-up" class="w-4 h-4 mr-1"></i>
|
| 186 |
+
1.8%
|
| 187 |
+
</span>
|
| 188 |
+
</td>
|
| 189 |
+
<td class="px-6 py-4 whitespace-nowrap text-green-600 font-medium">ดีขึ้น</td>
|
| 190 |
+
</tr>
|
| 191 |
+
<tr>
|
| 192 |
+
<td class="px-6 py-4 whitespace-nowrap font-medium text-gray-900">น้ำในร่างกาย</td>
|
| 193 |
+
<td class="px-6 py-4 whitespace-nowrap">58.3%</td>
|
| 194 |
+
<td class="px-6 py-4 whitespace-nowrap">59.1%</td>
|
| 195 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 196 |
+
<span class="change-indicator positive">
|
| 197 |
+
<i data-feather="arrow-up" class="w-4 h-4 mr-1"></i>
|
| 198 |
+
0.8%
|
| 199 |
+
</span>
|
| 200 |
+
</td>
|
| 201 |
+
<td class="px-6 py-4 whitespace-nowrap text-green-600 font-medium">ดีขึ้น</td>
|
| 202 |
+
</tr>
|
| 203 |
+
<tr>
|
| 204 |
+
<td class="px-6 py-4 whitespace-nowrap font-medium text-gray-900">มวลกระดูก</td>
|
| 205 |
+
<td class="px-6 py-4 whitespace-nowrap">3.2 kg</td>
|
| 206 |
+
<td class="px-6 py-4 whitespace-nowrap">3.3 kg</td>
|
| 207 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 208 |
+
<span class="change-indicator positive">
|
| 209 |
+
<i data-feather="arrow-up" class="w-4 h-4 mr-1"></i>
|
| 210 |
+
0.1 kg
|
| 211 |
+
</span>
|
| 212 |
+
</td>
|
| 213 |
+
<td class="px-6 py-4 whitespace-nowrap text-green-600 font-medium">ดีขึ้น</td>
|
| 214 |
+
</tr>
|
| 215 |
+
<tr>
|
| 216 |
+
<td class="px-6 py-4 whitespace-nowrap font-medium text-gray-900">โปรตีนในร่างกาย</td>
|
| 217 |
+
<td class="px-6 py-4 whitespace-nowrap">18.7%</td>
|
| 218 |
+
<td class="px-6 py-4 whitespace-nowrap">19.2%</td>
|
| 219 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 220 |
+
<span class="change-indicator positive">
|
| 221 |
+
<i data-feather="arrow-up" class="w-4 h-4 mr-1"></i>
|
| 222 |
+
0.5%
|
| 223 |
+
</span>
|
| 224 |
+
</td>
|
| 225 |
+
<td class="px-6 py-4 whitespace-nowrap text-green-600 font-medium">ดีขึ้น</td>
|
| 226 |
+
</tr>
|
| 227 |
+
<tr>
|
| 228 |
+
<td class="px-6 py-4 whitespace-nowrap font-medium text-gray-900">ดัชนีมวลกาย (BMI)</td>
|
| 229 |
+
<td class="px-6 py-4 whitespace-nowrap">24.5</td>
|
| 230 |
+
<td class="px-6 py-4 whitespace-nowrap">24.1</td>
|
| 231 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 232 |
+
<span class="change-indicator neutral">
|
| 233 |
+
0.4
|
| 234 |
+
</span>
|
| 235 |
+
</td>
|
| 236 |
+
<td class="px-6 py-4 whitespace-nowrap text-yellow-600 font-medium">คงที่</td>
|
| 237 |
+
</tr>
|
| 238 |
+
</tbody>
|
| 239 |
+
</table>
|
| 240 |
+
</div>
|
| 241 |
+
</div>
|
| 242 |
+
|
| 243 |
+
<!-- Charts Section -->
|
| 244 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-12">
|
| 245 |
+
<!-- Body Composition Chart -->
|
| 246 |
+
<div class="report-card bg-white rounded-2xl shadow-lg p-6">
|
| 247 |
+
<h3 class="text-xl font-bold text-dark mb-4">ส่วนประกอบร่างกาย</h3>
|
| 248 |
+
<canvas id="compositionChart" height="300"></canvas>
|
| 249 |
+
</div>
|
| 250 |
+
|
| 251 |
+
<!-- Progress Over Time -->
|
| 252 |
+
<div class="report-card bg-white rounded-2xl shadow-lg p-6">
|
| 253 |
+
<h3 class="text-xl font-bold text-dark mb-4">ความคืบหน้าตามช่วงเวลา</h3>
|
| 254 |
+
<canvas id="progressChart" height="300"></canvas>
|
| 255 |
+
</div>
|
| 256 |
+
</div>
|
| 257 |
+
|
| 258 |
+
<!-- Recommendations -->
|
| 259 |
+
<div class="report-card bg-gradient-to-r from-accent to-secondary rounded-2xl shadow-lg p-8 text-white mb-12">
|
| 260 |
+
<h3 class="text-2xl font-bold mb-4">คำแนะนำเฉพาะบุคคล</h3>
|
| 261 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
| 262 |
+
<div class="bg-white bg-opacity-20 rounded-xl p-5">
|
| 263 |
+
<div class="inline-block p-2 bg-white bg-opacity-30 rounded-full mb-3">
|
| 264 |
+
<i data-feather="activity" class="w-6 h-6"></i>
|
| 265 |
+
</div>
|
| 266 |
+
<h4 class="font-bold text-lg mb-2">การออกกำลังกาย</h4>
|
| 267 |
+
<p class="opacity-90">แนะนำให้เพิ่มการฝึกความแข็งแรง 2 ครั้งต่อสัปดาห์เพื่อรักษามวลกล้ามเนื้อ</p>
|
| 268 |
+
</div>
|
| 269 |
+
<div class="bg-white bg-opacity-20 rounded-xl p-5">
|
| 270 |
+
<div class="inline-block p-2 bg-white bg-opacity-30 rounded-full mb-3">
|
| 271 |
+
<i data-feather="coffee" class="w-6 h-6"></i>
|
| 272 |
+
</div>
|
| 273 |
+
<h4 class="font-bold text-lg mb-2">โภชนาการ</h4>
|
| 274 |
+
<p class="opacity-90">เพิ่มโปรตีนอีก 20 กรัมต่อวันเพื่อสนับสนุนการฟื้นฟูกล้ามเนื้อ</p>
|
| 275 |
+
</div>
|
| 276 |
+
<div class="bg-white bg-opacity-20 rounded-xl p-5">
|
| 277 |
+
<div class="inline-block p-2 bg-white bg-opacity-30 rounded-full mb-3">
|
| 278 |
+
<i data-feather="moon" class="w-6 h-6"></i>
|
| 279 |
+
</div>
|
| 280 |
+
<h4 class="font-bold text-lg mb-2">การพักผ่อน</h4>
|
| 281 |
+
<p class="opacity-90">รักษาเวลาการนอนอย่างสม่ำเสมอ 7-8 ชั่วโมงต่อคืน</p>
|
| 282 |
+
</div>
|
| 283 |
+
</div>
|
| 284 |
+
</div>
|
| 285 |
+
|
| 286 |
+
<!-- Next Goals -->
|
| 287 |
+
<div class="report-card bg-white rounded-2xl shadow-lg p-6">
|
| 288 |
+
<h3 class="text-2xl font-bold text-dark mb-6">เป้าหมายถัดไป</h3>
|
| 289 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 290 |
+
<div class="border border-gray-200 rounded-xl p-5">
|
| 291 |
+
<div class="flex justify-between items-start mb-3">
|
| 292 |
+
<h4 class="font-bold text-lg text-dark">ลดไขมันให้ได้อีก 2%</h4>
|
| 293 |
+
<span class="bg-blue-100 text-blue-800 text-sm font-medium px-2 py-1 rounded-full">60%</span>
|
| 294 |
+
</div>
|
| 295 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5 mb-3">
|
| 296 |
+
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 60%"></div>
|
| 297 |
+
</div>
|
| 298 |
+
<p class="text-gray-600">ประมาณ 8 สัปดาห์หากคงพฤติกรรมเดิม</p>
|
| 299 |
+
</div>
|
| 300 |
+
<div class="border border-gray-200 rounded-xl p-5">
|
| 301 |
+
<div class="flex justify-between items-start mb-3">
|
| 302 |
+
<h4 class="font-bold text-lg text-dark">เพิ่มมวลกล้ามเนื้ออีก 1.5%</h4>
|
| 303 |
+
<span class="bg-purple-100 text-purple-800 text-sm font-medium px-2 py-1 rounded-full">40%</span>
|
| 304 |
+
</div>
|
| 305 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5 mb-3">
|
| 306 |
+
<div class="bg-purple-600 h-2.5 rounded-full" style="width: 40%"></div>
|
| 307 |
+
</div>
|
| 308 |
+
<p class="text-gray-600">แนะนำการฝึกแบบ progressive overload</p>
|
| 309 |
+
</div>
|
| 310 |
+
</div>
|
| 311 |
+
</div>
|
| 312 |
+
</div>
|
| 313 |
+
</section>
|
| 314 |
+
|
| 315 |
+
<!-- Print Button -->
|
| 316 |
+
<div class="print-button">
|
| 317 |
+
<button onclick="window.print()" class="bg-primary hover:bg-secondary text-white font-bold py-3 px-6 rounded-full shadow-lg flex items-center">
|
| 318 |
+
<i data-feather="printer" class="mr-2"></i>
|
| 319 |
+
พิมพ์รายงาน
|
| 320 |
+
</button>
|
| 321 |
+
</div>
|
| 322 |
+
|
| 323 |
+
<!-- Footer -->
|
| 324 |
+
<footer class="bg-dark text-light py-12">
|
| 325 |
+
<div class="container mx-auto px-4">
|
| 326 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 327 |
+
<div>
|
| 328 |
+
<h4 class="text-xl font-bold mb-4">Body Composition Comparator</h4>
|
| 329 |
+
<p class="text-gray-400">เครื่องมือเปรียบเทียบผลการวิเคราะห์องค์ประกอบร่างกายอย่างแม่นยำ</p>
|
| 330 |
+
</div>
|
| 331 |
+
<div>
|
| 332 |
+
<h5 class="font-bold mb-4">ลิงก์</h5>
|
| 333 |
+
<ul class="space-y-2 text-gray-400">
|
| 334 |
+
<li><a href="index.html" class="hover:text-white transition">หน้าแรก</a></li>
|
| 335 |
+
<li><a href="#" class="hover:text-white transition">เกี่ยวกับเรา</a></li>
|
| 336 |
+
<li><a href="#" class="hover:text-white transition">บริการ</a></li>
|
| 337 |
+
<li><a href="#" class="hover:text-white transition">ติดต่อ</a></li>
|
| 338 |
+
</ul>
|
| 339 |
+
</div>
|
| 340 |
+
<div>
|
| 341 |
+
<h5 class="font-bold mb-4">บริการ</h5>
|
| 342 |
+
<ul class="space-y-2 text-gray-400">
|
| 343 |
+
<li><a href="#" class="hover:text-white transition">การวิเคราะห์องค์ประกอบร่างกาย</a></li>
|
| 344 |
+
<li><a href="#" class="hover:text-white transition">ติดตามความคืบหน้า</a></li>
|
| 345 |
+
<li><a href="#" class="hover:text-white transition">วางแผนสุขภาพ</a></li>
|
| 346 |
+
<li><a href="#" class="hover:text-white transition">รายงานผล</a></li>
|
| 347 |
+
</ul>
|
| 348 |
+
</div>
|
| 349 |
+
<div>
|
| 350 |
+
<h5 class="font-bold mb-4">ติดต่อเรา</h5>
|
| 351 |
+
<ul class="space-y-2 text-gray-400">
|
| 352 |
+
<li class="flex items-start">
|
| 353 |
+
<i data-feather="mail" class="w-5 h-5 mr-2 mt-1"></i>
|
| 354 |
+
<span>contact@bodycomp.com</span>
|
| 355 |
+
</li>
|
| 356 |
+
<li class="flex items-start">
|
| 357 |
+
<i data-feather="phone" class="w-5 h-5 mr-2 mt-1"></i>
|
| 358 |
+
<span>+66 123 456 789</span>
|
| 359 |
+
</li>
|
| 360 |
+
<li class="flex items-start">
|
| 361 |
+
<i data-feather="map-pin" class="w-5 h-5 mr-2 mt-1"></i>
|
| 362 |
+
<span>กรุงเทพฯ, ประเทศไทย</span>
|
| 363 |
+
</li>
|
| 364 |
+
</ul>
|
| 365 |
+
</div>
|
| 366 |
+
</div>
|
| 367 |
+
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-500">
|
| 368 |
+
<p>© 2023 Body Composition Comparator. สงวนลิขสิทธิ์.</p>
|
| 369 |
+
</div>
|
| 370 |
+
</div>
|
| 371 |
+
</footer>
|
| 372 |
+
|
| 373 |
+
<script>
|
| 374 |
+
feather.replace();
|
| 375 |
+
|
| 376 |
+
// Composition Chart
|
| 377 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 378 |
+
const compCtx = document.getElementById('compositionChart').getContext('2d');
|
| 379 |
+
const compositionChart = new Chart(compCtx, {
|
| 380 |
+
type: 'doughnut',
|
| 381 |
+
data: {
|
| 382 |
+
labels: ['ไขมัน', 'กล้ามเนื้อ', 'น้ำ', 'กระดูก', 'โปรตีน'],
|
| 383 |
+
datasets: [{
|
| 384 |
+
data: [18.5, 58.2, 59.1, 3.3, 19.2],
|
| 385 |
+
backgroundColor: [
|
| 386 |
+
'#ef4444',
|
| 387 |
+
'#8b5cf6',
|
| 388 |
+
'#3b82f6',
|
| 389 |
+
'#f59e0b',
|
| 390 |
+
'#10b981'
|
| 391 |
+
],
|
| 392 |
+
borderWidth: 0
|
| 393 |
+
}]
|
| 394 |
+
},
|
| 395 |
+
options: {
|
| 396 |
+
responsive: true,
|
| 397 |
+
plugins: {
|
| 398 |
+
legend: {
|
| 399 |
+
position: 'bottom',
|
| 400 |
+
}
|
| 401 |
+
},
|
| 402 |
+
cutout: '60%'
|
| 403 |
+
}
|
| 404 |
+
});
|
| 405 |
+
|
| 406 |
+
// Progress Chart
|
| 407 |
+
const progressCtx = document.getElementById('progressChart').getContext('2d');
|
| 408 |
+
const progressChart = new Chart(progressCtx, {
|
| 409 |
+
type: 'line',
|
| 410 |
+
data: {
|
| 411 |
+
labels: ['มี.ค', 'เม.ย', 'พ.ค'],
|
| 412 |
+
datasets: [
|
| 413 |
+
{
|
| 414 |
+
label: 'ไขมัน (%)',
|
| 415 |
+
data: [22.1, 20.6, 18.5],
|
| 416 |
+
borderColor: '#ef4444',
|
| 417 |
+
backgroundColor: 'rgba(239, 68, 68, 0.1)',
|
| 418 |
+
tension: 0.3,
|
| 419 |
+
fill: true
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
label: 'กล้ามเนื้อ (%)',
|
| 423 |
+
data: [55.1, 56.4, 58.2],
|
| 424 |
+
borderColor: '#8b5cf6',
|
| 425 |
+
backgroundColor: 'rgba(139, 92, 246, 0.1)',
|
| 426 |
+
tension: 0.3,
|
| 427 |
+
fill: true
|
| 428 |
+
}
|
| 429 |
+
]
|
| 430 |
+
},
|
| 431 |
+
options: {
|
| 432 |
+
responsive: true,
|
| 433 |
+
plugins: {
|
| 434 |
+
legend: {
|
| 435 |
+
position: 'top',
|
| 436 |
+
}
|
| 437 |
+
},
|
| 438 |
+
scales: {
|
| 439 |
+
y: {
|
| 440 |
+
beginAtZero: false,
|
| 441 |
+
grid: {
|
| 442 |
+
color: 'rgba(0, 0, 0, 0.05)'
|
| 443 |
+
}
|
| 444 |
+
},
|
| 445 |
+
x: {
|
| 446 |
+
grid: {
|
| 447 |
+
display: false
|
| 448 |
+
}
|
| 449 |
+
}
|
| 450 |
+
}
|
| 451 |
+
}
|
| 452 |
+
});
|
| 453 |
+
});
|
| 454 |
+
</script>
|
| 455 |
+
</body>
|
| 456 |
+
</html>
|
index.html
CHANGED
|
@@ -235,11 +235,11 @@
|
|
| 235 |
<div class="text-3xl font-bold">78%</div>
|
| 236 |
<div class="text-sm opacity-80">เป้าหมายที่บรรลุ</div>
|
| 237 |
</div>
|
| 238 |
-
<
|
| 239 |
ดูรายงานเต็ม
|
| 240 |
-
</
|
| 241 |
</div>
|
| 242 |
-
|
| 243 |
</div>
|
| 244 |
</div>
|
| 245 |
</section>
|
|
|
|
| 235 |
<div class="text-3xl font-bold">78%</div>
|
| 236 |
<div class="text-sm opacity-80">เป้าหมายที่บรรลุ</div>
|
| 237 |
</div>
|
| 238 |
+
<a href="full-report.html" class="bg-white text-accent font-bold py-2 px-6 rounded-full hover:bg-opacity-90 transition inline-block">
|
| 239 |
ดูรายงานเต็ม
|
| 240 |
+
</a>
|
| 241 |
</div>
|
| 242 |
+
</div>
|
| 243 |
</div>
|
| 244 |
</div>
|
| 245 |
</section>
|