Spaces:
Running
Running
File size: 23,669 Bytes
e222a95 |
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 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TrailBlazer - Off-Road Challenge Manager</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap" rel="stylesheet">
<style>
:root {
--earth-dark: #2C3E2B;
--earth-light: #8B9E7D;
--accent-orange: #E67E22;
--khaki: #C2B280;
--worn-metal: #7D7D7D;
}
body {
font-family: 'Roboto Condensed', sans-serif;
background-color: #1a1a1a;
color: white;
}
.bg-dirt {
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIGhlaWdodD0iMTAwJSI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0iIzJDM0UyQiIvPjxwYXRoIGQ9Ik0wIDI1TDUwIDQwTDEwMCAyNVoiIGZpbGw9IiM0QzVDM0MiIG9wYWNpdHk9IjAuMSIvPjxwYXRoIGQ9Ik0wIDUwTDUwIDY1TDEwMCA1MFoiIGZpbGw9IiM0QzVDM0MiIG9wYWNpdHk9IjAuMSIvPjxwYXRoIGQ9Ik0wIDc1TDUwIDkwTDEwMCA3NVoiIGZpbGw9IiM0QzVDM0MiIG9wYWNpdHk9IjAuMSIvPjwvc3ZnPg==');
}
.btn-metal {
background: linear-gradient(145deg, #6d6d6d, #8d8d8d);
border: 1px solid #5a5a5a;
box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.btn-metal:hover {
background: linear-gradient(145deg, #5d5d5d, #7d7d7d);
}
.btn-orange {
background: linear-gradient(145deg, #d35400, #e67e22);
border: 1px solid #a04000;
box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.btn-orange:hover {
background: linear-gradient(145deg, #c0392b, #d35400);
}
.border-worn {
border: 1px solid rgba(124, 124, 124, 0.3);
box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}
.tire-track {
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBkPSJNMTAsNDBjMC0xMCwxMC0xMCwxMC0xMHMxMCwwLDEwLDEwYzAsMTAtMTAsMTAtMTAsMTBTMTAsNTAsMTAsNDB6IE0zMCw0MGMwLTEwLDEwLTEwLDEwLTEwczEwLDAsMTAsMTBjMCwxMC0xMCwxMC0xMCwxMFMzMCw1MCwzMCw0MHogTTUwLDQwYzAtMTAsMTAtMTAsMTAtMTBzMTAsMCwxMCwxMGMwLDEwLTEwLDEwLTEwLDEwUzUwLDUwLDUwLDQweiBNNzAsNDBjMC0xMCwxMC0xMCwxMC0xMHMxMCwwLDEwLDEwYzAsMTAtMTAsMTAtMTAsMTBTNzAsNTAsNzAsNDB6IiBmaWxsPSJub25lIiBzdHJva2U9IiNBMzYwMDAiIHN0cm9rZS13aWR0aD0iMiIvPjwvc3ZnPg==');
background-repeat: repeat-x;
background-size: 100px 20px;
height: 20px;
opacity: 0.5;
}
@media (max-width: 768px) {
.sidebar {
width: 100%;
height: auto;
position: relative;
}
.main-content {
margin-left: 0;
padding: 1rem;
}
.nav-item {
display: inline-block;
margin-right: 1rem;
}
}
</style>
</head>
<body class="bg-dirt">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar Navigation -->
<div class="sidebar w-64 bg-gray-900 bg-opacity-90 text-white flex flex-col border-r border-gray-700">
<div class="p-4 border-b border-gray-700 flex items-center">
<div class="w-12 h-12 bg-orange-600 rounded-full flex items-center justify-center mr-3">
<svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<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" />
</svg>
</div>
<h1 class="text-2xl font-bold">TrailBlazer</h1>
</div>
<div class="flex-1 overflow-y-auto p-4">
<div class="space-y-2">
<div class="nav-item active p-3 rounded-lg bg-gray-800 flex items-center cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<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" />
</svg>
<span>Home</span>
</div>
<div class="nav-item p-3 rounded-lg hover:bg-gray-800 flex items-center cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<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" />
</svg>
<span>Group</span>
</div>
<div class="nav-item p-3 rounded-lg hover:bg-gray-800 flex items-center cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<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" />
</svg>
<span>Rentals</span>
</div>
<div class="nav-item p-3 rounded-lg hover:bg-gray-800 flex items-center cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<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" />
</svg>
<span>Leaderboard</span>
</div>
<div class="nav-item p-3 rounded-lg hover:bg-gray-800 flex items-center cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<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" />
</svg>
<span>History</span>
</div>
</div>
<div class="mt-8">
<div class="text-gray-400 uppercase text-xs font-bold mb-2">Current Trail</div>
<div class="bg-gray-800 p-3 rounded-lg">
<div class="flex items-center">
<div class="w-10 h-10 bg-orange-600 rounded-full flex items-center justify-center mr-3">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
</svg>
</div>
<div>
<div class="font-bold">Mountain Pass</div>
<div class="text-xs text-gray-400">Difficulty: Hard</div>
</div>
</div>
</div>
</div>
</div>
<div class="p-4 border-t border-gray-700">
<div class="flex items-center">
<div class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center mr-3 overflow-hidden">
<img src="https://i.imgur.com/JQ6pMfG.png" alt="Player Avatar">
</div>
<div>
<div class="font-bold">John_Doe</div>
<div class="text-xs text-gray-400">Level 12 Off-Roader</div>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="main-content flex-1 overflow-y-auto p-8">
<div class="max-w-6xl mx-auto">
<!-- Status Bar -->
<div class="bg-gray-800 bg-opacity-90 rounded-lg p-4 mb-6 flex justify-between items-center border-worn">
<div class="flex items-center">
<div class="w-12 h-12 bg-gray-700 rounded-full flex items-center justify-center mr-4">
<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">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
</div>
<div>
<div class="text-sm text-gray-400">Vehicle Status</div>
<div class="text-xl font-bold">Can-Am Maverick X3</div>
<div class="text-xs text-gray-400">Traction: 92% | Durability: 100%</div>
</div>
</div>
<div class="text-right">
<div class="text-sm text-gray-400">Current Location</div>
<div class="text-xl font-bold">Sandy Shores</div>
<div class="text-xs text-gray-400">Near Mountain Pass trail</div>
</div>
</div>
<!-- Challenge Info -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
<div class="bg-gray-800 bg-opacity-90 rounded-lg p-6 border-worn">
<div class="text-gray-400 mb-2">Last Run</div>
<div class="text-3xl font-bold mb-1">12:45.32</div>
<div class="text-sm text-gray-400">Mountain Pass - 2 days ago</div>
<div class="tire-track mt-4"></div>
</div>
<div class="bg-gray-800 bg-opacity-90 rounded-lg p-6 border-worn">
<div class="text-gray-400 mb-2">Personal Best</div>
<div class="text-3xl font-bold mb-1">11:23.76</div>
<div class="text-sm text-gray-400">Mountain Pass - 1 week ago</div>
<div class="tire-track mt-4"></div>
</div>
<div class="bg-gray-800 bg-opacity-90 rounded-lg p-6 border-worn">
<div class="text-gray-400 mb-2">Current Rank</div>
<div class="text-3xl font-bold mb-1">#27</div>
<div class="text-sm text-gray-400">Top 15% of players</div>
<div class="tire-track mt-4"></div>
</div>
</div>
<!-- Start Challenge -->
<div class="bg-gray-800 bg-opacity-90 rounded-lg p-6 mb-6 border-worn">
<h2 class="text-2xl font-bold mb-4 flex items-center">
<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">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
</svg>
Mountain Pass Challenge
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<div class="mb-4">
<div class="flex justify-between text-sm mb-1">
<span>Distance</span>
<span>8.2 km</span>
</div>
</div>
<div class="mb-4">
<div class="flex justify-between text-sm mb-1">
<span>Checkpoints</span>
<span>12</span>
</div>
</div>
<div class="mb-4">
<div class="flex justify-between text-sm mb-1">
<span>Best Time</span>
<span>9:45.21 (ThePro)</span>
</div>
</div>
<div class="mb-6">
<div class="flex justify-between text-sm mb-1">
<span>Reward</span>
<span>$12,500 + 250 XP</span>
</div>
</div>
<div class="text-sm text-gray-400 mb-4">
Navigate through rocky terrain and steep inclines to reach the mountain summit. Watch for loose rocks and sudden drops.
</div>
</div>
<div class="flex flex-col">
<div class="flex-1 bg-gray-700 rounded-lg mb-4 overflow-hidden">
<img src="https://i.imgur.com/8zJ3fQj.jpg" alt="Trail Map" class="w-full h-full object-cover">
</div>
<button id="startChallenge" class="btn-orange py-3 px-6 rounded-lg text-white font-bold text-lg transition duration-200 hover:shadow-lg">
START CHALLENGE
</button>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="bg-gray-800 bg-opacity-90 rounded-lg p-6 border-worn">
<h2 class="text-xl font-bold mb-4 flex items-center">
<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">
<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" />
</svg>
Recent Activity
</h2>
<div class="space-y-4">
<div class="flex items-center p-3 hover:bg-gray-700 rounded-lg transition">
<div class="w-10 h-10 bg-orange-600 rounded-full flex items-center justify-center mr-3">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
</svg>
</div>
<div class="flex-1">
<div class="font-bold">Completed Desert Run</div>
<div class="text-sm text-gray-400">Time: 8:32.45 | Rank: #12</div>
</div>
<div class="text-sm text-gray-400">2 hours ago</div>
</div>
<div class="flex items-center p-3 hover:bg-gray-700 rounded-lg transition">
<div class="w-10 h-10 bg-blue-600 rounded-full flex items-center justify-center mr-3">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<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" />
</svg>
</div>
<div class="flex-1">
<div class="font-bold">Earned $9,500</div>
<div class="text-sm text-gray-400">From Desert Run completion</div>
</div>
<div class="text-sm text-gray-400">2 hours ago</div>
</div>
<div class="flex items-center p-3 hover:bg-gray-700 rounded-lg transition">
<div class="w-10 h-10 bg-green-600 rounded-full flex items-center justify-center mr-3">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<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" />
</svg>
</div>
<div class="flex-1">
<div class="font-bold">New Personal Best</div>
<div class="text-sm text-gray-400">Mountain Pass - 11:23.76</div>
</div>
<div class="text-sm text-gray-400">1 week ago</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Challenge Modal -->
<div id="challengeModal" class="fixed inset-0 bg-black bg-opacity-75 flex items-center justify-center z-50 hidden">
<div class="bg-gray-800 rounded-lg w-full max-w-md mx-4 border-worn">
<div class="p-6">
<h3 class="text-2xl font-bold mb-4 flex items-center">
<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">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
</svg>
Start Challenge?
</h3>
<div class="mb-6">
<div class="flex justify-between py-2 border-b border-gray-700">
<span class="text-gray-400">Trail:</span>
<span class="font-medium">Mountain Pass</span>
</div>
<div class="flex justify-between py-2 border-b border-gray-700">
<span class="text-gray-400">Vehicle:</span>
<span class="font-medium">Can-Am Maverick X3</span>
</div>
<div class="flex justify-between py-2 border-b border-gray-700">
<span class="text-gray-400">Reward:</span>
<span class="font-medium">$12,500 + 250 XP</span>
</div>
<div class="flex justify-between py-2">
<span class="text-gray-400">Best Time:</span>
<span class="font-medium">9:45.21</span>
</div>
</div>
<div class="flex space-x-4">
<button id="cancelChallenge" class="btn-metal flex-1 py-3 rounded-lg text-white font-bold transition duration-200">
CANCEL
</button>
<button id="confirmChallenge" class="btn-orange flex-1 py-3 rounded-lg text-white font-bold transition duration-200 hover:shadow-lg">
CONFIRM
</button>
</div>
</div>
</div>
</div>
<script>
// DOM Elements
const startChallengeBtn = document.getElementById('startChallenge');
const challengeModal = document.getElementById('challengeModal');
const cancelChallengeBtn = document.getElementById('cancelChallenge');
const confirmChallengeBtn = document.getElementById('confirmChallenge');
// Event Listeners
startChallengeBtn.addEventListener('click', () => {
challengeModal.classList.remove('hidden');
});
cancelChallengeBtn.addEventListener('click', () => {
challengeModal.classList.add('hidden');
});
confirmChallengeBtn.addEventListener('click', () => {
challengeModal.classList.add('hidden');
// Here you would typically start the challenge via NUI callbacks
alert('Challenge started! Good luck!');
});
// Navigation tabs functionality
const navItems = document.querySelectorAll('.nav-item');
navItems.forEach(item => {
item.addEventListener('click', () => {
navItems.forEach(nav => nav.classList.remove('active', 'bg-gray-800'));
item.classList.add('active', 'bg-gray-800');
// Here you would typically switch between different views
});
});
// Responsive adjustments
function handleResize() {
if (window.innerWidth < 768) {
document.querySelector('.sidebar').classList.add('mobile-nav');
} else {
document.querySelector('.sidebar').classList.remove('mobile-nav');
}
}
window.addEventListener('resize', handleResize);
handleResize();
</script>
<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>
</html> |