Spaces:
Running
Running
undefined - Initial Deployment
Browse filesFiles changed (2)
- README.md+7-5
- index.html+305-19
12345678910---title: Electroemoji: 馃弳colorFrom: redcolorTo: indigosdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112---title: electroemoji: 馃惓colorFrom: pinkcolorTo: bluesdk: staticpinned: falsetags:- deepsite---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305<!DOCTYPE html><html lang="pt-BR"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Rastreador de 脭nibus</title><script src="https://cdn.tailwindcss.com"></script><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"><style>.bus-marker {animation: pulse 2s infinite;}@keyframes pulse {0% { transform: scale(1); opacity: 1; }50% { transform: scale(1.2); opacity: 0.7; }100% { transform: scale(1); opacity: 1; }}.bus-stop-card:hover {transform: translateY(-5px);box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);}.map-container {height: 400px;background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=-23.5505,-46.6333&zoom=12&size=800x400&maptype=roadmap&markers=color:red%7C-23.5505,-46.6333&key=YOUR_API_KEY');background-size: cover;background-position: center;}</style></head><body class="bg-gray-100 font-sans"><header class="bg-blue-600 text-white shadow-lg"><div class="container mx-auto px-4 py-6"><div class="flex flex-col md:flex-row justify-between items-center"><div class="flex items-center mb-4 md:mb-0"><i class="fas fa-bus text-3xl mr-3"></i><h1 class="text-2xl md:text-3xl font-bold">Rastreador de 脭nibus</h1></div><div class="relative w-full md:w-64"><input type="text" placeholder="Buscar parada..." class="w-full px-4 py-2 rounded-full text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-400"><button class="absolute right-3 top-2 text-gray-600"><i class="fas fa-search"></i></button></div></div></div></header><main class="container mx-auto px-4 py-8"><div class="grid grid-cols-1 lg:grid-cols-3 gap-8"><!-- Map Section --><div class="lg:col-span-2 bg-white rounded-xl shadow-md overflow-hidden"><div class="p-4 bg-blue-500 text-white flex justify-between items-center"><h2 class="text-xl font-semibold"><i class="fas fa-map-marked-alt mr-2"></i> Mapa das Paradas</h2><div class="flex space-x-2"><button class="px-3 py-1 bg-blue-600 rounded-lg text-sm hover:bg-blue-700 transition"><i class="fas fa-sync-alt mr-1"></i> Atualizar</button></div></div><div class="map-container relative"><div class="absolute top-4 right-4 bg-white p-2 rounded-lg shadow-md"><div class="flex items-center text-green-500"><i class="fas fa-circle mr-1 text-xs"></i><span class="text-sm">Dispon铆vel</span></div><div class="flex items-center text-red-500 mt-1"><i class="fas fa-circle mr-1 text-xs"></i><span class="text-sm">Lotado</span></div></div><!-- Sample bus markers --><div class="absolute left-1/4 top-1/3 bus-marker"><div class="bg-blue-600 text-white p-2 rounded-full shadow-lg"><i class="fas fa-bus"></i></div></div><div class="absolute left-1/2 top-2/3 bus-marker"><div class="bg-red-500 text-white p-2 rounded-full shadow-lg"><i class="fas fa-bus"></i></div></div></div></div><!-- Status Section --><div class="bg-white rounded-xl shadow-md overflow-hidden"><div class="p-4 bg-blue-500 text-white"><h2 class="text-xl font-semibold"><i class="fas fa-info-circle mr-2"></i> Status do Sistema</h2></div><div class="p-4"><div class="mb-4"><h3 class="font-medium text-gray-700 mb-2">脭nibus em opera莽茫o</h3><div class="w-full bg-gray-200 rounded-full h-4"><div class="bg-green-500 h-4 rounded-full" style="width: 85%"></div></div><p class="text-right text-sm mt-1 text-gray-600">85% (1,240 ve铆culos)</p></div><div class="mb-4"><h3 class="font-medium text-gray-700 mb-2">Pontualidade</h3><div class="w-full bg-gray-200 rounded-full h-4"><div class="bg-yellow-500 h-4 rounded-full" style="width: 72%"></div></div><p class="text-right text-sm mt-1 text-gray-600">72% no hor谩rio</p></div><div class="mb-2"><h3 class="font-medium text-gray-700 mb-2">Alertas</h3><div class="bg-red-50 border-l-4 border-red-500 p-3 mb-2"><div class="flex items-start"><i class="fas fa-exclamation-circle text-red-500 mt-1 mr-2"></i><div><p class="font-medium text-red-700">Linha 175 - Atraso</p><p class="text-sm text-red-600">Previs茫o de 15 min devido a congestionamento</p></div></div></div><div class="bg-yellow-50 border-l-4 border-yellow-500 p-3"><div class="flex items-start"><i class="fas fa-info-circle text-yellow-500 mt-1 mr-2"></i><div><p class="font-medium text-yellow-700">Manuten莽茫o programada</p><p class="text-sm text-yellow-600">Linha 210 com altera莽茫o de itiner谩rio amanh茫</p></div></div></div></div></div></div></div><!-- Bus Stops List --><div class="mt-8 bg-white rounded-xl shadow-md overflow-hidden"><div class="p-4 bg-blue-500 text-white flex justify-between items-center"><h2 class="text-xl font-semibold"><i class="fas fa-map-marker-alt mr-2"></i> Paradas Pr贸ximas</h2><div class="flex items-center space-x-2"><span class="text-sm">Ordenar por:</span><select class="px-2 py-1 rounded bg-blue-600 text-white border-none focus:ring-2 focus:ring-blue-300"><option>Dist芒ncia</option><option>Nome</option><option>Movimenta莽茫o</option></select></div></div><div class="divide-y divide-gray-200"><!-- Bus Stop Cards --><div class="bus-stop-card p-4 hover:bg-gray-50 transition cursor-pointer"><div class="flex justify-between items-start"><div><h3 class="font-bold text-lg text-blue-700">Parada Shopping Center</h3><p class="text-gray-600">Av. Paulista, 1234 - Bela Vista</p><div class="flex items-center mt-2"><span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded mr-2"><i class="fas fa-walking mr-1"></i> 300m</span><span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded"><i class="fas fa-clock mr-1"></i> Pr贸ximo 么nibus em 5 min</span></div></div><div class="text-right"><div class="text-2xl font-bold text-blue-600">175</div><div class="text-sm text-gray-500">3 linhas</div></div></div><div class="mt-3 flex flex-wrap gap-2"><span class="bg-gray-100 px-2 py-1 rounded text-sm">175 - Terminal Pinheiros</span><span class="bg-gray-100 px-2 py-1 rounded text-sm">810 - Metr么 Tatuap茅</span><span class="bg-gray-100 px-2 py-1 rounded text-sm">N801 - Circular Noturno</span></div></div><div class="bus-stop-card p-4 hover:bg-gray-50 transition cursor-pointer"><div class="flex justify-between items-start"><div><h3 class="font-bold text-lg text-blue-700">Parada Pra莽a da S茅</h3><p class="text-gray-600">Pra莽a da S茅 - Centro</p><div class="flex items-center mt-2"><span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded mr-2"><i class="fas fa-walking mr-1"></i> 850m</span><span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded"><i class="fas fa-clock mr-1"></i> Pr贸ximo 么nibus em 12 min</span></div></div><div class="text-right"><div class="text-2xl font-bold text-blue-600">107T</div><div class="text-sm text-gray-500">5 linhas</div></div></div><div class="mt-3 flex flex-wrap gap-2"><span class="bg-gray-100 px-2 py-1 rounded text-sm">107T - Term. Pq. D. Pedro II</span><span class="bg-gray-100 px-2 py-1 rounded text-sm">411 - Term. Santo Amaro</span><span class="bg-gray-100 px-2 py-1 rounded text-sm">510 - Term. Princ. Isabel</span><span class="bg-gray-100 px-2 py-1 rounded text-sm">857 - Term. Vila Carr茫o</span><span class="bg-gray-100 px-2 py-1 rounded text-sm">N841 - Circular Noturno</span></div></div><div class="bus-stop-card p-4 hover:bg-gray-50 transition cursor-pointer"><div class="flex justify-between items-start"><div><h3 class="font-bold text-lg text-blue-700">Parada Metr么 Tatuap茅</h3><p class="text-gray-600">R. Tuiuti, 515 - Tatuap茅</p><div class="flex items-center mt-2"><span class="bg-red-100 text-red-800 text-xs px-2 py-1 rounded mr-2"><i class="fas fa-walking mr-1"></i> 1.2km</span><span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded"><i class="fas fa-clock mr-1"></i> Pr贸ximo 么nibus em 3 min</span></div></div><div class="text-right"><div class="text-2xl font-bold text-blue-600">210</div><div class="text-sm text-gray-500">4 linhas</div></div></div><div class="mt-3 flex flex-wrap gap-2"><span class="bg-gray-100 px-2 py-1 rounded text-sm">210 - Term. Pq. D. Pedro II</span><span class="bg-gray-100 px-2 py-1 rounded text-sm">370 - Term. A. E. Carvalho</span><span class="bg-gray-100 px-2 py-1 rounded text-sm">N802 - Circular Noturno</span><span class="bg-gray-100 px-2 py-1 rounded text-sm">875 - Term. Sapopemba</span></div></div></div><div class="p-4 text-center bg-gray-50"><button class="px-4 py-2 bg-blue-500 text-white rounded-lg hover:bg-blue-600 transition"><i class="fas fa-plus mr-2"></i> Carregar mais paradas</button></div></div></main><footer class="bg-gray-800 text-white py-8 mt-12"><div class="container mx-auto px-4"><div class="grid grid-cols-1 md:grid-cols-3 gap-8"><div><h3 class="text-xl font-bold mb-4">Rastreador de 脭nibus</h3><p class="text-gray-400">Informa莽玫es em tempo real sobre as paradas de 么nibus da cidade. Nunca mais perca seu transporte!</p></div><div><h3 class="text-xl font-bold mb-4">Links 脷teis</h3><ul class="space-y-2"><li><a href="#" class="text-gray-400 hover:text-white transition">Hor谩rios</a></li><li><a href="#" class="text-gray-400 hover:text-white transition">Tarifas</a></li><li><a href="#" class="text-gray-400 hover:text-white transition">Itiner谩rios</a></li><li><a href="#" class="text-gray-400 hover:text-white transition">Contato</a></li></ul></div><div><h3 class="text-xl font-bold mb-4">Baixe nosso app</h3><div class="flex space-x-3"><button class="bg-black text-white px-4 py-2 rounded-lg flex items-center"><i class="fab fa-apple mr-2"></i> App Store</button><button class="bg-black text-white px-4 py-2 rounded-lg flex items-center"><i class="fab fa-google-play mr-2"></i> Play Store</button></div></div></div><div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400"><p>漏 2023 Rastreador de 脭nibus. Todos os direitos reservados.</p></div></div></footer><script>// Sample JavaScript for interactive elementsdocument.addEventListener('DOMContentLoaded', function() {// Simulate live updatessetInterval(() => {const busTimes = document.querySelectorAll('.bus-stop-card .fa-clock').forEach(el => {const parent = el.closest('span');const currentText = parent.textContent;const currentMins = parseInt(currentText.match(/\d+/)[0]);const newMins = Math.max(0, currentMins - 1);if (newMins === 0) {parent.textContent = '脭nibus chegando agora';parent.classList.remove('bg-blue-100', 'text-blue-800');parent.classList.add('bg-green-100', 'text-green-800');} else {parent.textContent = `Pr贸ximo 么nibus em ${newMins} min`;}});}, 60000); // Update every minute// Add click effect to bus stop cardsconst cards = document.querySelectorAll('.bus-stop-card');cards.forEach(card => {card.addEventListener('click', function() {// In a real app, this would show more detailsalert('Mostrando detalhes da parada: ' + this.querySelector('h3').textContent);});});});</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=Electro2025/electro" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>
README.md+7-5
index.html+305-19