geaz21's picture
connect the login and signup page to index
e986245 verified
Raw History Blame Contribute Delete
4.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - PipTrack</title>
<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>
.gradient-bg {
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}
.auth-card {
backdrop-filter: blur(10px);
background-color: rgba(17, 24, 39, 0.8);
}
</style>
</head>
<body class="gradient-bg min-h-screen flex items-center justify-center p-4">
<div class="auth-card rounded-xl border border-gray-700 p-8 w-full max-w-md">
<div class="text-center mb-8">
<div class="flex justify-center mb-4">
<i data-feather="trending-up" class="text-yellow-400" width="40" height="40"></i>
</div>
<h1 class="text-2xl font-bold mb-2">Welcome Back to PipTrack</h1>
<p class="text-gray-400">Log in to access your trading journal</p>
</div>
<form class="space-y-6">
<div>
<label for="email" class="block text-sm font-medium mb-2">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-500" width="18" height="18"></i>
</div>
<input type="email" id="email" class="bg-gray-800 border border-gray-700 text-white rounded-lg focus:ring-yellow-400 focus:border-yellow-400 block w-full pl-10 p-2.5" placeholder="your@email.com" required>
</div>
</div>
<div>
<label for="password" class="block text-sm font-medium mb-2">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-500" width="18" height="18"></i>
</div>
<input type="password" id="password" class="bg-gray-800 border border-gray-700 text-white rounded-lg focus:ring-yellow-400 focus:border-yellow-400 block w-full pl-10 p-2.5" placeholder="••••••••" required>
</div>
<div class="flex justify-end mt-2">
<a href="#" class="text-sm text-yellow-400 hover:underline">Forgot password?</a>
</div>
</div>
<button type="submit" class="w-full bg-yellow-400 hover:bg-yellow-500 text-gray-900 font-bold py-3 px-4 rounded-lg transition">
Login
</button>
<div class="text-center text-sm text-gray-400">
Don't have an account? <a href="signup.html" class="text-yellow-400 hover:underline">Sign up</a> or <a href="index.html" class="text-yellow-400 hover:underline">Return Home</a>
</div>
<div class="relative my-6">
<div class="absolute inset-0 flex items-center">
<div class="w-full border-t border-gray-700"></div>
</div>
<div class="relative flex justify-center text-sm">
<span class="px-2 bg-gray-800 text-gray-400">Or continue with</span>
</div>
</div>
<div class="grid grid-cols-2 gap-4">
<button type="button" class="flex items-center justify-center py-2 px-4 bg-gray-800 hover:bg-gray-700 rounded-lg transition">
<i data-feather="github" class="mr-2" width="16" height="16"></i>
GitHub
</button>
<button type="button" class="flex items-center justify-center py-2 px-4 bg-gray-800 hover:bg-gray-700 rounded-lg transition">
<i data-feather="google" class="mr-2" width="16" height="16"></i>
Google
</button>
</div>
</form>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
feather.replace();
});
</script>
</body>
</html>