Spaces:
Running
Running
Download login.html from AdronX/pro_creator_ai: direct link, hf CLI and curl.
- Browser
- Download file 20.7 kB
-
https://huggingface.co/spaces/AdronX/pro_creator_ai/resolve/main/login.html
- Command line
-
hf download hf://spaces/AdronX/pro_creator_ai/login.html
-
curl -L -o login.html https://huggingface.co/spaces/AdronX/pro_creator_ai/resolve/main/login.html
20.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Login - Adron Creator Tool</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/lucide@latest"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; | |
| background: linear-gradient(135deg, #f5f5f7 0%, #e5e7eb 100%); | |
| min-height: 100vh; | |
| } | |
| .glass-panel { | |
| background: rgba(255, 255, 255, 0.95); | |
| backdrop-filter: blur(20px); | |
| border: 1px solid rgba(255, 255, 255, 0.3); | |
| box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); | |
| } | |
| .adron-gradient { | |
| background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .ios-input { | |
| background: #f9fafb; | |
| border: 1px solid #e5e7eb; | |
| border-radius: 12px; | |
| transition: all 0.2s ease; | |
| } | |
| .ios-input:focus { | |
| outline: none; | |
| border-color: #3b82f6; | |
| background: #ffffff; | |
| box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); | |
| } | |
| .glow-button { | |
| background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); | |
| box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35); | |
| } | |
| .glow-button:hover { | |
| box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45); | |
| transform: translateY(-1px); | |
| } | |
| .tab-active { | |
| border-bottom: 2px solid #3b82f6; | |
| color: #3b82f6; | |
| font-weight: 600; | |
| } | |
| .tab-inactive { | |
| color: #6b7280; | |
| border-bottom: 2px solid transparent; | |
| } | |
| </style> | |
| </head> | |
| <body class="flex items-center justify-center p-4"> | |
| <div class="w-full max-w-md"> | |
| <!-- Logo --> | |
| <div class="text-center mb-8"> | |
| <div class="w-16 h-16 rounded-2xl overflow-hidden bg-white shadow-lg border border-gray-200 mx-auto mb-4"> | |
| <img src="images/Adron%20Media%20Logo.jpg" alt="Adron Creator Tool Logo" class="w-full h-full object-cover"> | |
| </div> | |
| <h1 class="text-2xl font-bold adron-gradient mb-2">Adron Creator Tool</h1> | |
| <p class="text-sm text-gray-500">Create your account to unlock unlimited access</p> | |
| </div> | |
| <!-- Auth Card --> | |
| <div class="glass-panel rounded-3xl p-8"> | |
| <!-- Tabs --> | |
| <div class="flex mb-8 border-b border-gray-200"> | |
| <button onclick="switchAuthTab('login')" id="tab-login" class="flex-1 py-3 text-sm font-medium tab-active transition-colors"> | |
| Sign In | |
| </button> | |
| <button onclick="switchAuthTab('register')" id="tab-register" class="flex-1 py-3 text-sm font-medium tab-inactive transition-colors"> | |
| Create Account | |
| </button> | |
| </div> | |
| <!-- Login Form --> | |
| <div id="form-login" class="space-y-5"> | |
| <div> | |
| <label class="block text-sm font-semibold text-gray-700 mb-2">Email Address</label> | |
| <input type="email" id="loginEmail" placeholder="you@example.com" | |
| class="w-full px-4 py-3 ios-input text-gray-700 placeholder-gray-400"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-semibold text-gray-700 mb-2">Password</label> | |
| <input type="password" id="loginPassword" placeholder="••••••••" | |
| class="w-full px-4 py-3 ios-input text-gray-700 placeholder-gray-400"> | |
| </div> | |
| <div class="flex items-center justify-between text-sm"> | |
| <label class="flex items-center gap-2 cursor-pointer"> | |
| <input type="checkbox" class="w-4 h-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500"> | |
| <span class="text-gray-600">Remember me</span> | |
| </label> | |
| <a href="#" class="text-blue-600 hover:text-blue-700 font-medium">Forgot password?</a> | |
| </div> | |
| <button onclick="handleLogin()" | |
| class="w-full py-3.5 glow-button text-white font-semibold rounded-xl transition-all flex items-center justify-center gap-2"> | |
| <i data-lucide="log-in" class="w-5 h-5"></i> | |
| Sign In | |
| </button> | |
| </div> | |
| <!-- Register Form --> | |
| <div id="form-register" class="hidden space-y-5"> | |
| <div> | |
| <label class="block text-sm font-semibold text-gray-700 mb-2">Full Name</label> | |
| <input type="text" id="registerName" placeholder="John Doe" | |
| class="w-full px-4 py-3 ios-input text-gray-700 placeholder-gray-400"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-semibold text-gray-700 mb-2">Email Address</label> | |
| <input type="email" id="registerEmail" placeholder="you@example.com" | |
| class="w-full px-4 py-3 ios-input text-gray-700 placeholder-gray-400"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-semibold text-gray-700 mb-2">Password</label> | |
| <input type="password" id="registerPassword" placeholder="Min 8 characters" | |
| class="w-full px-4 py-3 ios-input text-gray-700 placeholder-gray-400"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-semibold text-gray-700 mb-2">Confirm Password</label> | |
| <input type="password" id="registerConfirm" placeholder="••••••••" | |
| class="w-full px-4 py-3 ios-input text-gray-700 placeholder-gray-400"> | |
| </div> | |
| <div class="flex items-start gap-3 text-sm"> | |
| <input type="checkbox" id="terms" class="w-4 h-4 mt-0.5 rounded border-gray-300 text-blue-600 focus:ring-blue-500"> | |
| <label for="terms" class="text-gray-600 cursor-pointer"> | |
| I agree to the <a href="#" class="text-blue-600 hover:underline">Terms of Service</a> and | |
| <a href="#" class="text-blue-600 hover:underline">Privacy Policy</a> | |
| </label> | |
| </div> | |
| <button onclick="handleRegister()" | |
| class="w-full py-3.5 glow-button text-white font-semibold rounded-xl transition-all flex items-center justify-center gap-2"> | |
| <i data-lucide="user-plus" class="w-5 h-5"></i> | |
| Create Account | |
| </button> | |
| </div> | |
| <!-- Social Login --> | |
| <div class="mt-8 pt-6 border-t border-gray-200"> | |
| <p class="text-xs text-center text-gray-500 mb-4 uppercase tracking-wide font-medium">Or continue with</p> | |
| <div class="grid grid-cols-3 gap-3"> | |
| <button onclick="socialLogin('google')" | |
| class="flex items-center justify-center py-2.5 border border-gray-200 rounded-xl hover:bg-gray-50 transition-colors"> | |
| <svg class="w-5 h-5" viewBox="0 0 24 24"> | |
| <path fill="#4285F4" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/> | |
| <path fill="#34A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/> | |
| <path fill="#FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/> | |
| <path fill="#EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"/> | |
| </svg> | |
| </button> | |
| <button onclick="socialLogin('github')" | |
| class="flex items-center justify-center py-2.5 border border-gray-200 rounded-xl hover:bg-gray-50 transition-colors"> | |
| <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"> | |
| <path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/> | |
| </svg> | |
| </button> | |
| <button onclick="socialLogin('twitter')" | |
| class="flex items-center justify-center py-2.5 border border-gray-200 rounded-xl hover:bg-gray-50 transition-colors"> | |
| <svg class="w-5 h-5" fill="#1DA1F2" viewBox="0 0 24 24"> | |
| <path d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 00-2.163-2.723c-.951-.503-2.15-.703-3.398-.575-1.248.128-2.372.596-3.252 1.36-.88.765-1.452 1.782-1.62 2.925-.168 1.143.044 2.29.595 3.282.55.993 1.38 1.76 2.377 2.197v.003c-1.246.127-2.423.516-3.458 1.14-1.035.623-1.87 1.45-2.434 2.44-.565.99-.848 2.112-.822 3.26.026 1.15.357 2.252.96 3.22.603.97 1.44 1.752 2.432 2.272.993.52 2.113.764 3.244.71 1.13-.054 2.224-.372 3.182-.933.96-.56 1.738-1.35 2.262-2.303.523-.952.776-2.042.733-3.153v-.003c1.89-.14 3.69-.76 5.233-1.803 1.542-1.044 2.79-2.446 3.61-4.053.82-1.607 1.18-3.393 1.05-5.187-.13-1.795-.773-3.51-1.86-4.958a10.047 10.047 0 00-3.788-3.39zm-4.95 15.61c-.73 1.313-1.93 2.34-3.33 2.85-1.4.51-2.93.466-4.29-.12-1.36-.588-2.48-1.653-3.13-2.996-.66-1.343-.82-2.88-.45-4.33.37-1.45 1.24-2.69 2.44-3.48 1.2-.79 2.64-1.12 4.07-.93 1.44.19 2.77.85 3.73 1.87.96 1.02 1.55 2.33 1.67 3.73.12 1.4-.28 2.78-1.01 4.09h-.01z"/> | |
| </svg> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Back to Home --> | |
| <div class="mt-6 text-center"> | |
| <a href="index.html" class="text-sm text-gray-500 hover:text-gray-700 flex items-center justify-center gap-2 transition-colors"> | |
| <i data-lucide="arrow-left" class="w-4 h-4"></i> | |
| Back to Tool | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Contact Support --> | |
| <div class="mt-6 text-center"> | |
| <p class="text-xs text-gray-500 mb-3">Need help? Contact us</p> | |
| <div class="flex items-center justify-center gap-4"> | |
| <a href="https://www.facebook.com/adnankhan00o" target="_blank" rel="noopener noreferrer" | |
| class="w-10 h-10 rounded-full bg-white border border-gray-200 flex items-center justify-center text-blue-600 hover:bg-blue-50 hover:border-blue-300 transition-all hover:scale-110 shadow-sm" | |
| title="Facebook"> | |
| <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"> | |
| <path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/> | |
| </svg> | |
| </a> | |
| <a href="https://www.instagram.com/adroadn" target="_blank" rel="noopener noreferrer" | |
| class="w-10 h-10 rounded-full bg-white border border-gray-200 flex items-center justify-center text-pink-600 hover:bg-pink-50 hover:border-pink-300 transition-all hover:scale-110 shadow-sm" | |
| title="Instagram"> | |
| <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"> | |
| <path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"/> | |
| </svg> | |
| </a> | |
| <a href="https://t.me/Adron_Media" target="_blank" rel="noopener noreferrer" | |
| class="w-10 h-10 rounded-full bg-white border border-gray-200 flex items-center justify-center text-sky-500 hover:bg-sky-50 hover:border-sky-300 transition-all hover:scale-110 shadow-sm" | |
| title="Telegram"> | |
| <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"> | |
| <path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/> | |
| </svg> | |
| </a> | |
| </div> | |
| <p class="text-xs text-gray-400 mt-2">Click icons to message us directly</p> | |
| </div> | |
| <!-- Trial Info --> | |
| <div class="mt-6 text-center"> | |
| <div class="inline-flex items-center gap-2 px-4 py-2 rounded-full bg-amber-100 border border-amber-200 text-amber-800 text-xs font-medium"> | |
| <i data-lucide="clock" class="w-4 h-4"></i> | |
| <span>Free trial: 2 days of full access</span> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-2">No credit card required for trial</p> | |
| </div> | |
| </div> | |
| <script> | |
| lucide.createIcons(); | |
| // Check if already logged in | |
| const isLoggedIn = localStorage.getItem('adron_user') !== null; | |
| if (isLoggedIn) { | |
| window.location.href = 'index.html'; | |
| } | |
| function switchAuthTab(tab) { | |
| // Update tabs | |
| document.getElementById('tab-login').className = tab === 'login' ? | |
| 'flex-1 py-3 text-sm font-medium tab-active transition-colors' : | |
| 'flex-1 py-3 text-sm font-medium tab-inactive transition-colors'; | |
| document.getElementById('tab-register').className = tab === 'register' ? | |
| 'flex-1 py-3 text-sm font-medium tab-active transition-colors' : | |
| 'flex-1 py-3 text-sm font-medium tab-inactive transition-colors'; | |
| // Show/hide forms | |
| if (tab === 'login') { | |
| document.getElementById('form-login').classList.remove('hidden'); | |
| document.getElementById('form-register').classList.add('hidden'); | |
| } else { | |
| document.getElementById('form-login').classList.add('hidden'); | |
| document.getElementById('form-register').classList.remove('hidden'); | |
| } | |
| } | |
| function handleLogin() { | |
| const email = document.getElementById('loginEmail').value; | |
| const password = document.getElementById('loginPassword').value; | |
| if (!email || !password) { | |
| showToast('Please fill in all fields'); | |
| return; | |
| } | |
| // Simulate login (in real app, this would validate with backend) | |
| const user = { | |
| email: email, | |
| name: email.split('@')[0], | |
| loginTime: new Date().toISOString(), | |
| trialUsed: localStorage.getItem('adron_firstVisit') !== null | |
| }; | |
| localStorage.setItem('adron_user', JSON.stringify(user)); | |
| showToast('Welcome back! Redirecting...'); | |
| setTimeout(() => { | |
| window.location.href = 'index.html'; | |
| }, 1000); | |
| } | |
| function handleRegister() { | |
| const name = document.getElementById('registerName').value; | |
| const email = document.getElementById('registerEmail').value; | |
| const password = document.getElementById('registerPassword').value; | |
| const confirm = document.getElementById('registerConfirm').value; | |
| const terms = document.getElementById('terms').checked; | |
| if (!name || !email || !password || !confirm) { | |
| showToast('Please fill in all fields'); | |
| return; | |
| } | |
| if (password.length < 8) { | |
| showToast('Password must be at least 8 characters'); | |
| return; | |
| } | |
| if (password !== confirm) { | |
| showToast('Passwords do not match'); | |
| return; | |
| } | |
| if (!terms) { | |
| showToast('Please accept the Terms of Service'); | |
| return; | |
| } | |
| // Simulate registration | |
| const user = { | |
| email: email, | |
| name: name, | |
| createdAt: new Date().toISOString(), | |
| loginTime: new Date().toISOString(), | |
| trialUsed: true | |
| }; | |
| localStorage.setItem('adron_user', JSON.stringify(user)); | |
| localStorage.setItem('adron_trialComplete', 'true'); | |
| showToast('Account created successfully! Redirecting...'); | |
| setTimeout(() => { | |
| window.location.href = 'index.html'; | |
| }, 1000); | |
| } | |
| function socialLogin(provider) { | |
| showToast(`Connecting to ${provider}...`); | |
| // Simulate social login | |
| setTimeout(() => { | |
| const user = { | |
| email: `user@${provider}.com`, | |
| name: `${provider.charAt(0).toUpperCase() + provider.slice(1)} User`, | |
| loginTime: new Date().toISOString(), | |
| provider: provider, | |
| trialUsed: true | |
| }; | |
| localStorage.setItem('adron_user', JSON.stringify(user)); | |
| window.location.href = 'index.html'; | |
| }, 1500); | |
| } | |
| function showToast(message) { | |
| const toast = document.createElement('div'); | |
| toast.className = 'fixed bottom-6 right-6 bg-gray-800 text-white px-4 py-3 rounded-xl shadow-2xl flex items-center gap-3 z-50 animate-pulse'; | |
| toast.innerHTML = `<i data-lucide="info" class="w-5 h-5 text-blue-400"></i><span>${message}</span>`; | |
| document.body.appendChild(toast); | |
| lucide.createIcons(); | |
| setTimeout(() => { | |
| toast.remove(); | |
| }, 3000); | |
| } | |
| </script> | |
| </body> | |
| </html> |