CSNET commited on
Commit
8fa070e
·
verified ·
1 Parent(s): 21f471f

ช่วยทำ mobileapp betterme clone ให้ที

Browse files
Files changed (5) hide show
  1. README.md +8 -5
  2. challenges.html +193 -0
  3. index.html +251 -18
  4. profile.html +220 -0
  5. progress.html +291 -0
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Betterme Mobile Clone
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: BetterMe Mobile Clone 🧘‍♀️
3
+ colorFrom: yellow
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://deepsite.hf.co).
challenges.html ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Challenges - BetterMe</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
11
+ <style>
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background-color: #f8f9fa;
15
+ }
16
+ .gradient-bg {
17
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
18
+ }
19
+ .card-shadow {
20
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
21
+ }
22
+ .active-tab {
23
+ border-bottom: 3px solid #667eea;
24
+ }
25
+ </style>
26
+ </head>
27
+ <body class="bg-gray-50">
28
+ <!-- Header -->
29
+ <header class="bg-white shadow-sm sticky top-0 z-10">
30
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
31
+ <div class="flex items-center">
32
+ <button class="p-2 rounded-full text-gray-600">
33
+ <i data-feather="arrow-left"></i>
34
+ </button>
35
+ <h1 class="ml-2 text-xl font-bold text-gray-800">Challenges</h1>
36
+ </div>
37
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600">
38
+ <i data-feather="filter"></i>
39
+ </button>
40
+ </div>
41
+ </header>
42
+
43
+ <!-- Tabs -->
44
+ <div class="container mx-auto px-4">
45
+ <div class="flex border-b border-gray-200">
46
+ <button class="py-3 px-4 text-indigo-600 font-medium active-tab">Active</button>
47
+ <button class="py-3 px-4 text-gray-500 font-medium">Available</button>
48
+ <button class="py-3 px-4 text-gray-500 font-medium">Completed</button>
49
+ </div>
50
+ </div>
51
+
52
+ <!-- Main Content -->
53
+ <main class="container mx-auto px-4 py-6">
54
+ <!-- Active Challenges -->
55
+ <section class="mb-8">
56
+ <div class="bg-white rounded-xl p-5 card-shadow mb-6">
57
+ <div class="flex items-start">
58
+ <div class="w-16 h-16 rounded-lg bg-gradient-to-r from-green-400 to-blue-500 flex items-center justify-center text-white flex-shrink-0">
59
+ <i data-feather="target"></i>
60
+ </div>
61
+ <div class="ml-4 flex-1">
62
+ <div class="flex justify-between">
63
+ <h4 class="font-bold text-gray-800">7-Day Mindfulness</h4>
64
+ <span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded-full">Active</span>
65
+ </div>
66
+ <p class="text-sm text-gray-500 mt-1">Practice mindfulness for 10 minutes daily</p>
67
+ <div class="mt-3">
68
+ <div class="flex justify-between text-sm mb-1">
69
+ <span class="text-gray-600">Progress</span>
70
+ <span class="font-medium">3/7 days</span>
71
+ </div>
72
+ <div class="w-full bg-gray-200 rounded-full h-2">
73
+ <div class="bg-gradient-to-r from-green-400 to-blue-500 h-2 rounded-full" style="width: 43%"></div>
74
+ </div>
75
+ </div>
76
+ <div class="mt-4 flex justify-between items-center">
77
+ <div class="flex items-center">
78
+ <div class="w-6 h-6 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-500">
79
+ <i data-feather="star" class="w-3 h-3"></i>
80
+ </div>
81
+ <span class="ml-1 text-sm text-gray-600">+150 pts</span>
82
+ </div>
83
+ <button class="px-4 py-2 bg-gradient-to-r from-purple-500 to-indigo-600 text-white rounded-lg text-sm font-medium">Continue</button>
84
+ </div>
85
+ </div>
86
+ </div>
87
+ </div>
88
+
89
+ <div class="bg-white rounded-xl p-5 card-shadow mb-6">
90
+ <div class="flex items-start">
91
+ <div class="w-16 h-16 rounded-lg bg-gradient-to-r from-purple-400 to-pink-500 flex items-center justify-center text-white flex-shrink-0">
92
+ <i data-feather="droplet"></i>
93
+ </div>
94
+ <div class="ml-4 flex-1">
95
+ <div class="flex justify-between">
96
+ <h4 class="font-bold text-gray-800">Hydration Hero</h4>
97
+ <span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded-full">Active</span>
98
+ </div>
99
+ <p class="text-sm text-gray-500 mt-1">Drink 8 glasses of water daily</p>
100
+ <div class="mt-3">
101
+ <div class="flex justify-between text-sm mb-1">
102
+ <span class="text-gray-600">Progress</span>
103
+ <span class="font-medium">5/7 days</span>
104
+ </div>
105
+ <div class="w-full bg-gray-200 rounded-full h-2">
106
+ <div class="bg-gradient-to-r from-purple-400 to-pink-500 h-2 rounded-full" style="width: 71%"></div>
107
+ </div>
108
+ </div>
109
+ <div class="mt-4 flex justify-between items-center">
110
+ <div class="flex items-center">
111
+ <div class="w-6 h-6 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-500">
112
+ <i data-feather="star" class="w-3 h-3"></i>
113
+ </div>
114
+ <span class="ml-1 text-sm text-gray-600">+100 pts</span>
115
+ </div>
116
+ <button class="px-4 py-2 bg-gradient-to-r from-purple-500 to-indigo-600 text-white rounded-lg text-sm font-medium">Log Water</button>
117
+ </div>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </section>
122
+
123
+ <!-- Daily Challenges -->
124
+ <section>
125
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Daily Challenges</h3>
126
+ <div class="bg-white rounded-xl p-5 card-shadow">
127
+ <div class="flex items-center mb-4">
128
+ <div class="w-12 h-12 rounded-lg bg-gradient-to-r from-yellow-400 to-orange-500 flex items-center justify-center text-white">
129
+ <i data-feather="sun"></i>
130
+ </div>
131
+ <div class="ml-4 flex-1">
132
+ <h4 class="font-medium text-gray-800">Morning Routine</h4>
133
+ <p class="text-sm text-gray-500">Complete your morning routine</p>
134
+ </div>
135
+ <button class="px-3 py-1 bg-gray-100 text-gray-800 rounded-lg text-sm font-medium">Start</button>
136
+ </div>
137
+
138
+ <div class="flex items-center mb-4">
139
+ <div class="w-12 h-12 rounded-lg bg-gradient-to-r from-blue-400 to-cyan-500 flex items-center justify-center text-white">
140
+ <i data-feather="moon"></i>
141
+ </div>
142
+ <div class="ml-4 flex-1">
143
+ <h4 class="font-medium text-gray-800">Evening Reflection</h4>
144
+ <p class="text-sm text-gray-500">Write in your journal before bed</p>
145
+ </div>
146
+ <button class="px-3 py-1 bg-gray-100 text-gray-800 rounded-lg text-sm font-medium">Start</button>
147
+ </div>
148
+
149
+ <div class="flex items-center">
150
+ <div class="w-12 h-12 rounded-lg bg-gradient-to-r from-red-400 to-pink-500 flex items-center justify-center text-white">
151
+ <i data-feather="heart"></i>
152
+ </div>
153
+ <div class="ml-4 flex-1">
154
+ <h4 class="font-medium text-gray-800">Gratitude Practice</h4>
155
+ <p class="text-sm text-gray-500">List 3 things you're grateful for</p>
156
+ </div>
157
+ <button class="px-3 py-1 bg-gray-100 text-gray-800 rounded-lg text-sm font-medium">Start</button>
158
+ </div>
159
+ </div>
160
+ </section>
161
+ </main>
162
+
163
+ <!-- Bottom Navigation -->
164
+ <nav class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200">
165
+ <div class="container mx-auto px-4">
166
+ <div class="flex justify-around">
167
+ <a href="index.html" class="flex flex-col items-center py-3 text-gray-500">
168
+ <i data-feather="home" class="w-5 h-5 mb-1"></i>
169
+ <span class="text-xs">Home</span>
170
+ </a>
171
+ <a href="progress.html" class="flex flex-col items-center py-3 text-gray-500">
172
+ <i data-feather="bar-chart-2" class="w-5 h-5 mb-1"></i>
173
+ <span class="text-xs">Progress</span>
174
+ </a>
175
+ <a href="#" class="flex flex-col items-center py-3 text-indigo-600 active-tab">
176
+ <i data-feather="calendar" class="w-5 h-5 mb-1"></i>
177
+ <span class="text-xs">Challenges</span>
178
+ </a>
179
+ <a href="profile.html" class="flex flex-col items-center py-3 text-gray-500">
180
+ <i data-feather="user" class="w-5 h-5 mb-1"></i>
181
+ <span class="text-xs">Profile</span>
182
+ </a>
183
+ </div>
184
+ </div>
185
+ </nav>
186
+
187
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
188
+ <script>
189
+ // Initialize Feather Icons
190
+ feather.replace();
191
+ </script>
192
+ </body>
193
+ </html>
index.html CHANGED
@@ -1,19 +1,252 @@
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="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>BetterMe - Wellness App</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
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=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
12
+ <style>
13
+ body {
14
+ font-family: 'Poppins', sans-serif;
15
+ background-color: #f8f9fa;
16
+ }
17
+ .gradient-bg {
18
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
19
+ }
20
+ .card-shadow {
21
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
22
+ }
23
+ .active-tab {
24
+ border-bottom: 3px solid #667eea;
25
+ }
26
+ .progress-ring__circle {
27
+ transition: stroke-dashoffset 0.35s;
28
+ transform: rotate(-90deg);
29
+ transform-origin: 50% 50%;
30
+ }
31
+ </style>
32
+ </head>
33
+ <body class="bg-gray-50">
34
+ <!-- Header -->
35
+ <header class="bg-white shadow-sm sticky top-0 z-10">
36
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
37
+ <div class="flex items-center">
38
+ <div class="w-10 h-10 rounded-full bg-gradient-to-r from-purple-500 to-indigo-600 flex items-center justify-center text-white font-bold">BM</div>
39
+ <h1 class="ml-3 text-xl font-bold text-gray-800">BetterMe</h1>
40
+ </div>
41
+ <div class="flex items-center space-x-4">
42
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600">
43
+ <i data-feather="bell"></i>
44
+ </button>
45
+ <div class="w-8 h-8 rounded-full bg-gray-200"></div>
46
+ </div>
47
+ </div>
48
+ </header>
49
+
50
+ <!-- Main Content -->
51
+ <main class="container mx-auto px-4 py-6">
52
+ <!-- Welcome Section -->
53
+ <section class="mb-8">
54
+ <div class="gradient-bg rounded-2xl p-6 text-white">
55
+ <h2 class="text-2xl font-bold">Good morning, Sarah! ☀️</h2>
56
+ <p class="mt-2 opacity-90">Ready for your daily wellness journey?</p>
57
+ <div class="mt-4 flex items-center">
58
+ <div class="relative w-16 h-16">
59
+ <svg class="w-full h-full" viewBox="0 0 36 36">
60
+ <path
61
+ d="M18 2.0845
62
+ a 15.9155 15.9155 0 0 1 0 31.831
63
+ a 15.9155 15.9155 0 0 1 0 -31.831"
64
+ fill="none"
65
+ stroke="#eee"
66
+ stroke-width="3"></path>
67
+ <path
68
+ d="M18 2.0845
69
+ a 15.9155 15.9155 0 0 1 0 31.831
70
+ a 15.9155 15.9155 0 0 1 0 -31.831"
71
+ fill="none"
72
+ stroke="#fff"
73
+ stroke-width="3"
74
+ stroke-dasharray="70, 100"></path>
75
+ </svg>
76
+ <div class="absolute inset-0 flex items-center justify-center">
77
+ <span class="text-sm font-bold">70%</span>
78
+ </div>
79
+ </div>
80
+ <div class="ml-4">
81
+ <p class="font-medium">Weekly Goal</p>
82
+ <p class="text-sm opacity-90">3 of 5 days completed</p>
83
+ </div>
84
+ </div>
85
+ </div>
86
+ </section>
87
+
88
+ <!-- Quick Actions -->
89
+ <section class="mb-8">
90
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Quick Actions</h3>
91
+ <div class="grid grid-cols-2 gap-4">
92
+ <div class="bg-white rounded-xl p-4 card-shadow">
93
+ <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center text-blue-500 mb-3">
94
+ <i data-feather="heart"></i>
95
+ </div>
96
+ <h4 class="font-medium text-gray-800">Meditation</h4>
97
+ <p class="text-sm text-gray-500 mt-1">5 min session</p>
98
+ </div>
99
+ <div class="bg-white rounded-xl p-4 card-shadow">
100
+ <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center text-green-500 mb-3">
101
+ <i data-feather="activity"></i>
102
+ </div>
103
+ <h4 class="font-medium text-gray-800">Workout</h4>
104
+ <p class="text-sm text-gray-500 mt-1">15 min routine</p>
105
+ </div>
106
+ <div class="bg-white rounded-xl p-4 card-shadow">
107
+ <div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center text-purple-500 mb-3">
108
+ <i data-feather="book"></i>
109
+ </div>
110
+ <h4 class="font-medium text-gray-800">Journal</h4>
111
+ <p class="text-sm text-gray-500 mt-1">Daily reflection</p>
112
+ </div>
113
+ <div class="bg-white rounded-xl p-4 card-shadow">
114
+ <div class="w-12 h-12 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-500 mb-3">
115
+ <i data-feather="droplet"></i>
116
+ </div>
117
+ <h4 class="font-medium text-gray-800">Hydration</h4>
118
+ <p class="text-sm text-gray-500 mt-1">Log water intake</p>
119
+ </div>
120
+ </div>
121
+ </section>
122
+
123
+ <!-- Today's Progress -->
124
+ <section class="mb-8">
125
+ <div class="flex justify-between items-center mb-4">
126
+ <h3 class="text-lg font-semibold text-gray-800">Today's Progress</h3>
127
+ <button class="text-indigo-600 text-sm font-medium">View All</button>
128
+ </div>
129
+ <div class="bg-white rounded-xl p-5 card-shadow">
130
+ <div class="flex justify-between mb-4">
131
+ <div>
132
+ <h4 class="font-medium text-gray-800">Wellness Score</h4>
133
+ <p class="text-2xl font-bold text-gray-900 mt-1">82</p>
134
+ </div>
135
+ <div class="text-right">
136
+ <p class="text-sm text-gray-500">Yesterday</p>
137
+ <p class="text-sm font-medium text-gray-900">78</p>
138
+ </div>
139
+ </div>
140
+ <div class="h-32">
141
+ <canvas id="progressChart"></canvas>
142
+ </div>
143
+ </div>
144
+ </section>
145
+
146
+ <!-- Challenges -->
147
+ <section>
148
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Active Challenges</h3>
149
+ <div class="bg-white rounded-xl p-5 card-shadow">
150
+ <div class="flex items-center">
151
+ <div class="w-16 h-16 rounded-lg bg-gradient-to-r from-green-400 to-blue-500 flex items-center justify-center text-white">
152
+ <i data-feather="target"></i>
153
+ </div>
154
+ <div class="ml-4 flex-1">
155
+ <h4 class="font-medium text-gray-800">7-Day Mindfulness</h4>
156
+ <p class="text-sm text-gray-500 mt-1">Day 3 of 7</p>
157
+ <div class="mt-2 w-full bg-gray-200 rounded-full h-2">
158
+ <div class="bg-gradient-to-r from-green-400 to-blue-500 h-2 rounded-full" style="width: 43%"></div>
159
+ </div>
160
+ </div>
161
+ </div>
162
+ <div class="mt-4 pt-4 border-t border-gray-100">
163
+ <button class="w-full py-3 bg-gradient-to-r from-purple-500 to-indigo-600 text-white rounded-lg font-medium">Continue Challenge</button>
164
+ </div>
165
+ </div>
166
+ </section>
167
+ </main>
168
+
169
+ <!-- Bottom Navigation -->
170
+ <nav class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200">
171
+ <div class="container mx-auto px-4">
172
+ <div class="flex justify-around">
173
+ <a href="#" class="flex flex-col items-center py-3 text-indigo-600 active-tab">
174
+ <i data-feather="home" class="w-5 h-5 mb-1"></i>
175
+ <span class="text-xs">Home</span>
176
+ </a>
177
+ <a href="#" class="flex flex-col items-center py-3 text-gray-500">
178
+ <i data-feather="bar-chart-2" class="w-5 h-5 mb-1"></i>
179
+ <span class="text-xs">Progress</span>
180
+ </a>
181
+ <a href="#" class="flex flex-col items-center py-3 text-gray-500">
182
+ <i data-feather="calendar" class="w-5 h-5 mb-1"></i>
183
+ <span class="text-xs">Challenges</span>
184
+ </a>
185
+ <a href="#" class="flex flex-col items-center py-3 text-gray-500">
186
+ <i data-feather="user" class="w-5 h-5 mb-1"></i>
187
+ <span class="text-xs">Profile</span>
188
+ </a>
189
+ </div>
190
+ </div>
191
+ </nav>
192
+
193
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
194
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
195
+ <script>
196
+ // Initialize Feather Icons
197
+ feather.replace();
198
+
199
+ // Chart initialization
200
+ const ctx = document.getElementById('progressChart').getContext('2d');
201
+ const progressChart = new Chart(ctx, {
202
+ type: 'line',
203
+ data: {
204
+ labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
205
+ datasets: [{
206
+ label: 'Wellness Score',
207
+ data: [72, 75, 78, 80, 82, 81, 82],
208
+ borderColor: '#667eea',
209
+ backgroundColor: 'rgba(102, 126, 234, 0.1)',
210
+ borderWidth: 3,
211
+ pointBackgroundColor: '#fff',
212
+ pointBorderWidth: 3,
213
+ pointRadius: 5,
214
+ pointHoverRadius: 7,
215
+ fill: true,
216
+ tension: 0.4
217
+ }]
218
+ },
219
+ options: {
220
+ responsive: true,
221
+ maintainAspectRatio: false,
222
+ plugins: {
223
+ legend: {
224
+ display: false
225
+ }
226
+ },
227
+ scales: {
228
+ y: {
229
+ beginAtZero: false,
230
+ min: 70,
231
+ max: 90,
232
+ grid: {
233
+ display: false
234
+ },
235
+ ticks: {
236
+ display: false
237
+ }
238
+ },
239
+ x: {
240
+ grid: {
241
+ display: false
242
+ },
243
+ ticks: {
244
+ color: '#9ca3af'
245
+ }
246
+ }
247
+ }
248
+ }
249
+ });
250
+ </script>
251
+ </body>
252
  </html>
profile.html ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Profile - BetterMe</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
11
+ <style>
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background-color: #f8f9fa;
15
+ }
16
+ .gradient-bg {
17
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
18
+ }
19
+ .card-shadow {
20
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
21
+ }
22
+ .active-tab {
23
+ border-bottom: 3px solid #667eea;
24
+ }
25
+ </style>
26
+ </head>
27
+ <body class="bg-gray-50">
28
+ <!-- Header -->
29
+ <header class="bg-white shadow-sm sticky top-0 z-10">
30
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
31
+ <div class="flex items-center">
32
+ <button class="p-2 rounded-full text-gray-600">
33
+ <i data-feather="arrow-left"></i>
34
+ </button>
35
+ <h1 class="ml-2 text-xl font-bold text-gray-800">My Profile</h1>
36
+ </div>
37
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600">
38
+ <i data-feather="settings"></i>
39
+ </button>
40
+ </div>
41
+ </header>
42
+
43
+ <!-- Profile Header -->
44
+ <section class="container mx-auto px-4 py-6">
45
+ <div class="bg-white rounded-xl p-6 card-shadow">
46
+ <div class="flex items-center">
47
+ <div class="w-20 h-20 rounded-full bg-gradient-to-r from-purple-500 to-indigo-600 flex items-center justify-center text-white text-2xl font-bold">S</div>
48
+ <div class="ml-6">
49
+ <h2 class="text-2xl font-bold text-gray-800">Sarah Johnson</h2>
50
+ <p class="text-gray-500 mt-1">Member since Jan 2023</p>
51
+ <div class="flex items-center mt-2">
52
+ <div class="flex items-center">
53
+ <i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
54
+ <span class="ml-1 text-sm font-medium text-gray-700">1,240 pts</span>
55
+ </div>
56
+ <div class="flex items-center ml-4">
57
+ <i data-feather="award" class="w-4 h-4 text-blue-500"></i>
58
+ <span class="ml-1 text-sm font-medium text-gray-700">12 badges</span>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ </section>
65
+
66
+ <!-- Stats -->
67
+ <section class="container mx-auto px-4 mb-6">
68
+ <div class="grid grid-cols-3 gap-4">
69
+ <div class="bg-white rounded-xl p-4 card-shadow text-center">
70
+ <p class="text-2xl font-bold text-gray-800">7</p>
71
+ <p class="text-sm text-gray-500 mt-1">Day Streak</p>
72
+ </div>
73
+ <div class="bg-white rounded-xl p-4 card-shadow text-center">
74
+ <p class="text-2xl font-bold text-gray-800">24</p>
75
+ <p class="text-sm text-gray-500 mt-1">Completed</p>
76
+ </div>
77
+ <div class="bg-white rounded-xl p-4 card-shadow text-center">
78
+ <p class="text-2xl font-bold text-gray-800">82</p>
79
+ <p class="text-sm text-gray-500 mt-1">Wellness Score</p>
80
+ </div>
81
+ </div>
82
+ </section>
83
+
84
+ <!-- Preferences -->
85
+ <section class="container mx-auto px-4 mb-6">
86
+ <div class="bg-white rounded-xl p-5 card-shadow">
87
+ <h3 class="font-semibold text-gray-800 mb-4">Preferences</h3>
88
+ <div class="space-y-4">
89
+ <div class="flex justify-between items-center pb-3 border-b border-gray-100">
90
+ <div class="flex items-center">
91
+ <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-500">
92
+ <i data-feather="bell"></i>
93
+ </div>
94
+ <div class="ml-4">
95
+ <h4 class="font-medium text-gray-800">Notifications</h4>
96
+ <p class="text-sm text-gray-500">Reminders and alerts</p>
97
+ </div>
98
+ </div>
99
+ <div class="relative inline-block w-10 mr-2 align-middle select-none">
100
+ <input type="checkbox" name="toggle" id="notifications" class="checked:bg-blue-500 outline-none focus:ring-0 rounded-full" checked>
101
+ <label for="notifications" class="block h-6 w-10 cursor-pointer rounded-full bg-gray-300"></label>
102
+ </div>
103
+ </div>
104
+
105
+ <div class="flex justify-between items-center pb-3 border-b border-gray-100">
106
+ <div class="flex items-center">
107
+ <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center text-green-500">
108
+ <i data-feather="moon"></i>
109
+ </div>
110
+ <div class="ml-4">
111
+ <h4 class="font-medium text-gray-800">Dark Mode</h4>
112
+ <p class="text-sm text-gray-500">Switch to dark theme</p>
113
+ </div>
114
+ </div>
115
+ <div class="relative inline-block w-10 mr-2 align-middle select-none">
116
+ <input type="checkbox" name="toggle" id="darkmode" class="checked:bg-blue-500 outline-none focus:ring-0 rounded-full">
117
+ <label for="darkmode" class="block h-6 w-10 cursor-pointer rounded-full bg-gray-300"></label>
118
+ </div>
119
+ </div>
120
+
121
+ <div class="flex justify-between items-center">
122
+ <div class="flex items-center">
123
+ <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-500">
124
+ <i data-feather="globe"></i>
125
+ </div>
126
+ <div class="ml-4">
127
+ <h4 class="font-medium text-gray-800">Language</h4>
128
+ <p class="text-sm text-gray-500">English</p>
129
+ </div>
130
+ </div>
131
+ <i data-feather="chevron-right" class="text-gray-400"></i>
132
+ </div>
133
+ </div>
134
+ </div>
135
+ </section>
136
+
137
+ <!-- Account -->
138
+ <section class="container mx-auto px-4 mb-6">
139
+ <div class="bg-white rounded-xl p-5 card-shadow">
140
+ <h3 class="font-semibold text-gray-800 mb-4">Account</h3>
141
+ <div class="space-y-4">
142
+ <div class="flex items-center pb-3 border-b border-gray-100">
143
+ <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-500">
144
+ <i data-feather="user"></i>
145
+ </div>
146
+ <div class="ml-4 flex-1">
147
+ <h4 class="font-medium text-gray-800">Edit Profile</h4>
148
+ <p class="text-sm text-gray-500">Update your personal info</p>
149
+ </div>
150
+ <i data-feather="chevron-right" class="text-gray-400"></i>
151
+ </div>
152
+
153
+ <div class="flex items-center pb-3 border-b border-gray-100">
154
+ <div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center text-red-500">
155
+ <i data-feather="lock"></i>
156
+ </div>
157
+ <div class="ml-4 flex-1">
158
+ <h4 class="font-medium text-gray-800">Security</h4>
159
+ <p class="text-sm text-gray-500">Password and authentication</p>
160
+ </div>
161
+ <i data-feather="chevron-right" class="text-gray-400"></i>
162
+ </div>
163
+
164
+ <div class="flex items-center">
165
+ <div class="w-10 h-10 rounded-full bg-gray-100 flex items-center justify-center text-gray-500">
166
+ <i data-feather="log-out"></i>
167
+ </div>
168
+ <div class="ml-4 flex-1">
169
+ <h4 class="font-medium text-red-500">Logout</h4>
170
+ <p class="text-sm text-gray-500">Sign out of your account</p>
171
+ </div>
172
+ <i data-feather="chevron-right" class="text-gray-400"></i>
173
+ </div>
174
+ </div>
175
+ </div>
176
+ </section>
177
+
178
+ <!-- Bottom Navigation -->
179
+ <nav class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200">
180
+ <div class="container mx-auto px-4">
181
+ <div class="flex justify-around">
182
+ <a href="index.html" class="flex flex-col items-center py-3 text-gray-500">
183
+ <i data-feather="home" class="w-5 h-5 mb-1"></i>
184
+ <span class="text-xs">Home</span>
185
+ </a>
186
+ <a href="progress.html" class="flex flex-col items-center py-3 text-gray-500">
187
+ <i data-feather="bar-chart-2" class="w-5 h-5 mb-1"></i>
188
+ <span class="text-xs">Progress</span>
189
+ </a>
190
+ <a href="challenges.html" class="flex flex-col items-center py-3 text-gray-500">
191
+ <i data-feather="calendar" class="w-5 h-5 mb-1"></i>
192
+ <span class="text-xs">Challenges</span>
193
+ </a>
194
+ <a href="#" class="flex flex-col items-center py-3 text-indigo-600 active-tab">
195
+ <i data-feather="user" class="w-5 h-5 mb-1"></i>
196
+ <span class="text-xs">Profile</span>
197
+ </a>
198
+ </div>
199
+ </div>
200
+ </nav>
201
+
202
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
203
+ <script>
204
+ // Initialize Feather Icons
205
+ feather.replace();
206
+
207
+ // Toggle switch functionality
208
+ const toggleSwitches = document.querySelectorAll('input[type="checkbox"]');
209
+ toggleSwitches.forEach(switchEl => {
210
+ switchEl.addEventListener('change', function() {
211
+ if (this.checked) {
212
+ this.parentElement.classList.add('bg-blue-500');
213
+ } else {
214
+ this.parentElement.classList.remove('bg-blue-500');
215
+ }
216
+ });
217
+ });
218
+ </script>
219
+ </body>
220
+ </html>
progress.html ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Progress - BetterMe</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
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=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
12
+ <style>
13
+ body {
14
+ font-family: 'Poppins', sans-serif;
15
+ background-color: #f8f9fa;
16
+ }
17
+ .gradient-bg {
18
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
19
+ }
20
+ .card-shadow {
21
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
22
+ }
23
+ .active-tab {
24
+ border-bottom: 3px solid #667eea;
25
+ }
26
+ </style>
27
+ </head>
28
+ <body class="bg-gray-50">
29
+ <!-- Header -->
30
+ <header class="bg-white shadow-sm sticky top-0 z-10">
31
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
32
+ <div class="flex items-center">
33
+ <button class="p-2 rounded-full text-gray-600">
34
+ <i data-feather="arrow-left"></i>
35
+ </button>
36
+ <h1 class="ml-2 text-xl font-bold text-gray-800">My Progress</h1>
37
+ </div>
38
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600">
39
+ <i data-feather="more-vertical"></i>
40
+ </button>
41
+ </div>
42
+ </header>
43
+
44
+ <!-- Main Content -->
45
+ <main class="container mx-auto px-4 py-6">
46
+ <!-- Stats Overview -->
47
+ <section class="mb-8">
48
+ <div class="grid grid-cols-2 gap-4">
49
+ <div class="bg-white rounded-xl p-5 card-shadow">
50
+ <div class="flex items-center">
51
+ <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center text-blue-500">
52
+ <i data-feather="heart"></i>
53
+ </div>
54
+ <div class="ml-4">
55
+ <p class="text-sm text-gray-500">Current Streak</p>
56
+ <p class="text-2xl font-bold text-gray-900">7 days</p>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ <div class="bg-white rounded-xl p-5 card-shadow">
61
+ <div class="flex items-center">
62
+ <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center text-green-500">
63
+ <i data-feather="award"></i>
64
+ </div>
65
+ <div class="ml-4">
66
+ <p class="text-sm text-gray-500">Total Points</p>
67
+ <p class="text-2xl font-bold text-gray-900">1,240</p>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ </section>
73
+
74
+ <!-- Weekly Overview -->
75
+ <section class="mb-8">
76
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">This Week</h3>
77
+ <div class="bg-white rounded-xl p-5 card-shadow">
78
+ <div class="flex justify-between mb-6">
79
+ <div>
80
+ <p class="text-sm text-gray-500">Wellness Score</p>
81
+ <p class="text-2xl font-bold text-gray-900 mt-1">82</p>
82
+ </div>
83
+ <div class="text-right">
84
+ <p class="text-sm text-gray-500">Last Week</p>
85
+ <p class="text-2xl font-bold text-gray-900 mt-1">78</p>
86
+ </div>
87
+ </div>
88
+ <div class="h-64">
89
+ <canvas id="weeklyChart"></canvas>
90
+ </div>
91
+ </div>
92
+ </section>
93
+
94
+ <!-- Monthly Progress -->
95
+ <section class="mb-8">
96
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Monthly Overview</h3>
97
+ <div class="bg-white rounded-xl p-5 card-shadow">
98
+ <div class="flex justify-between mb-4">
99
+ <div>
100
+ <p class="text-sm text-gray-500">Completion Rate</p>
101
+ <p class="text-2xl font-bold text-gray-900 mt-1">76%</p>
102
+ </div>
103
+ <div class="text-right">
104
+ <p class="text-sm text-gray-500">Goal</p>
105
+ <p class="text-2xl font-bold text-gray-900 mt-1">80%</p>
106
+ </div>
107
+ </div>
108
+ <div class="h-64">
109
+ <canvas id="monthlyChart"></canvas>
110
+ </div>
111
+ </div>
112
+ </section>
113
+
114
+ <!-- Achievements -->
115
+ <section>
116
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Recent Achievements</h3>
117
+ <div class="bg-white rounded-xl p-5 card-shadow">
118
+ <div class="flex items-center mb-4">
119
+ <div class="w-12 h-12 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-500">
120
+ <i data-feather="star"></i>
121
+ </div>
122
+ <div class="ml-4">
123
+ <h4 class="font-medium text-gray-800">7-Day Streak</h4>
124
+ <p class="text-sm text-gray-500">Completed meditation daily for 7 days</p>
125
+ </div>
126
+ </div>
127
+ <div class="flex items-center">
128
+ <div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center text-purple-500">
129
+ <i data-feather="target"></i>
130
+ </div>
131
+ <div class="ml-4">
132
+ <h4 class="font-medium text-gray-800">Early Bird</h4>
133
+ <p class="text-sm text-gray-500">Completed morning routine 5 days in a row</p>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </section>
138
+ </main>
139
+
140
+ <!-- Bottom Navigation -->
141
+ <nav class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200">
142
+ <div class="container mx-auto px-4">
143
+ <div class="flex justify-around">
144
+ <a href="index.html" class="flex flex-col items-center py-3 text-gray-500">
145
+ <i data-feather="home" class="w-5 h-5 mb-1"></i>
146
+ <span class="text-xs">Home</span>
147
+ </a>
148
+ <a href="#" class="flex flex-col items-center py-3 text-indigo-600 active-tab">
149
+ <i data-feather="bar-chart-2" class="w-5 h-5 mb-1"></i>
150
+ <span class="text-xs">Progress</span>
151
+ </a>
152
+ <a href="challenges.html" class="flex flex-col items-center py-3 text-gray-500">
153
+ <i data-feather="calendar" class="w-5 h-5 mb-1"></i>
154
+ <span class="text-xs">Challenges</span>
155
+ </a>
156
+ <a href="profile.html" class="flex flex-col items-center py-3 text-gray-500">
157
+ <i data-feather="user" class="w-5 h-5 mb-1"></i>
158
+ <span class="text-xs">Profile</span>
159
+ </a>
160
+ </div>
161
+ </div>
162
+ </nav>
163
+
164
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
165
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
166
+ <script>
167
+ // Initialize Feather Icons
168
+ feather.replace();
169
+
170
+ // Weekly Chart
171
+ const weeklyCtx = document.getElementById('weeklyChart').getContext('2d');
172
+ const weeklyChart = new Chart(weeklyCtx, {
173
+ type: 'bar',
174
+ data: {
175
+ labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
176
+ datasets: [{
177
+ label: 'Wellness Score',
178
+ data: [72, 75, 78, 80, 82, 81, 82],
179
+ backgroundColor: [
180
+ 'rgba(102, 126, 234, 0.7)',
181
+ 'rgba(102, 126, 234, 0.7)',
182
+ 'rgba(102, 126, 234, 0.7)',
183
+ 'rgba(102, 126, 234, 0.7)',
184
+ 'rgba(102, 126, 234, 0.7)',
185
+ 'rgba(92, 150, 233, 0.7)',
186
+ 'rgba(92, 150, 233, 0.7)'
187
+ ],
188
+ borderColor: [
189
+ 'rgba(102, 126, 234, 1)',
190
+ 'rgba(102, 126, 234, 1)',
191
+ 'rgba(102, 126, 234, 1)',
192
+ 'rgba(102, 126, 234, 1)',
193
+ 'rgba(102, 126, 234, 1)',
194
+ 'rgba(92, 150, 233, 1)',
195
+ 'rgba(92, 150, 233, 1)'
196
+ ],
197
+ borderWidth: 1
198
+ }]
199
+ },
200
+ options: {
201
+ responsive: true,
202
+ maintainAspectRatio: false,
203
+ plugins: {
204
+ legend: {
205
+ display: false
206
+ }
207
+ },
208
+ scales: {
209
+ y: {
210
+ beginAtZero: true,
211
+ max: 100,
212
+ grid: {
213
+ display: false
214
+ },
215
+ ticks: {
216
+ color: '#9ca3af'
217
+ }
218
+ },
219
+ x: {
220
+ grid: {
221
+ display: false
222
+ },
223
+ ticks: {
224
+ color: '#9ca3af'
225
+ }
226
+ }
227
+ }
228
+ }
229
+ });
230
+
231
+ // Monthly Chart
232
+ const monthlyCtx = document.getElementById('monthlyChart').getContext('2d');
233
+ const monthlyChart = new Chart(monthlyCtx, {
234
+ type: 'line',
235
+ data: {
236
+ labels: ['Week 1', 'Week 2', 'Week 3', 'Week 4'],
237
+ datasets: [{
238
+ label: 'Completion Rate',
239
+ data: [65, 70, 75, 76],
240
+ borderColor: '#667eea',
241
+ backgroundColor: 'rgba(102, 126, 234, 0.1)',
242
+ borderWidth: 3,
243
+ pointBackgroundColor: '#fff',
244
+ pointBorderWidth: 3,
245
+ pointRadius: 5,
246
+ pointHoverRadius: 7,
247
+ fill: true,
248
+ tension: 0.4
249
+ }, {
250
+ label: 'Goal',
251
+ data: [70, 75, 80, 80],
252
+ borderColor: '#94a3b8',
253
+ borderWidth: 2,
254
+ borderDash: [5, 5],
255
+ fill: false,
256
+ pointRadius: 0
257
+ }]
258
+ },
259
+ options: {
260
+ responsive: true,
261
+ maintainAspectRatio: false,
262
+ plugins: {
263
+ legend: {
264
+ display: false
265
+ }
266
+ },
267
+ scales: {
268
+ y: {
269
+ beginAtZero: true,
270
+ max: 100,
271
+ grid: {
272
+ display: false
273
+ },
274
+ ticks: {
275
+ color: '#9ca3af'
276
+ }
277
+ },
278
+ x: {
279
+ grid: {
280
+ display: false
281
+ },
282
+ ticks: {
283
+ color: '#9ca3af'
284
+ }
285
+ }
286
+ }
287
+ }
288
+ });
289
+ </script>
290
+ </body>
291
+ </html>