File size: 16,084 Bytes
72be99e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c6f67ef
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
<!DOCTYPE html>
<html lang="th">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Group Maker - สร้างกลุ่มอัจฉริยะ</title>
    <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 href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#6366f1',
                        secondary: '#8b5cf6',
                        accent: '#ec4899',
                        dark: '#1e293b',
                        light: '#f8fafc'
                    },
                    fontFamily: {
                        'sans': ['Prompt', 'sans-serif'],
                    }
                }
            }
        }
    </script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');
        
        body {
            font-family: 'Prompt', sans-serif;
        }
        
        .gradient-bg {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
        }
        
        .group-card {
            transition: all 0.3s ease;
        }
        
        .group-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Navigation -->
    <nav class="bg-white shadow-sm">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16">
                <div class="flex">
                    <div class="flex-shrink-0 flex items-center">
                        <i data-feather="users" class="text-primary h-8 w-8"></i>
                        <span class="ml-2 text-xl font-bold text-gray-900">Group Maker</span>
                    </div>
                </div>
                <div class="hidden sm:ml-6 sm:flex sm:items-center space-x-4">
                    <a href="user.html" class="px-3 py-2 rounded-md text-sm font-medium text-gray-700 hover:text-primary hover:bg-gray-100">สำหรับผู้ใช้</a>
                    <a href="admin-login.html" class="px-3 py-2 rounded-md text-sm font-medium text-gray-700 hover:text-primary hover:bg-gray-100">สำหรับแอดมิน</a>
                </div>
                <div class="-mr-2 flex items-center sm:hidden">
                    <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-primary">
                        <i data-feather="menu" class="block h-6 w-6"></i>
                    </button>
                </div>
            </div>
        </div>
    </nav>

    <!-- Hero Section -->
    <div class="gradient-bg text-white">
        <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8 text-center">
            <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl" data-aos="fade-down">
                สร้างกลุ่มอัจฉริยะ
            </h1>
            <p class="mt-6 max-w-lg mx-auto text-xl" data-aos="fade-up">
                แอปพลิเคชันสำหรับการสุ่มและจัดกลุ่มผู้เข้าร่วมกิจกรรมแบบเรียลไทม์
            </p>
            <div class="mt-10 flex justify-center space-x-4" data-aos="fade-up" data-aos-delay="200">
                <a href="user.html" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-primary bg-white hover:bg-gray-50">
                    <i data-feather="user" class="mr-2"></i> เข้าร่วมกลุ่ม
                </a>
                <a href="admin-login.html" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-primary bg-opacity-20 hover:bg-opacity-30">
                    <i data-feather="lock" class="mr-2"></i> เข้าสู่ระบบแอดมิน
                </a>
            </div>
        </div>
    </div>

    <!-- Features Section -->
    <div class="py-12 bg-white">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="lg:text-center">
                <h2 class="text-base text-primary font-semibold tracking-wide uppercase">คุณสมบัติ</h2>
                <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
                    ทุกสิ่งที่คุณต้องการสำหรับการจัดกลุ่ม
                </p>
            </div>

            <div class="mt-10">
                <div class="grid grid-cols-1 gap-10 sm:grid-cols-2 lg:grid-cols-3">
                    <!-- Feature 1 -->
                    <div class="group-card bg-gray-50 p-6 rounded-lg shadow" data-aos="fade-up">
                        <div class="flex items-center justify-center h-12 w-12 rounded-md bg-primary text-white">
                            <i data-feather="zap"></i>
                        </div>
                        <div class="mt-4">
                            <h3 class="text-lg font-medium text-gray-900">เรียลไทม์</h3>
                            <p class="mt-2 text-base text-gray-500">
                                ระบบอัปเดตแบบเรียลไทม์ด้วย WebSocket ทำให้เห็นการเปลี่ยนแปลงทันที
                            </p>
                        </div>
                    </div>

                    <!-- Feature 2 -->
                    <div class="group-card bg-gray-50 p-6 rounded-lg shadow" data-aos="fade-up" data-aos-delay="100">
                        <div class="flex items-center justify-center h-12 w-12 rounded-md bg-secondary text-white">
                            <i data-feather="smartphone"></i>
                        </div>
                        <div class="mt-4">
                            <h3 class="text-lg font-medium text-gray-900">QR Code</h3>
                            <p class="mt-2 text-base text-gray-500">
                                เข้าร่วมกิจกรรมง่ายๆ ด้วยการสแกน QR Code ไม่ต้องจำ URL
                            </p>
                        </div>
                    </div>

                    <!-- Feature 3 -->
                    <div class="group-card bg-gray-50 p-6 rounded-lg shadow" data-aos="fade-up" data-aos-delay="200">
                        <div class="flex items-center justify-center h-12 w-12 rounded-md bg-accent text-white">
                            <i data-feather="sliders"></i>
                        </div>
                        <div class="mt-4">
                            <h3 class="text-lg font-medium text-gray-900">ปรับแต่งได้</h3>
                            <p class="mt-2 text-base text-gray-500">
                                ตั้งค่าจำนวนกลุ่มและสมาชิกต่อกลุ่มได้ตามต้องการ
                            </p>
                        </div>
                    </div>

                    <!-- Feature 4 -->
                    <div class="group-card bg-gray-50 p-6 rounded-lg shadow" data-aos="fade-up">
                        <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-500 text-white">
                            <i data-feather="bell"></i>
                        </div>
                        <div class="mt-4">
                            <h3 class="text-lg font-medium text-gray-900">แจ้งเตือน</h3>
                            <p class="mt-2 text-base text-gray-500">
                                แจ้งเตือนเมื่อผลการสุ่มกลุ่มพร้อมแล้ว ทั้งเสียงและภาพ
                            </p>
                        </div>
                    </div>

                    <!-- Feature 5 -->
                    <div class="group-card bg-gray-50 p-6 rounded-lg shadow" data-aos="fade-up" data-aos-delay="100">
                        <div class="flex items-center justify-center h-12 w-12 rounded-md bg-pink-500 text-white">
                            <i data-feather="download"></i>
                        </div>
                        <div class="mt-4">
                            <h3 class="text-lg font-medium text-gray-900">ส่งออกข้อมูล</h3>
                            <p class="mt-2 text-base text-gray-500">
                                ส่งออกผลการจัดกลุ่มเป็นไฟล์ Excel/CSV เพื่อใช้งานต่อ
                            </p>
                        </div>
                    </div>

                    <!-- Feature 6 -->
                    <div class="group-card bg-gray-50 p-6 rounded-lg shadow" data-aos="fade-up" data-aos-delay="200">
                        <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
                            <i data-feather="database"></i>
                        </div>
                        <div class="mt-4">
                            <h3 class="text-lg font-medium text-gray-900">ประวัติ</h3>
                            <p class="mt-2 text-base text-gray-500">
                                เก็บประวัติการจัดกลุ่มทั้งหมดไว้ดูย้อนหลังได้
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- How It Works -->
    <div class="py-12 bg-gray-50">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="lg:text-center">
                <h2 class="text-base text-primary font-semibold tracking-wide uppercase">วิธีการใช้งาน</h2>
                <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
                    ใช้งานง่ายเพียง 3 ขั้นตอน
                </p>
            </div>

            <div class="mt-10">
                <div class="relative">
                    <div class="absolute left-1/2 -ml-px h-full w-0.5 bg-gray-200" aria-hidden="true"></div>
                    
                    <div class="relative flex flex-col space-y-10">
                        <!-- Step 1 -->
                        <div class="flex flex-col sm:flex-row" data-aos="fade-right">
                            <div class="flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-primary text-white sm:mx-0 mx-auto">
                                <span class="text-xl font-bold">1</span>
                            </div>
                            <div class="mt-3 sm:mt-0 sm:ml-6 text-center sm:text-left">
                                <h3 class="text-lg font-medium text-gray-900">แอดมินสร้างกิจกรรม</h3>
                                <p class="mt-2 text-base text-gray-500">
                                    แอดมินสร้างกิจกรรมใหม่ กำหนดจำนวนกลุ่มและสมาชิกต่อกลุ่ม จากนั้นแชร์ QR Code ให้ผู้เข้าร่วม
                                </p>
                            </div>
                        </div>

                        <!-- Step 2 -->
                        <div class="flex flex-col sm:flex-row" data-aos="fade-right" data-aos-delay="100">
                            <div class="flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-secondary text-white sm:mx-0 mx-auto">
                                <span class="text-xl font-bold">2</span>
                            </div>
                            <div class="mt-3 sm:mt-0 sm:ml-6 text-center sm:text-left">
                                <h3 class="text-lg font-medium text-gray-900">ผู้ใช้เข้าร่วมกิจกรรม</h3>
                                <p class="mt-2 text-base text-gray-500">
                                    ผู้ใช้สแกน QR Code และกรอกชื่อหรือรหัสประจำตัวเพื่อเข้าร่วมกิจกรรม
                                </p>
                            </div>
                        </div>

                        <!-- Step 3 -->
                        <div class="flex flex-col sm:flex-row" data-aos="fade-right" data-aos-delay="200">
                            <div class="flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-accent text-white sm:mx-0 mx-auto">
                                <span class="text-xl font-bold">3</span>
                            </div>
                            <div class="mt-3 sm:mt-0 sm:ml-6 text-center sm:text-left">
                                <h3 class="text-lg font-medium text-gray-900">สุ่มและประกาศผล</h3>
                                <p class="mt-2 text-base text-gray-500">
                                    แอดมินกดสุ่มกลุ่มและประกาศผล ผู้ใช้ทุกคนจะเห็นผลการจัดกลุ่มพร้อมกันแบบเรียลไทม์
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Footer -->
    <footer class="bg-white">
        <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
            <div class="border-t border-gray-200 pt-8 md:flex md:items-center md:justify-between">
                <div class="flex justify-center space-x-6 md:order-2">
                    <a href="#" class="text-gray-400 hover:text-gray-500">
                        <i data-feather="facebook"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-gray-500">
                        <i data-feather="twitter"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-gray-500">
                        <i data-feather="instagram"></i>
                    </a>
                </div>
                <div class="mt-8 md:mt-0 md:order-1">
                    <p class="text-center text-base text-gray-400">
                        &copy; 2023 Group Maker. All rights reserved.
                    </p>
                </div>
            </div>
        </div>
    </footer>

    <script>
        AOS.init({
            duration: 800,
            easing: 'ease-in-out',
            once: true
        });
        feather.replace();
    </script>
</body>
</html>