undefined / login.html
EricAdams3d188's picture
Make everything actually work make different pages forward login of the movie player everything makes it actually work Make a dashboard where I can upload my own songs to the website
92e28a6 verified
Raw History Blame Contribute Delete
3.83 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login | Groovy Tunes Explorer</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>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #1DB954 0%, #191414 100%);
color: #ffffff;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.login-box {
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(10px);
border-radius: 16px;
padding: 40px;
width: 100%;
max-width: 400px;
}
.input-field {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
transition: all 0.3s ease;
}
.input-field:focus {
background: rgba(255, 255, 255, 0.15);
border-color: #1DB954;
}
</style>
</head>
<body>
<div class="login-box">
<div class="text-center mb-8">
<i data-feather="music" class="text-green-500 h-12 w-12 mx-auto"></i>
<h1 class="text-3xl font-bold mt-4">Welcome Back</h1>
<p class="text-gray-300 mt-2">Login to your Groovy Tunes account</p>
</div>
<form id="loginForm" class="space-y-6">
<div>
<label for="email" class="block text-sm font-medium text-gray-300 mb-1">Email</label>
<input type="email" id="email" required class="w-full px-4 py-3 rounded-lg input-field text-white focus:outline-none">
</div>
<div>
<label for="password" class="block text-sm font-medium text-gray-300 mb-1">Password</label>
<input type="password" id="password" required class="w-full px-4 py-3 rounded-lg input-field text-white focus:outline-none">
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<input type="checkbox" id="remember" class="h-4 w-4 text-green-500 focus:ring-green-500 border-gray-300 rounded">
<label for="remember" class="ml-2 block text-sm text-gray-300">Remember me</label>
</div>
<a href="#" class="text-sm text-green-500 hover:text-green-400">Forgot password?</a>
</div>
<button type="submit" class="w-full bg-green-500 hover:bg-green-600 text-white font-medium py-3 px-4 rounded-lg transition duration-200">
Login
</button>
</form>
<p class="text-center text-gray-300 mt-6">
Don't have an account? <a href="register.html" class="text-green-500 hover:text-green-400 font-medium">Sign up</a>
</p>
</div>
<script>
feather.replace();
document.getElementById('loginForm').addEventListener('submit', function(e) {
e.preventDefault();
const email = document.getElementById('email').value;
const password = document.getElementById('password').value;
// Here you would normally make an API call to authenticate
console.log('Login attempt with:', email, password);
// For demo purposes, redirect to dashboard after login
window.location.href = 'dashboard.html';
});
</script>
</body>
</html>