tommytracx commited on
Commit
8e4a7b8
·
verified ·
1 Parent(s): 8a6ec84

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +261 -19
  3. prompts.txt +2 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Corefit
3
- emoji: 🐠
4
- colorFrom: green
5
- colorTo: yellow
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: corefit
3
+ emoji: 🐳
4
+ colorFrom: blue
5
+ colorTo: red
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,261 @@
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>CoreFit Pro | Two-a-Day Workout Tracker</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
9
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
10
+ <style>
11
+ body {
12
+ font-family: 'Nunito Sans', 'Open Sans', sans-serif;
13
+ }
14
+ .exercise-card:hover {
15
+ transform: translateY(-5px);
16
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
17
+ }
18
+ .progress-ring__circle {
19
+ transition: stroke-dashoffset 0.5s;
20
+ transform: rotate(-90deg);
21
+ transform-origin: 50% 50%;
22
+ }
23
+ @keyframes pulse {
24
+ 0%, 100% { opacity: 1; }
25
+ 50% { opacity: 0.5; }
26
+ }
27
+ .animate-pulse {
28
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
29
+ }
30
+ .tab-content {
31
+ display: none;
32
+ }
33
+ .tab-content.active {
34
+ display: block;
35
+ }
36
+ .nav-item.active {
37
+ color: #00A8CC;
38
+ border-bottom: 2px solid #00A8CC;
39
+ }
40
+ </style>
41
+ </head>
42
+ <body class="bg-gray-50 text-gray-900">
43
+ <!-- Header -->
44
+ <header class="bg-white shadow-sm sticky top-0 z-10">
45
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
46
+ <div class="flex items-center">
47
+ <div class="w-10 h-10 rounded-full bg-gradient-to-r from-[#FF6B35] to-[#00A8CC] flex items-center justify-center text-white font-bold text-xl">CF</div>
48
+ <h1 class="ml-3 text-2xl font-bold text-[#1A1A1A]">CoreFit Pro</h1>
49
+ </div>
50
+ <div class="flex items-center space-x-4">
51
+ <div class="relative">
52
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="w-10 h-10 rounded-full border-2 border-[#00A8CC]">
53
+ <div class="absolute -bottom-1 -right-1 bg-[#28A745] w-4 h-4 rounded-full border-2 border-white"></div>
54
+ </div>
55
+ <span class="hidden md:inline font-medium">John D.</span>
56
+ </div>
57
+ </div>
58
+ </header>
59
+
60
+ <!-- Navigation -->
61
+ <nav class="bg-white shadow-sm">
62
+ <div class="container mx-auto px-4">
63
+ <div class="flex overflow-x-auto">
64
+ <button class="nav-item px-4 py-3 text-sm font-medium whitespace-nowrap active" data-tab="dashboard">
65
+ <i class="fas fa-home mr-2"></i>Dashboard
66
+ </button>
67
+ <button class="nav-item px-4 py-3 text-sm font-medium whitespace-nowrap" data-tab="workouts">
68
+ <i class="fas fa-dumbbell mr-2"></i>Workouts
69
+ </button>
70
+ <button class="nav-item px-4 py-3 text-sm font-medium whitespace-nowrap" data-tab="progress">
71
+ <i class="fas fa-chart-line mr-2"></i>Progress
72
+ </button>
73
+ <button class="nav-item px-4 py-3 text-sm font-medium whitespace-nowrap" data-tab="nutrition">
74
+ <i class="fas fa-utensils mr-2"></i>Nutrition
75
+ </button>
76
+ <button class="nav-item px-4 py-3 text-sm font-medium whitespace-nowrap" data-tab="settings">
77
+ <i class="fas fa-cog mr-2"></i>Settings
78
+ </button>
79
+ </div>
80
+ </div>
81
+ </nav>
82
+
83
+ <!-- Dashboard Content -->
84
+ <div id="dashboard" class="tab-content active">
85
+ <!-- User Stats Banner -->
86
+ <div class="bg-gradient-to-r from-[#004E89] to-[#00A8CC] text-white py-6">
87
+ <div class="container mx-auto px-4">
88
+ <div class="flex flex-col md:flex-row justify-between items-center">
89
+ <div class="mb-4 md:mb-0">
90
+ <h2 class="text-xl font-bold">Today's Workout Plan</h2>
91
+ <p class="text-sm opacity-90">Customized for your goals</p>
92
+ </div>
93
+ <div class="flex space-x-6 text-center">
94
+ <div>
95
+ <div class="text-2xl font-bold">6'2"</div>
96
+ <div class="text-xs opacity-80">Height</div>
97
+ </div>
98
+ <div>
99
+ <div class="text-2xl font-bold">235 lbs</div>
100
+ <div class="text-xs opacity-80">Weight</div>
101
+ </div>
102
+ <div>
103
+ <div class="text-2xl font-bold">28%</div>
104
+ <div class="text-xs opacity-80">Body Fat</div>
105
+ </div>
106
+ </div>
107
+ <button class="bg-[#FF6B35] hover:bg-[#e05a2b] text-white px-4 py-2 rounded-full font-medium text-sm transition-colors">
108
+ Update Stats
109
+ </button>
110
+ </div>
111
+ </div>
112
+ </div>
113
+
114
+ <!-- Main Content -->
115
+ <main class="container mx-auto px-4 py-8">
116
+ <!-- Workout Tabs -->
117
+ <div class="flex border-b border-gray-200 mb-8">
118
+ <button id="morning-tab" class="flex-1 py-4 px-1 text-center border-b-2 font-medium text-sm border-[#FF6B35] text-[#FF6B35]">
119
+ Morning Routine (7:00 AM)
120
+ </button>
121
+ <button id="evening-tab" class="flex-1 py-4 px-1 text-center border-b-2 font-medium text-sm border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300">
122
+ Evening Routine (6:30 PM)
123
+ </button>
124
+ </div>
125
+
126
+ <!-- Morning Workout Content -->
127
+ <div id="morning-content" class="workout-content">
128
+ <div class="mb-8">
129
+ <h2 class="text-2xl font-bold mb-2">Core Activation & Fat Burn</h2>
130
+ <p class="text-gray-600 mb-4">This high-intensity morning routine will kickstart your metabolism and target stubborn side and back fat.</p>
131
+ <div class="flex items-center text-sm text-gray-500">
132
+ <svg class="w-4 h-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
133
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
134
+ </svg>
135
+ <span>45 min • 8 exercises • 340-420 kcal</span>
136
+ </div>
137
+ </div>
138
+
139
+ <!-- Exercises -->
140
+ <div class="space-y-6">
141
+ <!-- Exercise 1 -->
142
+ <div class="exercise-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300">
143
+ <div class="md:flex">
144
+ <div class="md:flex-shrink-0 md:w-48 bg-gray-100 flex items-center justify-center">
145
+ <img class="h-full w-full object-cover" src="https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="Russian Twists">
146
+ </div>
147
+ <div class="p-6 flex-1">
148
+ <div class="flex justify-between items-start">
149
+ <div>
150
+ <div class="uppercase tracking-wide text-sm text-[#00A8CC] font-semibold">Core • 3 sets</div>
151
+ <h3 class="mt-1 text-xl font-semibold">Weighted Russian Twists</h3>
152
+ </div>
153
+ <button class="complete-btn ml-4 px-3 py-1 bg-gray-100 text-gray-800 rounded-full text-sm font-medium hover:bg-[#28A745] hover:text-white transition-colors" data-exercise="russian-twists">
154
+ Complete
155
+ </button>
156
+ </div>
157
+ <div class="mt-4">
158
+ <div class="flex items-center text-sm text-gray-500 mb-2">
159
+ <svg class="w-4 h-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
160
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
161
+ </svg>
162
+ <span>20 reps (each side) • 30 sec rest</span>
163
+ </div>
164
+ <p class="mt-2 text-gray-600">Sit on floor with knees bent, lean back slightly. Hold weight with both hands and rotate torso side to side, touching weight to floor each side.</p>
165
+ <div class="mt-3 flex space-x-2">
166
+ <span class="px-2 py-1 text-xs rounded-full bg-[#F7F9FC] text-[#004E89]">Oblique Focus</span>
167
+ <span class="px-2 py-1 text-xs rounded-full bg-[#F7F9FC] text-[#004E89]">Core Stability</span>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ <div class="px-6 py-3 bg-gray-50 border-t border-gray-100 flex justify-between items-center">
173
+ <button class="text-[#00A8CC] text-sm font-medium flex items-center">
174
+ <svg class="w-4 h-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
175
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"></path>
176
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
177
+ </svg>
178
+ Watch Form
179
+ </button>
180
+ <div class="flex items-center text-sm text-gray-500">
181
+ <svg class="w-4 h-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
182
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path>
183
+ </svg>
184
+ <span>Last done: 2 days ago</span>
185
+ </div>
186
+ </div>
187
+ </div>
188
+
189
+ <!-- Exercise 2 -->
190
+ <div class="exercise-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300">
191
+ <div class="md:flex">
192
+ <div class="md:flex-shrink-0 md-w-48 bg-gray-100 flex items-center justify-center">
193
+ <img class="h-full w-full object-cover" src="https://images.unsplash.com/photo-1535914254981-b5012eebbd15?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="Mountain Climbers">
194
+ </div>
195
+ <div class="p-6 flex-1">
196
+ <div class="flex justify-between items-start">
197
+ <div>
198
+ <div class="uppercase tracking-wide text-sm text-[#00A8CC] font-semibold">Cardio • 4 sets</div>
199
+ <h3 class="mt-1 text-xl font-semibold">Mountain Climbers</h3>
200
+ </div>
201
+ <button class="complete-btn ml-4 px-3 py-1 bg-gray-100 text-gray-800 rounded-full text-sm font-medium hover:bg-[#28A745] hover:text-white transition-colors" data-exercise="mountain-climbers">
202
+ Complete
203
+ </button>
204
+ </div>
205
+ <div class="mt-4">
206
+ <div class="flex items-center text-sm text-gray-500 mb-2">
207
+ <svg class="w-4 h-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
208
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
209
+ </svg>
210
+ <span>45 sec • 20 sec rest</span>
211
+ </div>
212
+ <p class="mt-2 text-gray-600">Start in plank position, quickly alternate bringing knees to chest. Keep core engaged and back flat throughout movement.</p>
213
+ <div class="mt-3 flex space-x-2">
214
+ <span class="px-2 py-1 text-xs rounded-full bg-[#F7F9FC] text-[#004E89]">Full Body</span>
215
+ <span class="px-2 py-1 text-xs rounded-full bg-[#F7F9FC] text-[#004E89]">HIIT</span>
216
+ </div>
217
+ </div>
218
+ </div>
219
+ </div>
220
+ <div class="px-6 py-3 bg-gray-50 border-t border-gray-100 flex justify-between items-center">
221
+ <button class="text-[#00A8CC] text-sm font-medium flex items-center">
222
+ <svg class="w-4 h-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
223
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"></path>
224
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
225
+ </svg>
226
+ Watch Form
227
+ </button>
228
+ <div class="flex items-center text-sm text-gray-500">
229
+ <svg class="w-4 h-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
230
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path>
231
+ </svg>
232
+ <span>Last done: 3 days ago</span>
233
+ </div>
234
+ </div>
235
+ </div>
236
+
237
+ <!-- Exercise 3 -->
238
+ <div class="exercise-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300">
239
+ <div class="md:flex">
240
+ <div class="md:flex-shrink-0 md:w-48 bg-gray-100 flex items-center justify-center">
241
+ <img class="h-full w-full object-cover" src="https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="Side Plank">
242
+ </div>
243
+ <div class="p-6 flex-1">
244
+ <div class="flex justify-between items-start">
245
+ <div>
246
+ <div class="uppercase tracking-wide text-sm text-[#00A8CC] font-semibold">Core • 3 sets</div>
247
+ <h3 class="mt-1 text-xl font-semibold">Weighted Side Plank</h3>
248
+ </div>
249
+ <button class="complete-btn ml-4 px-3 py-1 bg-gray-100 text-gray-800 rounded-full text-sm font-medium hover:bg-[#28A745] hover:text-white transition-colors" data-exercise="side-plank">
250
+ Complete
251
+ </button>
252
+ </div>
253
+ <div class="mt-4">
254
+ <div class="flex items-center text-sm text-gray-500 mb-2">
255
+ <svg class="w-4 h-4 mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
256
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
257
+ </svg>
258
+ <span>30 sec (each side) • 20 sec rest</span>
259
+ </div>
260
+ <p class="mt-2 text-gray-600
261
+ </html>
prompts.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Create a personalized fitness web application that generates and tracks two-a-day workout routines specifically designed for a 6'2", 235-pound male looking to reduce stomach fat around the sides and back, featuring step-by-step exercise instructions with visual guidance. Core Features: - Generate customized two-a-day workout plans targeting fat loss and core strengthening - Step-by-step exercise instructions with accompanying images or illustrations - Workout progress tracking and completion logging - Exercise library with detailed form guidance and modifications Visual References: Inspired by Nike Training Club and MyFitnessPal's workout sections, known for their clear exercise demonstrations and intuitive workout flow. Style Guide: - Colors: Primary #FF6B35 (energetic orange), Secondary #004E89 (deep blue), Accent #00A8CC (motivational cyan), Background #F7F9FC (clean white), Text #1A1A1A (strong black), Success #28A745 (achievement green) - Design: Nunito Sans/Open Sans fonts, card-based workout layout, large exercise images, progress indicators, mobile-first responsive design with clear call-to-action buttons and easy navigation between morning/evening routines
2
+ Add missing pages and content