Mankeysocks commited on
Commit
e222a95
·
verified ·
1 Parent(s): d5baff9

1. Home Purpose: Provide an overview and quick access to start solo challenges. Contents: Welcome Panel: Player name, avatar, rank/level, and basic stats. Current Trail Info: Name, difficulty, short description. Vehicle Status: Current vehicle name, traction, durability, and readiness check. Challenge Stats: Last run time with date and trail name. Personal best time with date and trail name. Current leaderboard rank and percentile. Start Challenge Button: Enabled only if player is in a valid 4x4 vehicle. Opens confirmation modal before starting. Recent Activity: List of recent runs, earnings, personal bests, or rewards earned. Visual Accents: Tire tracks, rugged design elements, and earthy colors. 2. Group Purpose: Manage multiplayer/group runs. Contents: Create Group Button: Start a new group run session. Join Group: Input or browse available groups to join. Group Member Panel: List current members with avatars and player names. Show ready/not ready status per member. Indicate leader and allow leader controls. Group Chat/Communication Status (optional): Voice link indicators if integrated. Start Challenge Button: Enabled for leader only when all members are ready. Group Stats: Aggregate info like average vehicle condition, trail selected. Notifications: Member join/leave, readiness changes, challenge start. 3. Rentals Purpose: Browse and rent off-road vehicles. Contents: Vehicle Catalog/Grid: Cards or tiles showing each vehicle with: Image/preview. Name and rental price. Basic stats (traction, speed, durability). “Rent Now” button. Selected Vehicle Details: Larger image or 3D preview. In-depth stats and description. Confirmation modal for rental. Rental Status: Indicate active rental, remaining time, or cooldown. Filter/Sort Options: By price, traction, speed, or favorites. Rental History: Past rentals and usage stats (optional). 4. Leaderboard Purpose: Display top players and teams for challenges. Contents: Filter Tabs: Daily, Weekly, All-Time views. Mode Tabs: Solo and Group leaderboards. Ranking List: Player or Team name. Completion time. Trail completed. Date/time of run. Search Function: Find specific players or teams. Personal Ranking Highlight: Show player’s own rank if not in top. Pagination or Infinite Scroll: For browsing large datasets. Visuals: Medals or badges for top ranks, icons for groups or solo. 5. History Purpose: Show player’s past runs and achievements. Contents: Run List: Trail name and date. Time achieved. Rank or position. Rewards earned. Run Details Button: Opens more detailed info or replay ghost (future feature). Stats Summary: Total runs, best time improvement over time. Filters: By trail, date range, or result. Achievements Panel: Badges or milestones earned through runs. Visual Cues: Color-coding for personal bests, failed runs, or record times. - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +404 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Ui
3
- emoji: 👀
4
  colorFrom: purple
5
- colorTo: indigo
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: ui
3
+ emoji: 🐳
4
  colorFrom: purple
5
+ colorTo: gray
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,404 @@
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>TrailBlazer - Off-Road Challenge Manager</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap" rel="stylesheet">
9
+ <style>
10
+ :root {
11
+ --earth-dark: #2C3E2B;
12
+ --earth-light: #8B9E7D;
13
+ --accent-orange: #E67E22;
14
+ --khaki: #C2B280;
15
+ --worn-metal: #7D7D7D;
16
+ }
17
+
18
+ body {
19
+ font-family: 'Roboto Condensed', sans-serif;
20
+ background-color: #1a1a1a;
21
+ color: white;
22
+ }
23
+
24
+ .bg-dirt {
25
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIGhlaWdodD0iMTAwJSI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0iIzJDM0UyQiIvPjxwYXRoIGQ9Ik0wIDI1TDUwIDQwTDEwMCAyNVoiIGZpbGw9IiM0QzVDM0MiIG9wYWNpdHk9IjAuMSIvPjxwYXRoIGQ9Ik0wIDUwTDUwIDY1TDEwMCA1MFoiIGZpbGw9IiM0QzVDM0MiIG9wYWNpdHk9IjAuMSIvPjxwYXRoIGQ9Ik0wIDc1TDUwIDkwTDEwMCA3NVoiIGZpbGw9IiM0QzVDM0MiIG9wYWNpdHk9IjAuMSIvPjwvc3ZnPg==');
26
+ }
27
+
28
+ .btn-metal {
29
+ background: linear-gradient(145deg, #6d6d6d, #8d8d8d);
30
+ border: 1px solid #5a5a5a;
31
+ box-shadow: 0 2px 4px rgba(0,0,0,0.3);
32
+ }
33
+
34
+ .btn-metal:hover {
35
+ background: linear-gradient(145deg, #5d5d5d, #7d7d7d);
36
+ }
37
+
38
+ .btn-orange {
39
+ background: linear-gradient(145deg, #d35400, #e67e22);
40
+ border: 1px solid #a04000;
41
+ box-shadow: 0 2px 4px rgba(0,0,0,0.3);
42
+ }
43
+
44
+ .btn-orange:hover {
45
+ background: linear-gradient(145deg, #c0392b, #d35400);
46
+ }
47
+
48
+ .border-worn {
49
+ border: 1px solid rgba(124, 124, 124, 0.3);
50
+ box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
51
+ }
52
+
53
+ .tire-track {
54
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBkPSJNMTAsNDBjMC0xMCwxMC0xMCwxMC0xMHMxMCwwLDEwLDEwYzAsMTAtMTAsMTAtMTAsMTBTMTAsNTAsMTAsNDB6IE0zMCw0MGMwLTEwLDEwLTEwLDEwLTEwczEwLDAsMTAsMTBjMCwxMC0xMCwxMC0xMCwxMFMzMCw1MCwzMCw0MHogTTUwLDQwYzAtMTAsMTAtMTAsMTAtMTBzMTAsMCwxMCwxMGMwLDEwLTEwLDEwLTEwLDEwUzUwLDUwLDUwLDQweiBNNzAsNDBjMC0xMCwxMC0xMCwxMC0xMHMxMCwwLDEwLDEwYzAsMTAtMTAsMTAtMTAsMTBTNzAsNTAsNzAsNDB6IiBmaWxsPSJub25lIiBzdHJva2U9IiNBMzYwMDAiIHN0cm9rZS13aWR0aD0iMiIvPjwvc3ZnPg==');
55
+ background-repeat: repeat-x;
56
+ background-size: 100px 20px;
57
+ height: 20px;
58
+ opacity: 0.5;
59
+ }
60
+
61
+ @media (max-width: 768px) {
62
+ .sidebar {
63
+ width: 100%;
64
+ height: auto;
65
+ position: relative;
66
+ }
67
+ .main-content {
68
+ margin-left: 0;
69
+ padding: 1rem;
70
+ }
71
+ .nav-item {
72
+ display: inline-block;
73
+ margin-right: 1rem;
74
+ }
75
+ }
76
+ </style>
77
+ </head>
78
+ <body class="bg-dirt">
79
+ <div class="flex h-screen overflow-hidden">
80
+ <!-- Sidebar Navigation -->
81
+ <div class="sidebar w-64 bg-gray-900 bg-opacity-90 text-white flex flex-col border-r border-gray-700">
82
+ <div class="p-4 border-b border-gray-700 flex items-center">
83
+ <div class="w-12 h-12 bg-orange-600 rounded-full flex items-center justify-center mr-3">
84
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8" fill="none" viewBox="0 0 24 24" stroke="currentColor">
85
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7" />
86
+ </svg>
87
+ </div>
88
+ <h1 class="text-2xl font-bold">TrailBlazer</h1>
89
+ </div>
90
+
91
+ <div class="flex-1 overflow-y-auto p-4">
92
+ <div class="space-y-2">
93
+ <div class="nav-item active p-3 rounded-lg bg-gray-800 flex items-center cursor-pointer">
94
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
95
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />
96
+ </svg>
97
+ <span>Home</span>
98
+ </div>
99
+
100
+ <div class="nav-item p-3 rounded-lg hover:bg-gray-800 flex items-center cursor-pointer">
101
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
102
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z" />
103
+ </svg>
104
+ <span>Group</span>
105
+ </div>
106
+
107
+ <div class="nav-item p-3 rounded-lg hover:bg-gray-800 flex items-center cursor-pointer">
108
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
109
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4" />
110
+ </svg>
111
+ <span>Rentals</span>
112
+ </div>
113
+
114
+ <div class="nav-item p-3 rounded-lg hover:bg-gray-800 flex items-center cursor-pointer">
115
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
116
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
117
+ </svg>
118
+ <span>Leaderboard</span>
119
+ </div>
120
+
121
+ <div class="nav-item p-3 rounded-lg hover:bg-gray-800 flex items-center cursor-pointer">
122
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
123
+ <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" />
124
+ </svg>
125
+ <span>History</span>
126
+ </div>
127
+ </div>
128
+
129
+ <div class="mt-8">
130
+ <div class="text-gray-400 uppercase text-xs font-bold mb-2">Current Trail</div>
131
+ <div class="bg-gray-800 p-3 rounded-lg">
132
+ <div class="flex items-center">
133
+ <div class="w-10 h-10 bg-orange-600 rounded-full flex items-center justify-center mr-3">
134
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
135
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
136
+ </svg>
137
+ </div>
138
+ <div>
139
+ <div class="font-bold">Mountain Pass</div>
140
+ <div class="text-xs text-gray-400">Difficulty: Hard</div>
141
+ </div>
142
+ </div>
143
+ </div>
144
+ </div>
145
+ </div>
146
+
147
+ <div class="p-4 border-t border-gray-700">
148
+ <div class="flex items-center">
149
+ <div class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center mr-3 overflow-hidden">
150
+ <img src="https://i.imgur.com/JQ6pMfG.png" alt="Player Avatar">
151
+ </div>
152
+ <div>
153
+ <div class="font-bold">John_Doe</div>
154
+ <div class="text-xs text-gray-400">Level 12 Off-Roader</div>
155
+ </div>
156
+ </div>
157
+ </div>
158
+ </div>
159
+
160
+ <!-- Main Content -->
161
+ <div class="main-content flex-1 overflow-y-auto p-8">
162
+ <div class="max-w-6xl mx-auto">
163
+ <!-- Status Bar -->
164
+ <div class="bg-gray-800 bg-opacity-90 rounded-lg p-4 mb-6 flex justify-between items-center border-worn">
165
+ <div class="flex items-center">
166
+ <div class="w-12 h-12 bg-gray-700 rounded-full flex items-center justify-center mr-4">
167
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-green-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
168
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
169
+ </svg>
170
+ </div>
171
+ <div>
172
+ <div class="text-sm text-gray-400">Vehicle Status</div>
173
+ <div class="text-xl font-bold">Can-Am Maverick X3</div>
174
+ <div class="text-xs text-gray-400">Traction: 92% | Durability: 100%</div>
175
+ </div>
176
+ </div>
177
+ <div class="text-right">
178
+ <div class="text-sm text-gray-400">Current Location</div>
179
+ <div class="text-xl font-bold">Sandy Shores</div>
180
+ <div class="text-xs text-gray-400">Near Mountain Pass trail</div>
181
+ </div>
182
+ </div>
183
+
184
+ <!-- Challenge Info -->
185
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
186
+ <div class="bg-gray-800 bg-opacity-90 rounded-lg p-6 border-worn">
187
+ <div class="text-gray-400 mb-2">Last Run</div>
188
+ <div class="text-3xl font-bold mb-1">12:45.32</div>
189
+ <div class="text-sm text-gray-400">Mountain Pass - 2 days ago</div>
190
+ <div class="tire-track mt-4"></div>
191
+ </div>
192
+
193
+ <div class="bg-gray-800 bg-opacity-90 rounded-lg p-6 border-worn">
194
+ <div class="text-gray-400 mb-2">Personal Best</div>
195
+ <div class="text-3xl font-bold mb-1">11:23.76</div>
196
+ <div class="text-sm text-gray-400">Mountain Pass - 1 week ago</div>
197
+ <div class="tire-track mt-4"></div>
198
+ </div>
199
+
200
+ <div class="bg-gray-800 bg-opacity-90 rounded-lg p-6 border-worn">
201
+ <div class="text-gray-400 mb-2">Current Rank</div>
202
+ <div class="text-3xl font-bold mb-1">#27</div>
203
+ <div class="text-sm text-gray-400">Top 15% of players</div>
204
+ <div class="tire-track mt-4"></div>
205
+ </div>
206
+ </div>
207
+
208
+ <!-- Start Challenge -->
209
+ <div class="bg-gray-800 bg-opacity-90 rounded-lg p-6 mb-6 border-worn">
210
+ <h2 class="text-2xl font-bold mb-4 flex items-center">
211
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-2 text-orange-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
212
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
213
+ </svg>
214
+ Mountain Pass Challenge
215
+ </h2>
216
+
217
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
218
+ <div>
219
+ <div class="mb-4">
220
+ <div class="flex justify-between text-sm mb-1">
221
+ <span>Distance</span>
222
+ <span>8.2 km</span>
223
+ </div>
224
+ </div>
225
+
226
+ <div class="mb-4">
227
+ <div class="flex justify-between text-sm mb-1">
228
+ <span>Checkpoints</span>
229
+ <span>12</span>
230
+ </div>
231
+ </div>
232
+
233
+ <div class="mb-4">
234
+ <div class="flex justify-between text-sm mb-1">
235
+ <span>Best Time</span>
236
+ <span>9:45.21 (ThePro)</span>
237
+ </div>
238
+ </div>
239
+
240
+ <div class="mb-6">
241
+ <div class="flex justify-between text-sm mb-1">
242
+ <span>Reward</span>
243
+ <span>$12,500 + 250 XP</span>
244
+ </div>
245
+ </div>
246
+
247
+ <div class="text-sm text-gray-400 mb-4">
248
+ Navigate through rocky terrain and steep inclines to reach the mountain summit. Watch for loose rocks and sudden drops.
249
+ </div>
250
+ </div>
251
+
252
+ <div class="flex flex-col">
253
+ <div class="flex-1 bg-gray-700 rounded-lg mb-4 overflow-hidden">
254
+ <img src="https://i.imgur.com/8zJ3fQj.jpg" alt="Trail Map" class="w-full h-full object-cover">
255
+ </div>
256
+ <button id="startChallenge" class="btn-orange py-3 px-6 rounded-lg text-white font-bold text-lg transition duration-200 hover:shadow-lg">
257
+ START CHALLENGE
258
+ </button>
259
+ </div>
260
+ </div>
261
+ </div>
262
+
263
+ <!-- Recent Activity -->
264
+ <div class="bg-gray-800 bg-opacity-90 rounded-lg p-6 border-worn">
265
+ <h2 class="text-xl font-bold mb-4 flex items-center">
266
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2 text-orange-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
267
+ <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" />
268
+ </svg>
269
+ Recent Activity
270
+ </h2>
271
+
272
+ <div class="space-y-4">
273
+ <div class="flex items-center p-3 hover:bg-gray-700 rounded-lg transition">
274
+ <div class="w-10 h-10 bg-orange-600 rounded-full flex items-center justify-center mr-3">
275
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
276
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
277
+ </svg>
278
+ </div>
279
+ <div class="flex-1">
280
+ <div class="font-bold">Completed Desert Run</div>
281
+ <div class="text-sm text-gray-400">Time: 8:32.45 | Rank: #12</div>
282
+ </div>
283
+ <div class="text-sm text-gray-400">2 hours ago</div>
284
+ </div>
285
+
286
+ <div class="flex items-center p-3 hover:bg-gray-700 rounded-lg transition">
287
+ <div class="w-10 h-10 bg-blue-600 rounded-full flex items-center justify-center mr-3">
288
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
289
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
290
+ </svg>
291
+ </div>
292
+ <div class="flex-1">
293
+ <div class="font-bold">Earned $9,500</div>
294
+ <div class="text-sm text-gray-400">From Desert Run completion</div>
295
+ </div>
296
+ <div class="text-sm text-gray-400">2 hours ago</div>
297
+ </div>
298
+
299
+ <div class="flex items-center p-3 hover:bg-gray-700 rounded-lg transition">
300
+ <div class="w-10 h-10 bg-green-600 rounded-full flex items-center justify-center mr-3">
301
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
302
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
303
+ </svg>
304
+ </div>
305
+ <div class="flex-1">
306
+ <div class="font-bold">New Personal Best</div>
307
+ <div class="text-sm text-gray-400">Mountain Pass - 11:23.76</div>
308
+ </div>
309
+ <div class="text-sm text-gray-400">1 week ago</div>
310
+ </div>
311
+ </div>
312
+ </div>
313
+ </div>
314
+ </div>
315
+ </div>
316
+
317
+ <!-- Challenge Modal -->
318
+ <div id="challengeModal" class="fixed inset-0 bg-black bg-opacity-75 flex items-center justify-center z-50 hidden">
319
+ <div class="bg-gray-800 rounded-lg w-full max-w-md mx-4 border-worn">
320
+ <div class="p-6">
321
+ <h3 class="text-2xl font-bold mb-4 flex items-center">
322
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8 mr-2 text-orange-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
323
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
324
+ </svg>
325
+ Start Challenge?
326
+ </h3>
327
+
328
+ <div class="mb-6">
329
+ <div class="flex justify-between py-2 border-b border-gray-700">
330
+ <span class="text-gray-400">Trail:</span>
331
+ <span class="font-medium">Mountain Pass</span>
332
+ </div>
333
+ <div class="flex justify-between py-2 border-b border-gray-700">
334
+ <span class="text-gray-400">Vehicle:</span>
335
+ <span class="font-medium">Can-Am Maverick X3</span>
336
+ </div>
337
+ <div class="flex justify-between py-2 border-b border-gray-700">
338
+ <span class="text-gray-400">Reward:</span>
339
+ <span class="font-medium">$12,500 + 250 XP</span>
340
+ </div>
341
+ <div class="flex justify-between py-2">
342
+ <span class="text-gray-400">Best Time:</span>
343
+ <span class="font-medium">9:45.21</span>
344
+ </div>
345
+ </div>
346
+
347
+ <div class="flex space-x-4">
348
+ <button id="cancelChallenge" class="btn-metal flex-1 py-3 rounded-lg text-white font-bold transition duration-200">
349
+ CANCEL
350
+ </button>
351
+ <button id="confirmChallenge" class="btn-orange flex-1 py-3 rounded-lg text-white font-bold transition duration-200 hover:shadow-lg">
352
+ CONFIRM
353
+ </button>
354
+ </div>
355
+ </div>
356
+ </div>
357
+ </div>
358
+
359
+ <script>
360
+ // DOM Elements
361
+ const startChallengeBtn = document.getElementById('startChallenge');
362
+ const challengeModal = document.getElementById('challengeModal');
363
+ const cancelChallengeBtn = document.getElementById('cancelChallenge');
364
+ const confirmChallengeBtn = document.getElementById('confirmChallenge');
365
+
366
+ // Event Listeners
367
+ startChallengeBtn.addEventListener('click', () => {
368
+ challengeModal.classList.remove('hidden');
369
+ });
370
+
371
+ cancelChallengeBtn.addEventListener('click', () => {
372
+ challengeModal.classList.add('hidden');
373
+ });
374
+
375
+ confirmChallengeBtn.addEventListener('click', () => {
376
+ challengeModal.classList.add('hidden');
377
+ // Here you would typically start the challenge via NUI callbacks
378
+ alert('Challenge started! Good luck!');
379
+ });
380
+
381
+ // Navigation tabs functionality
382
+ const navItems = document.querySelectorAll('.nav-item');
383
+ navItems.forEach(item => {
384
+ item.addEventListener('click', () => {
385
+ navItems.forEach(nav => nav.classList.remove('active', 'bg-gray-800'));
386
+ item.classList.add('active', 'bg-gray-800');
387
+ // Here you would typically switch between different views
388
+ });
389
+ });
390
+
391
+ // Responsive adjustments
392
+ function handleResize() {
393
+ if (window.innerWidth < 768) {
394
+ document.querySelector('.sidebar').classList.add('mobile-nav');
395
+ } else {
396
+ document.querySelector('.sidebar').classList.remove('mobile-nav');
397
+ }
398
+ }
399
+
400
+ window.addEventListener('resize', handleResize);
401
+ handleResize();
402
+ </script>
403
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Mankeysocks/ui" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
404
+ </html>