pulse-coach / onboarding.html
CSNET's picture
Project Name: ชีพจร (Pulse) - The Context-Aware Thai Health & Recovery Coach
9d40d50 verified
Raw History Blame Contribute Delete
3.48 kB
```html
<!DOCTYPE html>
<html lang="th" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>เริ่มต้นใช้งาน - ชีพจร</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<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=Sarabun:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
'thai': ['Sarabun', 'sans-serif'],
},
colors: {
'thai': {
50: '#fef7ee',
100: '#feefd7',
200: '#fcdbae',
300: '#f9c27c',
400: '#f59e44',
500: '#f17f0b',
600: '#e36b07',
700: '#bc5308',
800: '#95420e',
900: '#78370f',
}
}
}
}
}
</script>
</head>
<body class="bg-slate-50 font-thai" style="font-family: 'Sarabun', sans-serif;">
<main class="min-h-screen flex items-center justify-center p-4">
<div class="max-w-md w-full">
<!-- Progress Bar -->
<div class="mb-8">
<div class="flex justify-between mb-2">
<span class="text-sm font-medium text-slate-700">ขั้นนตอนการสมัคร</span>
<span class="text-sm font-medium text-slate-700" id="progress-text">ขั้นนตอนนที่ 1 ของ 4</span>
</div>
<div class="w-full bg-slate-200 rounded-full h-2">
<div class="bg-thai-600 h-2 rounded-full transition-all duration-300" id="progress-bar" style="width: 25%"></div>
</div>
</div>
<!-- Step 1: Basic Info -->
<div class="step-card bg-white rounded-2xl shadow-lg p-6 mb-4" id="step1">
<h2 class="text-2xl font-bold text-slate-900 mb-4">ข้อมูลพื้นนฐาน</h2>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-slate-700 mb-1">ชื่อเล่น</label>
<input type="text" id="nickname" class="w-full px-3 py-2 border border-slate-300 rounded-lg" placeholder="เเช่น เอ, บอส">
</div>
<div>
<label class="block text-sm font-medium text-slate-700 mb-1">เเพศ</label>
<select id="gender" class="w-full px-3 py-2 border border-slate-300 rounded-lg">
<option value="">เลือกเเพศ</option>
<option value="male