| | <!DOCTYPE html> |
| | <html lang="en" class="scroll-smooth"> |
| | <head> |
| | <meta charset="UTF-8"> |
| | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| | <title>CryptoPulse Pro - Login</title> |
| | <link rel="stylesheet" href="style.css"> |
| | <script src="https://cdn.tailwindcss.com"></script> |
| | <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
| | <script src="https://unpkg.com/feather-icons"></script> |
| | <script src="components/navbar.js"></script> |
| | <script src="components/footer.js"></script> |
| | <script src="components/cta-banner.js"></script> |
| | </head> |
| | <body class="bg-gray-900 text-white font-sans flex flex-col min-h-screen"> |
| | <custom-navbar></custom-navbar> |
| |
|
| | |
| | <section class="relative overflow-hidden py-16 bg-gradient-to-br from-purple-900/40 to-blue-900/40"> |
| | <div class="absolute inset-0 opacity-20"> |
| | <div class="absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==')]"></div> |
| | </div> |
| | <div class="relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center"> |
| | <h1 class="text-3xl md:text-4xl lg:text-5xl font-bold mb-6">Welcome Back</h1> |
| | <p class="text-lg text-gray-400 max-w-3xl mx-auto">Sign in to access your CryptoPulse Pro account and start trading</p> |
| | </div> |
| | </section> |
| |
|
| | |
| | <section class="py-16 bg-gray-900"> |
| | <div class="max-w-md mx-auto px-4 sm:px-6 lg:px-8"> |
| | <div class="bg-gray-800 rounded-xl p-8 border border-gray-700 shadow-2xl"> |
| | <h2 class="text-2xl font-bold mb-8 text-center">Sign In to Your Account</h2> |
| | |
| | |
| | <div class="mb-6"> |
| | <p class="text-center text-gray-400 mb-4">Or login with</p> |
| | <div class="grid grid-cols-3 gap-4"> |
| | <a href="#" class="bg-gray-700 hover:bg-gray-600 py-3 px-4 rounded-lg flex items-center justify-center transition-all duration-300"> |
| | <i data-feather="google" class="w-5 h-5 mr-2"></i> |
| | <span>Google</span> |
| | </a> |
| | <a href="#" class="bg-gray-700 hover:bg-gray-600 py-3 px-4 rounded-lg flex items-center justify-center transition-all duration-300"> |
| | <i data-feather="facebook" class="w-5 h-5 mr-2"></i> |
| | <span>Facebook</span> |
| | </a> |
| | <a href="#" class="bg-gray-700 hover:bg-gray-600 py-3 px-4 rounded-lg flex items-center justify-center transition-all duration-300"> |
| | <i data-feather="twitter" class="w-5 h-5 mr-2"></i> |
| | <span>Twitter</span> |
| | </a> |
| | </div> |
| | </div> |
| |
|
| | |
| | <div class="flex items-center my-6"> |
| | <div class="flex-grow border-t border-gray-700"></div> |
| | <span class="mx-4 text-gray-500">or</span> |
| | <div class="flex-grow border-t border-gray-700"></div> |
| | </div> |
| |
|
| | |
| | <form id="loginForm" class="space-y-6"> |
| | <div> |
| | <label for="loginEmail" class="block text-sm font-medium text-gray-400 mb-1">Email Address</label> |
| | <input type="email" id="loginEmail" name="email" required class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent"> |
| | </div> |
| | <div> |
| | <label for="loginPassword" class="block text-sm font-medium text-gray-400 mb-1">Password</label> |
| | <div class="relative"> |
| | <input type="password" id="loginPassword" name="password" required class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent"> |
| | <button type="button" class="absolute right-3 top-3 text-gray-500 hover:text-gray-300 toggle-password"> |
| | <i data-feather="eye" class="w-5 h-5"></i> |
| | </button> |
| | </div> |
| | <div class="flex justify-between mt-2"> |
| | <div class="flex items-center"> |
| | <input id="rememberMe" name="rememberMe" type="checkbox" class="w-4 h-4 bg-gray-700 border-gray-600 rounded focus:ring-purple-500 focus:ring-2"> |
| | <label for="rememberMe" class="ml-2 block text-sm text-gray-400">Remember me</label> |
| | </div> |
| | <a href="/forgot-password" class="text-sm text-purple-400 hover:underline">Forgot password?</a> |
| | </div> |
| | </div> |
| | <div> |
| | <button type="submit" class="w-full bg-gradient-to-r from-purple-500 to-blue-500 hover:from-purple-600 hover:to-blue-600 text-white font-bold py-3 px-6 rounded-lg transition-all duration-300"> |
| | Sign In |
| | </button> |
| | </div> |
| | </form> |
| |
|
| | <div class="mt-6 text-center"> |
| | <p class="text-sm text-gray-500"> |
| | Don't have an account? <a href="/register" class="text-purple-400 hover:underline font-medium">Sign Up</a> |
| | </p> |
| | </div> |
| | </div> |
| |
|
| | |
| | <div class="mt-8 bg-gray-800 rounded-xl p-6 border border-gray-700"> |
| | <div class="flex items-start"> |
| | <div class="bg-green-500/20 p-3 rounded-lg mr-4"> |
| | <i data-feather="lock" class="w-6 h-6 text-green-400"></i> |
| | </div> |
| | <div> |
| | <h3 class="text-lg font-bold mb-2">Enhanced Security</h3> |
| | <p class="text-gray-400 text-sm"> |
| | For added security, we recommend enabling Two-Factor Authentication (2FA) on your account. This adds an extra layer of protection beyond your password. |
| | </p> |
| | <a href="/enable-2fa" class="inline-block mt-3 text-sm text-green-400 hover:underline">Learn how to enable 2FA</a> |
| | </div> |
| | </div> |
| | </div> |
| | </div> |
| | </section> |
| |
|
| | <custom-cta-banner></custom-cta-banner> |
| |
|
| | <custom-footer></custom-footer> |
| |
|
| | <script src="script.js"></script> |
| | <script> |
| | feather.replace(); |
| | |
| | |
| | document.querySelectorAll('.toggle-password').forEach(button => { |
| | button.addEventListener('click', function() { |
| | const input = this.parentElement.querySelector('input'); |
| | const icon = this.querySelector('i'); |
| | |
| | if (input.type === 'password') { |
| | input.type = 'text'; |
| | icon.setAttribute('data-feather', 'eye-off'); |
| | } else { |
| | input.type = 'password'; |
| | icon.setAttribute('data-feather', 'eye'); |
| | } |
| | feather.replace(); |
| | }); |
| | }); |
| | |
| | |
| | document.getElementById('loginForm').addEventListener('submit', function(e) { |
| | e.preventDefault(); |
| | |
| | window.location.href = '/dashboard'; |
| | }); |
| | </script> |
| | </body> |
| | </html> |