|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>Crafty Configurator Hub | Login</title> |
|
|
<link rel="icon" type="image/x-icon" href="/static/favicon.ico"> |
|
|
<script src="https://cdn.tailwindcss.com"></script> |
|
|
<script src="https://unpkg.com/feather-icons"></script> |
|
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
|
|
<style> |
|
|
.auth-bg { |
|
|
background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
|
|
} |
|
|
.card-glow { |
|
|
box-shadow: 0 10px 30px -5px rgba(102, 126, 234, 0.5); |
|
|
} |
|
|
</style> |
|
|
</head> |
|
|
<body class="min-h-screen flex items-center justify-center auth-bg"> |
|
|
<div class="max-w-md w-full mx-4 bg-white rounded-xl overflow-hidden shadow-xl card-glow"> |
|
|
<div class="px-8 py-12"> |
|
|
<div class="text-center mb-10"> |
|
|
<h1 class="text-3xl font-bold text-gray-800 mb-2">Welcome Back!</h1> |
|
|
<p class="text-gray-600">Sign in to Streamline Your Submission</p> |
|
|
</div> |
|
|
|
|
|
<form id="loginForm" class="space-y-6"> |
|
|
<div class="space-y-2"> |
|
|
<label for="email" class="block text-sm font-medium text-gray-700">Email</label> |
|
|
<div class="relative"> |
|
|
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> |
|
|
<i data-feather="mail" class="text-gray-400"></i> |
|
|
</div> |
|
|
<input type="email" id="email" name="email" required |
|
|
class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" |
|
|
placeholder="[email protected]"> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="space-y-2"> |
|
|
<label for="password" class="block text-sm font-medium text-gray-700">Password</label> |
|
|
<div class="relative"> |
|
|
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> |
|
|
<i data-feather="lock" class="text-gray-400"></i> |
|
|
</div> |
|
|
<input type="password" id="password" name="password" required |
|
|
class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" |
|
|
placeholder="••••••••"> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="flex items-center justify-between"> |
|
|
<div class="flex items-center"> |
|
|
<input id="remember-me" name="remember-me" type="checkbox" |
|
|
class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded"> |
|
|
<label for="remember-me" class="ml-2 block text-sm text-gray-700">Remember me</label> |
|
|
</div> |
|
|
|
|
|
<div class="text-sm"> |
|
|
<a href="#" class="font-medium text-indigo-600 hover:text-indigo-500">Forgot password?</a> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div> |
|
|
<button type="submit" |
|
|
class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition-all duration-200"> |
|
|
Sign in |
|
|
</button> |
|
|
</div> |
|
|
</form> |
|
|
|
|
|
<div class="mt-6 text-center"> |
|
|
<p class="text-sm text-gray-600"> |
|
|
Don't have an account? |
|
|
<a href="#" class="font-medium text-indigo-600 hover:text-indigo-500">Contact Us Here</a> |
|
|
</p> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<script> |
|
|
feather.replace(); |
|
|
|
|
|
document.getElementById('loginForm').addEventListener('submit', function(e) { |
|
|
e.preventDefault(); |
|
|
|
|
|
window.location.href = 'products.html'; |
|
|
}); |
|
|
</script> |
|
|
</body> |
|
|
</html> |
|
|
|