fix errors and any bugs, Fix Functionality and responsiveness make it full stacked and miulti page. Add colors royal blue.
19ed353 verified | <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Login - PropTech Connect</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <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> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { font-family: 'Inter', sans-serif; } | |
| .gradient-bg { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%); } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 min-h-screen flex items-center justify-center"> | |
| <div class="max-w-md w-full mx-4"> | |
| <div class="bg-white rounded-2xl shadow-xl p-8"> | |
| <div class="text-center mb-8"> | |
| <div class="flex items-center justify-center mb-4"> | |
| <i data-feather="home" class="h-8 w-8 text-blue-700"></i> | |
| <span class="ml-2 text-2xl font-bold text-gray-900">PropTech Connect</span> | |
| </div> | |
| <h2 class="text-2xl font-bold text-gray-900">Welcome Back</h2> | |
| <p class="text-gray-600">Sign in to your account</p> | |
| </div> | |
| <form id="loginForm" class="space-y-6"> | |
| <div> | |
| <label for="email" class="block text-sm font-medium text-gray-700 mb-2">Email Address</label> | |
| <input type="email" id="email" name="email" required | |
| class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-700 focus:border-transparent transition duration-300" | |
| placeholder="Enter your email"> | |
| </div> | |
| <div> | |
| <label for="password" class="block text-sm font-medium text-gray-700 mb-2">Password</label> | |
| <input type="password" id="password" name="password" required | |
| class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-700 focus:border-transparent transition duration-300" | |
| placeholder="Enter your password"> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="remember" name="remember" | |
| class="w-4 h-4 text-blue-700 border-gray-300 rounded focus:ring-blue-700"> | |
| <label for="remember" class="ml-2 text-sm text-gray-600">Remember me</label> | |
| </div> | |
| <a href="forgot-password.html" class="text-sm text-blue-700 hover:text-blue-800">Forgot password?</a> | |
| </div> | |
| <button type="submit" | |
| class="w-full bg-blue-700 text-white py-3 px-4 rounded-lg font-semibold hover:bg-blue-800 transition duration-300"> | |
| Sign In | |
| </button> | |
| </form> | |
| <div class="mt-6 text-center"> | |
| <p class="text-gray-600">Don't have an account? | |
| <a href="register.html" class="text-blue-700 font-semibold hover:text-blue-800">Sign up</a> | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| document.getElementById('loginForm').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| // Simulate login process | |
| const email = document.getElementById('email').value; | |
| const password = document.getElementById('password').value; | |
| if (email && password) { | |
| // Store user session | |
| localStorage.setItem('userLoggedIn', 'true'); | |
| localStorage.setItem('userEmail', email); | |
| window.location.href = 'dashboard.html'; | |
| } | |
| }); | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> |