Download index.html from Kanelaaa/aaa: direct link, hf CLI and curl.
- Browser
- Download file 8.32 kB
-
https://huggingface.co/spaces/Kanelaaa/aaa/resolve/main/index.html
- Command line
-
hf download hf://spaces/Kanelaaa/aaa/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Kanelaaa/aaa/resolve/main/index.html
8.32 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Login Moderno</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> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| } | |
| .shake { | |
| animation: shake 0.5s; | |
| } | |
| @keyframes shake { | |
| 0%, 100% { transform: translateX(0); } | |
| 10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); } | |
| 20%, 40%, 60%, 80% { transform: translateX(5px); } | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen flex items-center justify-center gradient-bg p-4"> | |
| <!-- Login Card --> | |
| <div class="w-full max-w-md bg-white rounded-2xl shadow-xl p-8"> | |
| <div class="flex justify-center mb-6"> | |
| <i class="fas fa-user-circle text-indigo-600 text-4xl"></i> | |
| </div> | |
| <h2 class="text-3xl font-bold text-center text-gray-800">Bem-vindo de volta</h2> | |
| <p class="text-center text-gray-600 mb-6">Faça login para acessar sua conta</p> | |
| <form id="loginForm" class="space-y-5"> | |
| <div> | |
| <label for="email" class="block mb-1 text-sm font-medium text-gray-700">E-mail</label> | |
| <input type="email" id="email" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500" placeholder="seu@email.com" required> | |
| <p id="emailError" class="hidden text-sm text-red-600 mt-1"></p> | |
| </div> | |
| <div> | |
| <label for="password" class="block mb-1 text-sm font-medium text-gray-700">Senha</label> | |
| <div class="relative"> | |
| <input type="password" id="password" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500" placeholder="••••••••" required> | |
| <button type="button" id="togglePassword" class="absolute right-3 top-1/2 transform -translate-y-1/2"> | |
| <i class="fas fa-eye text-gray-400"></i> | |
| </button> | |
| </div> | |
| <p id="passwordError" class="hidden text-sm text-red-600 mt-1"></p> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="mr-2"> | |
| <span class="text-sm text-gray-700">Lembrar-me</span> | |
| </label> | |
| <button type="button" id="forgotPasswordBtn" class="text-sm text-indigo-600 hover:underline">Esqueceu a senha?</button> | |
| </div> | |
| <button type="submit" class="w-full py-3 bg-indigo-600 hover:bg-indigo-700 text-white rounded-lg transition duration-300">Entrar</button> | |
| <p class="text-sm text-center text-gray-600">Não tem uma conta? | |
| <button type="button" id="signUpBtn" class="text-indigo-600 hover:underline">Cadastre-se</button> | |
| </p> | |
| </form> | |
| </div> | |
| <!-- Forgot Password Modal --> | |
| <div id="forgotPasswordModal" class="fixed inset-0 bg-black bg-opacity-40 flex items-center justify-center hidden z-50"> | |
| <div class="bg-white rounded-xl p-6 w-80"> | |
| <h3 class="text-lg font-semibold mb-4">Recuperar Senha</h3> | |
| <input type="email" placeholder="Digite seu e-mail" class="w-full px-4 py-2 border rounded-lg mb-4"> | |
| <div class="flex justify-end space-x-2"> | |
| <button onclick="closeModal('forgotPasswordModal')" class="px-4 py-2 rounded-lg border hover:bg-gray-100 transition duration-300">Cancelar</button> | |
| <button class="px-4 py-2 rounded-lg bg-indigo-600 text-white hover:bg-indigo-700 transition duration-300">Enviar</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Sign Up Modal --> | |
| <div id="signUpModal" class="fixed inset-0 bg-black bg-opacity-40 flex items-center justify-center hidden z-50"> | |
| <div class="bg-white rounded-xl p-6 w-96 max-w-[90%]"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-xl font-semibold">Criar Conta</h3> | |
| <button onclick="closeModal('signUpModal')" class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <form id="signUpForm" class="space-y-4"> | |
| <div> | |
| <label for="signupName" class="block mb-1 text-sm font-medium text-gray-700">Nome Completo</label> | |
| <input type="text" id="signupName" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500" placeholder="Seu nome" required> | |
| <p id="nameError" class="hidden text-sm text-red-600 mt-1"></p> | |
| </div> | |
| <div> | |
| <label for="signupEmail" class="block mb-1 text-sm font-medium text-gray-700">E-mail</label> | |
| <input type="email" id="signupEmail" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500" placeholder="seu@email.com" required> | |
| <p id="signupEmailError" class="hidden text-sm text-red-600 mt-1"></p> | |
| </div> | |
| <div> | |
| <label for="signupPassword" class="block mb-1 text-sm font-medium text-gray-700">Senha</label> | |
| <div class="relative"> | |
| <input type="password" id="signupPassword" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500" placeholder="••••••••" required> | |
| <button type="button" id="toggleSignupPassword" class="absolute right-3 top-1/2 transform -translate-y-1/2"> | |
| <i class="fas fa-eye text-gray-400"></i> | |
| </button> | |
| </div> | |
| <p id="signupPasswordError" class="hidden text-sm text-red-600 mt-1"></p> | |
| </div> | |
| <div> | |
| <label for="signupConfirmPassword" class="block mb-1 text-sm font-medium text-gray-700">Confirmar Senha</label> | |
| <div class="relative"> | |
| <input type="password" id="signupConfirmPassword" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500" placeholder="••••••••" required> | |
| <button type="button" id="toggleConfirmPassword" class="absolute right-3 top-1/2 transform -translate-y-1/2"> | |
| <i class="fas fa-eye text-gray-400"></i> | |
| </button> | |
| </div> | |
| <p id="confirmPasswordError" class="hidden text-sm text-red-600 mt-1"></p> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="termsCheckbox" class="mr-2" required> | |
| <label for="termsCheckbox" class="text-sm text-gray-700">Eu concordo com os <a href="#" class="text-indigo-600 hover:underline">Termos de Serviço</a></label> | |
| </div> | |
| <p id="termsError" class="hidden text-sm text-red-600"></p> | |
| <div class="flex justify-end space-x-2 pt-2"> | |
| <button type="button" onclick="closeModal('signUpModal')" class="px-4 py-2 rounded-lg border hover:bg-gray-100 transition duration-300">Cancelar</button> | |
| <button type="submit" id="signupSubmitBtn" class="px-4 py-2 rounded-lg bg-indigo-600 text-white hover:bg-indigo-700 transition duration-300 flex items-center"> | |
| <span id="signupBtnText">Cadastrar</span> | |
| <i id="signupSpinner" class="fas fa-spinner fa-spin ml-2 hidden"></i> | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| <!-- Success Modal --> | |
| <div id="successModal" class="fixed inset-0 bg-black bg-opacity-40 flex items-center justify-center hidden z-50"> | |
| <div class="bg-white rounded-xl p-6 w-80 text-center"> | |
| <div class="mb-4 text-green-500 text-5xl"> | |
| <i class="fas fa-check-circle"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Cadastro realizado!</h3> | |
| <p class="text-gray-600 mb-4">Sua conta foi criada com sucesso.</p> | |
| <button onclick="closeModal('successModal')" class="px-/> | |
| </html> |