Spaces:
Running
Running
Add 3 files
Browse filesFiles changed (3)
- README.md+7-5
- index.html+167-19
- prompts.txtAdded+1
12345678910---title: Sortemax Testemoji: 📈colorFrom: yellowcolorTo: yellowsdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112---title: sortemax-testemoji: 🐳colorFrom: redcolorTo: graysdk: 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>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167<!DOCTYPE html><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 progressconst 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 messagesfunction updateProgress() {progress += Math.random() * 10;if (progress > 100) progress = 100;progressBar.style.width = `${progress}%`;// Change message every 20% progressif (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 loadingloadingMsg.innerHTML = "Redirecionando para o painel...";// Add checkmark animationconst 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 delaysetTimeout(() => {// 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 againwindow.location.reload();}, 2000);}}// Start the progress when page loadswindow.addEventListener('load', () => {setTimeout(updateProgress, 1000);// Add some visual effectsdocument.body.classList.add('transition-colors', 'duration-1000');});// Add keyboard shortcut for demo purposesdocument.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>
1<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>Sortemax - Carregando...</title> <style> body { background-color: #000; display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; color: #fff; font-family: 'Segoe UI', sans-serif; flex-direction: column; } .logo { width: 120px; animation: pulse 2s infinite; } @keyframes pulse { 0% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0.5; transform: scale(1); } } .loading-text { margin-top: 20px; font-size: 1.2em; } </style> </head> <body> <img src="logo-pera-verde.png" alt="Logo" class="logo" /> <div class="loading-text" id="loadingMsg">Carregando...</div> <script> // Simulação de Web Service SorteMax async function iniciarConexaoSortemax() { const loadingMsg = document.getElementById('loadingMsg'); loadingMsg.textContent = "Conectando ao SorteMax..."; try { // Simula chamada const response = await fetch('https://api.sorteiofake.com/start', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ device: 'MOBILE', key: 'AGRO-RAVIX' }) }); if (!response.ok) throw new Error("Falha na conexão"); const result = await response.json(); loadingMsg.textContent = "Pronto! Redirecionando..."; setTimeout(() => { window.location.href = "dashboard.html"; // Tela de resultados }, 2000); } catch (err) { loadingMsg.textContent = "Erro de conexão. Tentando novamente..."; setTimeout(iniciarConexaoSortemax, 3000); } } // Iniciar ao carregar window.onload = iniciarConexaoSortemax; </script> </body> </html>README.md+7-5
index.html+167-19
prompts.txtAdded+1