Spaces:
Running
Running
quiero una aplicación que se vea futurista , que esté relacionada con medir la contaminacion, los aparatos electronicos reciclados, la calidad del aire y todos los parametros que puedas medir y tener acceso relacionados con el medio ambiente, que sea un token , que se puedan repartir tokens en recompensa. el Nombre de Mi empresa es Perú recicla
1d646f4
verified
| <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> | |