Spaces:
Running
Running
File size: 25,068 Bytes
1d646f4 dc1957e |
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 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 |
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EcoTokenX Perú Recicla</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Roboto:wght@300;400;500&display=swap');
body {
font-family: 'Roboto', sans-serif;
}
.futuristic-text {
font-family: 'Orbitron', sans-serif;
}
.glass-card {
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.18);
}
.gradient-text {
background: linear-gradient(90deg, #00c9a7 0%, #5b21b6 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.eco-pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { opacity: 0.6; }
50% { opacity: 1; }
100% { opacity: 0.6; }
}
</style>
</head>
<body class="bg-gray-900 text-white min-h-screen overflow-x-hidden">
<div id="vanta-bg" class="fixed inset-0 z-0"></div>
<!-- Header -->
<header class="relative z-10 py-6 px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="leaf" class="text-green-400"></i>
<h1 class="futuristic-text text-2xl font-bold gradient-text">EcoTokenX</h1>
</div>
<nav class="hidden md:flex space-x-8">
<a href="#dashboard" class="hover:text-green-400 transition">Dashboard</a>
<a href="#metrics" class="hover:text-green-400 transition">Métricas</a>
<a href="#rewards" class="hover:text-green-400 transition">Recompensas</a>
<a href="#about" class="hover:text-green-400 transition">Nosotros</a>
</nav>
<button class="md:hidden">
<i data-feather="menu"></i>
</button>
</div>
</header>
<!-- Hero Section -->
<section class="relative z-10 py-20 px-4 sm:px-6 lg:px-8 text-center">
<div class="max-w-4xl mx-auto">
<h2 class="futuristic-text text-4xl md:text-6xl font-bold mb-6">
<span class="gradient-text">Perú Recicla</span> con <span class="text-green-400">EcoTokenX</span>
</h2>
<p class="text-xl text-gray-300 mb-8">
Monitoreo ambiental inteligente y recompensas en tokens por acciones ecológicas
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button class="bg-green-500 hover:bg-green-600 text-white font-bold py-3 px-6 rounded-lg transition transform hover:scale-105">
Conectar Wallet
</button>
<button class="bg-transparent border-2 border-green-500 text-green-500 hover:bg-green-500 hover:text-white font-bold py-3 px-6 rounded-lg transition transform hover:scale-105">
Explorar Datos
</button>
</div>
</div>
</section>
<!-- Dashboard Section -->
<section id="dashboard" class="relative z-10 py-16 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<h2 class="futuristic-text text-3xl font-bold mb-12 text-center gradient-text">Dashboard Ambiental</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Air Quality Card -->
<div class="glass-card rounded-xl p-6 eco-pulse">
<div class="flex items-center mb-4">
<i data-feather="wind" class="text-blue-400 mr-3"></i>
<h3 class="futuristic-text text-xl font-semibold">Calidad del Aire</h3>
</div>
<div class="text-4xl font-bold mb-2 text-green-400">78</div>
<div class="text-sm text-gray-300">Índice AQI</div>
<div class="mt-4">
<div class="h-2 w-full bg-gray-700 rounded-full overflow-hidden">
<div class="h-full bg-blue-400 rounded-full" style="width: 78%"></div>
</div>
<div class="text-xs text-gray-400 mt-1">Moderado</div>
</div>
</div>
<!-- Recycling Card -->
<div class="glass-card rounded-xl p-6">
<div class="flex items-center mb-4">
<i data-feather="refresh-cw" class="text-yellow-400 mr-3"></i>
<h3 class="futuristic-text text-xl font-semibold">Electrónicos Reciclados</h3>
</div>
<div class="text-4xl font-bold mb-2 text-green-400">1,254</div>
<div class="text-sm text-gray-300">Kg este mes</div>
<div class="mt-4">
<div class="h-2 w-full bg-gray-700 rounded-full overflow-hidden">
<div class="h-full bg-yellow-400 rounded-full" style="width: 65%"></div>
</div>
<div class="text-xs text-gray-400 mt-1">+12% desde el mes pasado</div>
</div>
</div>
<!-- Tokens Card -->
<div class="glass-card rounded-xl p-6">
<div class="flex items-center mb-4">
<i data-feather="award" class="text-purple-400 mr-3"></i>
<h3 class="futuristic-text text-xl font-semibold">EcoTokens</h3>
</div>
<div class="text-4xl font-bold mb-2 text-green-400">3,450</div>
<div class="text-sm text-gray-300">Distribuidos hoy</div>
<div class="mt-4">
<div class="h-2 w-full bg-gray-700 rounded-full overflow-hidden">
<div class="h-full bg-purple-400 rounded-full" style="width: 45%"></div>
</div>
<div class="text-xs text-gray-400 mt-1">Objetivo: 7,500 tokens diarios</div>
</div>
</div>
<!-- Pollution Card -->
<div class="glass-card rounded-xl p-6">
<div class="flex items-center mb-4">
<i data-feather="alert-triangle" class="text-red-400 mr-3"></i>
<h3 class="futuristic-text text-xl font-semibold">Contaminación</h3>
</div>
<div class="text-4xl font-bold mb-2 text-green-400">32%</div>
<div class="text-sm text-gray-300">Reducción anual</div>
<div class="mt-4">
<div class="h-2 w-full bg-gray-700 rounded-full overflow-hidden">
<div class="h-full bg-green-400 rounded-full" style="width: 68%"></div>
</div>
<div class="text-xs text-gray-400 mt-1">Meta: 50% para 2025</div>
</div>
</div>
</div>
</div>
</section>
<!-- Real-time Metrics -->
<section id="metrics" class="relative z-10 py-16 px-4 sm:px-6 lg:px-8 bg-gray-800 bg-opacity-50">
<div class="max-w-7xl mx-auto">
<h2 class="futuristic-text text-3xl font-bold mb-12 text-center gradient-text">Métricas en Tiempo Real</h2>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<div class="glass-card rounded-xl p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="futuristic-text text-xl font-semibold">Contaminantes del Aire</h3>
<div class="flex space-x-2">
<button class="text-xs bg-gray-700 px-2 py-1 rounded">Lima</button>
<button class="text-xs bg-gray-700 px-2 py-1 rounded">Arequipa</button>
<button class="text-xs bg-green-500 px-2 py-1 rounded">Todo Perú</button>
</div>
</div>
<div class="h-64">
<canvas id="airPollutionChart"></canvas>
</div>
</div>
<div class="glass-card rounded-xl p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="futuristic-text text-xl font-semibold">Reciclaje por Región</h3>
<div class="text-green-400 flex items-center">
<i data-feather="trending-up" class="mr-1"></i>
<span>+18% este trimestre</span>
</div>
</div>
<div class="h-64">
<canvas id="recyclingChart"></canvas>
</div>
</div>
</div>
</div>
</section>
<!-- Token Rewards -->
<section id="rewards" class="relative z-10 py-16 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<h2 class="futuristic-text text-3xl font-bold mb-12 text-center gradient-text">Sistema de Recompensas</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="glass-card rounded-xl p-6 transform transition hover:scale-105 hover:shadow-lg">
<div class="bg-green-900 bg-opacity-30 rounded-full w-16 h-16 flex items-center justify-center mb-4 mx-auto">
<i data-feather="box" class="text-green-400 w-8 h-8"></i>
</div>
<h3 class="futuristic-text text-xl font-semibold text-center mb-2">Reciclaje de Electrónicos</h3>
<p class="text-gray-300 text-center mb-4">10 EcoTokens por kg de dispositivos reciclados</p>
<button class="w-full bg-green-500 hover:bg-green-600 text-white py-2 px-4 rounded-lg transition">
Canjear
</button>
</div>
<div class="glass-card rounded-xl p-6 transform transition hover:scale-105 hover:shadow-lg">
<div class="bg-blue-900 bg-opacity-30 rounded-full w-16 h-16 flex items-center justify-center mb-4 mx-auto">
<i data-feather="cloud" class="text-blue-400 w-8 h-8"></i>
</div>
<h3 class="futuristic-text text-xl font-semibold text-center mb-2">Reporte de Calidad del Aire</h3>
<p class="text-gray-300 text-center mb-4">5 EcoTokens por reporte verificado</p>
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-lg transition">
Reportar
</button>
</div>
<div class="glass-card rounded-xl p-6 transform transition hover:scale-105 hover:shadow-lg">
<div class="bg-purple-900 bg-opacity-30 rounded-full w-16 h-16 flex items-center justify-center mb-4 mx-auto">
<i data-feather="users" class="text-purple-400 w-8 h-8"></i>
</div>
<h3 class="futuristic-text text-xl font-semibold text-center mb-2">Referir Amigos</h3>
<p class="text-gray-300 text-center mb-4">50 EcoTokens por cada referencia activa</p>
<button class="w-full bg-purple-500 hover:bg-purple-600 text-white py-2 px-4 rounded-lg transition">
Compartir
</button>
</div>
</div>
<div class="glass-card rounded-xl p-6 mt-12">
<h3 class="futuristic-text text-xl font-semibold mb-4">Tu Balance de EcoTokens</h3>
<div class="flex items-center justify-between">
<div>
<div class="text-5xl font-bold text-green-400">2,850</div>
<div class="text-gray-300">≈ $28.50 USD</div>
</div>
<div class="flex space-x-4">
<button class="bg-green-500 hover:bg-green-600 text-white font-bold py-2 px-6 rounded-lg transition">
Ganar Más
</button>
<button class="bg-transparent border-2 border-green-500 text-green-500 hover:bg-green-500 hover:text-white font-bold py-2 px-6 rounded-lg transition">
Canjear
</button>
</div>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="relative z-10 py-16 px-4 sm:px-6 lg:px-8 bg-gray-800 bg-opacity-50">
<div class="max-w-7xl mx-auto">
<h2 class="futuristic-text text-3xl font-bold mb-12 text-center gradient-text">Sobre Perú Recicla</h2>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
<div>
<h3 class="futuristic-text text-2xl font-semibold mb-6">Nuestra Misión</h3>
<p class="text-gray-300 mb-6">
En Perú Recicla, estamos comprometidos con la creación de un ecosistema sostenible mediante la innovación tecnológica y la participación comunitaria. Nuestra plataforma EcoTokenX combina el monitoreo ambiental con un sistema de recompensas en blockchain.
</p>
<p class="text-gray-300 mb-6">
Utilizando sensores IoT y datos abiertos, proporcionamos información en tiempo real sobre la calidad del aire, niveles de contaminación y tasas de reciclaje, incentivando acciones ecológicas a través de nuestro token nativo.
</p>
<div class="flex space-x-4">
<button class="bg-green-500 hover:bg-green-600 text-white font-bold py-2 px-6 rounded-lg transition">
Unirse al Movimiento
</button>
<button class="bg-transparent border-2 border-green-500 text-green-500 hover:bg-green-500 hover:text-white font-bold py-2 px-6 rounded-lg transition">
Documentación
</button>
</div>
</div>
<div class="glass-card rounded-xl p-6">
<div class="aspect-w-16 aspect-h-9">
<img src="http://static.photos/technology/640x360/42" alt="Tecnología ambiental" class="rounded-lg w-full h-auto">
</div>
<div class="mt-6 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="map-pin" class="text-red-400"></i>
<span class="text-gray-300">Lima, Perú</span>
</div>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-green-400 transition"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-green-400 transition"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-green-400 transition"><i data-feather="linkedin"></i></a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="relative z-10 py-12 px-4 sm:px-6 lg:px-8 bg-gray-900 bg-opacity-80">
<div class="max-w-7xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i data-feather="leaf" class="text-green-400"></i>
<h3 class="futuristic-text text-xl font-bold gradient-text">EcoTokenX</h3>
</div>
<p class="text-gray-400 text-sm">
Plataforma de monitoreo ambiental y economía circular basada en blockchain.
</p>
</div>
<div>
<h4 class="futuristic-text text-lg font-semibold mb-4">Explorar</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-green-400 transition text-sm">Dashboard</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition text-sm">Métricas</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition text-sm">Recompensas</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition text-sm">Documentación</a></li>
</ul>
</div>
<div>
<h4 class="futuristic-text text-lg font-semibold mb-4">Legal</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-green-400 transition text-sm">Términos</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition text-sm">Privacidad</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition text-sm">Cookies</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition text-sm">Licencias</a></li>
</ul>
</div>
<div>
<h4 class="futuristic-text text-lg font-semibold mb-4">Suscríbete</h4>
<p class="text-gray-400 text-sm mb-4">
Recibe actualizaciones sobre nuevos sensores y oportunidades de ganar tokens.
</p>
<div class="flex">
<input type="email" placeholder="Tu email" class="bg-gray-800 text-white px-4 py-2 rounded-l-lg focus:outline-none focus:ring-2 focus:ring-green-500 w-full">
<button class="bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-r-lg transition">
<i data-feather="send"></i>
</button>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-500 text-sm">
© 2023 Perú Recicla. Todos los derechos reservados.
</p>
<div class="flex space-x-6 mt-4 md:mt-0">
<a href="#" class="text-gray-500 hover:text-green-400 transition"><i data-feather="github"></i></a>
<a href="#" class="text-gray-500 hover:text-green-400 transition"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-500 hover:text-green-400 transition"><i data-feather="linkedin"></i></a>
<a href="#" class="text-gray-500 hover:text-green-400 transition"><i data-feather="youtube"></i></a>
</div>
</div>
</div>
</footer>
<!-- Scripts -->
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script>
// Initialize Vanta.js background
VANTA.NET({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3aff8f,
backgroundColor: 0x111827,
points: 10.00,
maxDistance: 20.00,
spacing: 16.00
});
// Initialize charts
document.addEventListener('DOMContentLoaded', function() {
feather.replace();
// Air Pollution Chart
const airPollutionCtx = document.getElementById('airPollutionChart').getContext('2d');
const airPollutionChart = new Chart(airPollutionCtx, {
type: 'bar',
data: {
labels: ['PM2.5', 'PM10', 'NO2', 'SO2', 'CO', 'O3'],
datasets: [{
label: 'µg/m³',
data: [35, 50, 40, 20, 2, 60],
backgroundColor: [
'rgba(75, 192, 192, 0.7)',
'rgba(54, 162, 235, 0.7)',
'rgba(255, 99, 132, 0.7)',
'rgba(255, 206, 86, 0.7)',
'rgba(153, 102, 255, 0.7)',
'rgba(255, 159, 64, 0.7)'
],
borderColor: [
'rgba(75, 192, 192, 1)',
'rgba(54, 162, 235, 1)',
'rgba(255, 99, 132, 1)',
'rgba(255, 206, 86, 1)',
'rgba(153, 102, 255, 1)',
'rgba(255, 159, 64, 1)'
],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
y: {
beginAtZero: true,
grid: {
color: 'rgba(255, 255, 255, 0.1)'
},
ticks: {
color: 'rgba(255, 255, 255, 0.7)'
}
},
x: {
grid: {
color: 'rgba(255, 255, 255, 0.1)'
},
ticks: {
color: 'rgba(255, 255, 255, 0.7)'
}
}
},
plugins: {
legend: {
labels: {
color: 'rgba(255, 255, 255, 0.7)'
}
}
}
}
});
// Recycling Chart
const recyclingCtx = document.getElementById('recyclingChart').getContext('2d');
const recyclingChart = new Chart(recyclingCtx, {
type: 'doughnut',
data: {
labels: ['Lima', 'Arequipa', 'Cusco', 'Trujillo', 'Iquitos'],
datasets: [{
label: 'Kg Reciclados',
data: [450, 300, 250, 200, 150],
backgroundColor: [
'rgba(74, 222, 128, 0.7)',
'rgba(52, 211, 153, 0.7)',
'rgba(34, 211, 238, 0.7)',
'rgba(129, 140, 248, 0.7)',
'rgba(244, 114, 182, 0.7)'
],
borderColor: [
'rgba(74, 222, 128, 1)',
'rgba(52, 211, 153, 1)',
'rgba(34, 211, 238, 1)',
'rgba(129, 140, 248, 1)',
'rgba(244, 114, 182, 1)'
],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
position: 'right',
labels: {
color: 'rgba(255, 255, 255, 0.7)'
}
}
}
}
});
});
</script>
</body>
</html>
|