Spaces:
Running
Running
Download index.html from Reginaldo520/sortemax-test: direct link, hf CLI and curl.
- Browser
- Download file 6.42 kB
-
https://huggingface.co/spaces/Reginaldo520/sortemax-test/resolve/main/index.html
- Command line
-
hf download hf://spaces/Reginaldo520/sortemax-test/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Reginaldo520/sortemax-test/resolve/main/index.html
6.42 kB
| <html lang="pt-br"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Sortemax - Carregando...</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> | |
| @keyframes pulse { | |
| 0% { opacity: 0.7; transform: scale(1); } | |
| 50% { opacity: 1; transform: scale(1.1); } | |
| 100% { opacity: 0.7; transform: scale(1); } | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| @keyframes float { | |
| 0% { transform: translateY(0px); } | |
| 50% { transform: translateY(-10px); } | |
| 100% { transform: translateY(0px); } | |
| } | |
| .logo-pulse { | |
| animation: pulse 2s infinite, float 3s ease-in-out infinite; | |
| } | |
| .loading-spinner { | |
| animation: spin 1.5s linear infinite; | |
| } | |
| .progress-bar { | |
| width: 0%; | |
| transition: width 0.3s ease; | |
| } | |
| .connection-dots::after { | |
| content: ''; | |
| animation: dots 1.5s steps(5, end) infinite; | |
| } | |
| @keyframes dots { | |
| 0%, 20% { content: '.'; } | |
| 40% { content: '..'; } | |
| 60% { content: '...'; } | |
| 80%, 100% { content: ''; } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gradient-to-br from-gray-900 to-black min-h-screen flex flex-col items-center justify-center text-white font-sans overflow-hidden"> | |
| <div class="flex flex-col items-center justify-center space-y-8 px-4"> | |
| <!-- Animated Logo --> | |
| <div class="relative"> | |
| <div class="absolute -inset-4 bg-green-500 rounded-full blur-lg opacity-20"></div> | |
| <div class="logo-pulse relative z-10"> | |
| <i class="fas fa-dice text-6xl text-green-400"></i> | |
| </div> | |
| </div> | |
| <!-- Loading Content --> | |
| <div class="text-center space-y-6 max-w-md"> | |
| <h1 class="text-3xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-green-300 to-green-500"> | |
| Sortemax | |
| </h1> | |
| <div class="space-y-4"> | |
| <div id="loadingMsg" class="text-lg font-medium"> | |
| <span class="connection-dots">Inicializando sistema</span> | |
| </div> | |
| <div class="w-full bg-gray-700 rounded-full h-2.5"> | |
| <div id="progressBar" class="progress-bar h-2.5 rounded-full bg-gradient-to-r from-green-400 to-green-600"></div> | |
| </div> | |
| <div class="flex items-center justify-center space-x-2 text-sm text-gray-400"> | |
| <i class="fas fa-shield-alt"></i> | |
| <span>Conexão segura estabelecida</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Animated Background Elements --> | |
| <div class="fixed -z-10 w-full h-full overflow-hidden"> | |
| <div class="absolute top-1/4 left-1/4 w-8 h-8 rounded-full bg-green-500 opacity-10 animate-pulse"></div> | |
| <div class="absolute top-1/3 right-1/3 w-12 h-12 rounded-full bg-green-400 opacity-5 animate-pulse delay-300"></div> | |
| <div class="absolute bottom-1/4 right-1/4 w-6 h-6 rounded-full bg-green-300 opacity-10 animate-pulse delay-700"></div> | |
| </div> | |
| </div> | |
| <script> | |
| // Simulate connection progress | |
| const loadingMessages = [ | |
| "Inicializando sistema", | |
| "Conectando aos servidores", | |
| "Verificando credenciais", | |
| "Carregando dados de sorteio", | |
| "Preparando interface", | |
| "Tudo pronto!" | |
| ]; | |
| const loadingMsg = document.getElementById('loadingMsg'); | |
| const progressBar = document.getElementById('progressBar'); | |
| let progress = 0; | |
| let currentMessage = 0; | |
| // Update progress bar and messages | |
| function updateProgress() { | |
| progress += Math.random() * 10; | |
| if (progress > 100) progress = 100; | |
| progressBar.style.width = `${progress}%`; | |
| // Change message every 20% progress | |
| if (progress >= (currentMessage + 1) * 20 && currentMessage < loadingMessages.length - 1) { | |
| currentMessage++; | |
| loadingMsg.innerHTML = `<span class="connection-dots">${loadingMessages[currentMessage]}</span>`; | |
| } | |
| if (progress < 100) { | |
| setTimeout(updateProgress, 300 + Math.random() * 500); | |
| } else { | |
| // Complete loading | |
| loadingMsg.innerHTML = "Redirecionando para o painel..."; | |
| // Add checkmark animation | |
| const checkmark = document.createElement('div'); | |
| checkmark.className = 'flex items-center justify-center mt-4 text-green-400'; | |
| checkmark.innerHTML = ` | |
| <div class="relative"> | |
| <div class="w-12 h-12 rounded-full bg-green-900 opacity-30 absolute inset-0"></div> | |
| <i class="fas fa-check text-2xl relative z-10"></i> | |
| </div> | |
| `; | |
| loadingMsg.parentNode.insertBefore(checkmark, loadingMsg.nextSibling); | |
| // Redirect after delay | |
| setTimeout(() => { | |
| // In a real app, this would redirect to the dashboard | |
| // window.location.href = "dashboard.html"; | |
| // For demo purposes, we'll just reload to show the animation again | |
| window.location.reload(); | |
| }, 2000); | |
| } | |
| } | |
| // Start the progress when page loads | |
| window.addEventListener('load', () => { | |
| setTimeout(updateProgress, 1000); | |
| // Add some visual effects | |
| document.body.classList.add('transition-colors', 'duration-1000'); | |
| }); | |
| // Add keyboard shortcut for demo purposes | |
| document.addEventListener('keydown', (e) => { | |
| if (e.key === ' ') { | |
| progress = Math.min(progress + 30, 100); | |
| progressBar.style.width = `${progress}%`; | |
| } | |
| }); | |
| </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=Reginaldo520/sortemax-test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |