authflow-groove / index.html
atulkumar0's picture
color is bad and its not fully dark mode
3b09cf2 verified
Raw History Blame Contribute Delete
5.98 kB
<!DOCTYPE html>
<html lang="en" class="h-full">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AuthFlow Groove | Login</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
darkMode: 'selector',
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
50: '#eef2ff',
100: '#e0e7ff',
500: '#6366f1',
600: '#4f46e5',
700: '#4338ca',
},
secondary: {
50: '#ecfdf5',
100: '#d1fae5',
500: '#10b981',
600: '#059669',
700: '#047857',
},
dark: {
800: '#1e293b',
700: '#334155',
600: '#475569',
500: '#64748b',
}
}
}
}
}
</script>
</head>
<body class="min-h-full bg-gradient-to-br from-primary-50 to-secondary-50 dark:bg-gradient-to-br dark:from-gray-900 dark:to-gray-800 flex items-center justify-center p-4 transition-colors duration-300">
<button id="themeToggle" class="absolute top-4 right-4 p-2 rounded-lg bg-white dark:bg-gray-800 shadow-md">
<i data-feather="moon" class="text-gray-700 dark:text-yellow-300"></i>
</button>
<main class="w-full max-w-md">
<div class="bg-white rounded-2xl shadow-xl overflow-hidden transition-all duration-300">
<!-- Auth Header -->
<div class="bg-gradient-to-r from-primary-500 to-secondary-500 p-8 text-center dark:from-primary-600 dark:to-secondary-600">
<i data-feather="lock" class="w-12 h-12 mx-auto text-white"></i>
<h1 class="text-2xl font-bold text-white mt-4">Welcome Back</h1>
<p class="text-primary-100 mt-2">Sign in to your account</p>
</div>
<!-- Auth Form -->
<form class="p-8 space-y-6">
<div class="space-y-4">
<div class="relative">
<i data-feather="mail" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
<input
type="email"
placeholder="Email Address"
class="w-full pl-10 pr-4 py-3 rounded-lg border border-gray-200 focus:border-primary-500 focus:ring-2 focus:ring-primary-100 outline-none transition dark:focus:border-primary-300 dark:focus:ring-primary-300/20"
required
>
</div>
<div class="relative">
<i data-feather="key" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
<input
type="password"
placeholder="Password"
class="w-full pl-10 pr-4 py-3 rounded-lg border border-gray-200 focus:border-primary-500 focus:ring-2 focus:ring-primary-100 outline-none transition"
required
>
</div>
</div>
<div class="flex items-center justify-between">
<label class="flex items-center">
<input type="checkbox" class="rounded text-primary-500 focus:ring-primary-500">
<span class="ml-2 text-sm text-gray-600">Remember me</span>
</label>
<a href="#" class="text-sm text-primary-500 hover:text-primary-700">Forgot password?</a>
</div>
<button
type="submit"
class="w-full bg-gradient-to-r from-primary-500 to-secondary-500 text-white py-3 px-4 rounded-lg font-medium hover:from-primary-600 hover:to-secondary-600 transition-all shadow-md hover:shadow-lg dark:from-primary-600 dark:to-secondary-600 dark:hover:from-primary-700 dark:hover:to-secondary-700"
>
Sign In
</button>
</form>
<!-- Auth Footer -->
<div class="px-8 py-6 bg-gray-50 text-center border-t border-gray-100 dark:bg-gray-800 dark:border-gray-700">
<p class="text-gray-600 dark:text-gray-300">Don't have an account?
<a href="#" class="text-primary-500 font-medium hover:text-primary-700 dark:text-primary-400 dark:hover:text-primary-300">Sign up</a>
</p>
</div>
</div>
<!-- Social Login -->
<div class="mt-6 text-center">
<p class="text-gray-500 mb-4">Or continue with</p>
<div class="flex justify-center space-x-4">
<button class="w-12 h-12 rounded-full bg-white shadow-md flex items-center justify-center hover:shadow-lg transition dark:bg-gray-700 dark:hover:bg-gray-600">
<i data-feather="github" class="text-gray-700 dark:text-gray-200"></i>
</button>
<button class="w-12 h-12 rounded-full bg-white shadow-md flex items-center justify-center hover:shadow-lg transition dark:bg-gray-700 dark:hover:bg-gray-600">
<i data-feather="twitter" class="text-blue-400 dark:text-blue-300"></i>
</button>
<button class="w-12 h-12 rounded-full bg-white shadow-md flex items-center justify-center hover:shadow-lg transition dark:bg-gray-700 dark:hover:bg-gray-600">
<i data-feather="facebook" class="text-blue-600 dark:text-blue-400"></i>
</button>
</div>
</div>
</main>
<script>feather.replace();</script>
<script src="script.js"></script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>