Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Signup</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> | |
<style> | |
@keyframes float { | |
0%, 100% { | |
transform: translateY(0); | |
} | |
50% { | |
transform: translateY(-20px); | |
} | |
} | |
.floating { | |
animation: float 6s ease-in-out infinite; | |
} | |
.gradient-text { | |
background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899); | |
-webkit-background-clip: text; | |
background-clip: text; | |
color: transparent; | |
} | |
.gradient-bg { | |
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); | |
} | |
.pattern-overlay { | |
background-image: radial-gradient(rgba(0,0,0,0.1) 1px, transparent 1px); | |
background-size: 20px 20px; | |
} | |
.input-effect { | |
transition: all 0.3s ease; | |
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); | |
} | |
.input-effect:focus { | |
transform: translateY(-2px); | |
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | |
} | |
.btn-hover { | |
transition: all 0.3s ease; | |
background-size: 200% auto; | |
} | |
.btn-hover:hover { | |
background-position: right center; | |
transform: translateY(-2px); | |
} | |
body { | |
font-family: 'Poppins', sans-serif; | |
} | |
</style> | |
</head> | |
<body class="gradient-bg min-h-screen flex items-center justify-center p-4"> | |
<div class="absolute top-0 left-0 w-full h-full pattern-overlay"></div> | |
<div class="relative z-10 w-full max-w-md"> | |
<div class="bg-white rounded-3xl shadow-2xl overflow-hidden transform transition-all duration-500 hover:scale-105"> | |
<!-- Decorative elements --> | |
<div class="absolute -top-10 -left-10 w-20 h-20 rounded-full bg-blue-200 opacity-30"></div> | |
<div class="absolute -bottom-10 -right-10 w-24 h-24 rounded-full bg-purple-200 opacity-30"></div> | |
<div class="absolute top-1/4 -right-8 w-16 h-16 rounded-full bg-pink-200 opacity-30 floating"></div> | |
<div class="p-8"> | |
<div class="text-center mb-8"> | |
<h1 class="text-4xl font-bold gradient-text mb-2">Sign Up</h1> | |
<p class="text-gray-600">Join our community today</p> | |
</div> | |
<form class="space-y-6"> | |
<div class="relative"> | |
<input type="text" id="name" class="input-effect w-full px-4 py-3 rounded-lg border border-gray-200 focus:outline-none focus:border-blue-500 transition-all duration-300" placeholder="Full Name" required> | |
<div class="absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none"> | |
<i class="fas fa-user text-gray-400"></i> | |
</div> | |
</div> | |
<div class="relative"> | |
<input type="email" id="email" class="input-effect w-full px-4 py-3 rounded-lg border border-gray-200 focus:outline-none focus:border-blue-500 transition-all duration-300" placeholder="Email Address" required> | |
<div class="absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none"> | |
<i class="fas fa-envelope text-gray-400"></i> | |
</div> | |
</div> | |
<div class="relative"> | |
<input type="password" id="password" class="input-effect w-full px-4 py-3 rounded-lg border border-gray-200 focus:outline-none focus:border-blue-500 transition-all duration-300" placeholder="Password" required> | |
<div class="absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none"> | |
<i class="fas fa-lock text-gray-400"></i> | |
</div> | |
</div> | |
<div class="relative"> | |
<input type="password" id="confirm-password" class="input-effect w-full px-4 py-3 rounded-lg border border-gray-200 focus:outline-none focus:border-blue-500 transition-all duration-300" placeholder="Confirm Password" required> | |
<div class="absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none"> | |
<i class="fas fa-lock text-gray-400"></i> | |
</div> | |
</div> | |
<div class="flex items-center"> | |
<input id="terms" type="checkbox" class="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500" required> | |
<label for="terms" class="ml-2 text-sm text-gray-600">I agree to the <a href="#" class="text-blue-600 hover:underline">Terms and Conditions</a></label> | |
</div> | |
<button type="submit" class="btn-hover w-full py-3 px-4 bg-gradient-to-r from-blue-500 to-purple-600 text-white font-medium rounded-lg hover:shadow-lg transition-all duration-300"> | |
Create Account | |
</button> | |
</form> | |
<div class="mt-6 text-center"> | |
<p class="text-gray-600">Already have an account? <a href="#" class="text-blue-600 font-medium hover:underline">Log In</a></p> | |
</div> | |
<div class="mt-6"> | |
<div class="relative"> | |
<div class="absolute inset-0 flex items-center"> | |
<div class="w-full border-t border-gray-300"></div> | |
</div> | |
<div class="relative flex justify-center text-sm"> | |
<span class="px-2 bg-white text-gray-500">Or sign up with</span> | |
</div> | |
</div> | |
<div class="mt-6 grid grid-cols-3 gap-3"> | |
<a href="#" class="btn-hover w-full py-2 px-4 border border-gray-300 rounded-lg flex items-center justify-center hover:bg-gray-50 transition-all duration-300"> | |
<i class="fab fa-google text-red-500 mr-2"></i> | |
</a> | |
<a href="#" class="btn-hover w-full py-2 px-4 border border-gray-300 rounded-lg flex items-center justify-center hover:bg-gray-50 transition-all duration-300"> | |
<i class="fab fa-facebook-f text-blue-600 mr-2"></i> | |
</a> | |
<a href="#" class="btn-hover w-full py-2 px-4 border border-gray-300 rounded-lg flex items-center justify-center hover:bg-gray-50 transition-all duration-300"> | |
<i class="fab fa-twitter text-blue-400 mr-2"></i> | |
</a> | |
</div> | |
</div> | |
</div> | |
<div class="bg-gray-50 px-8 py-4 rounded-b-3xl"> | |
<p class="text-center text-gray-500 text-sm"> | |
By signing up, you agree to our <a href="#" class="text-blue-600 hover:underline">Privacy Policy</a> and <a href="#" class="text-blue-600 hover:underline">Cookie Policy</a>. | |
</p> | |
</div> | |
</div> | |
</div> | |
<script> | |
// Add some interactive effects | |
document.querySelectorAll('.input-effect').forEach(input => { | |
input.addEventListener('focus', function() { | |
this.parentElement.querySelector('i').classList.remove('text-gray-400'); | |
this.parentElement.querySelector('i').classList.add('text-blue-500'); | |
}); | |
input.addEventListener('blur', function() { | |
this.parentElement.querySelector('i').classList.remove('text-blue-500'); | |
this.parentElement.querySelector('i').classList.add('text-gray-400'); | |
}); | |
}); | |
// Form submission animation | |
const form = document.querySelector('form'); | |
form.addEventListener('submit', function(e) { | |
e.preventDefault(); | |
const button = this.querySelector('button[type="submit"]'); | |
button.innerHTML = 'Creating Account...'; | |
button.classList.add('opacity-75'); | |
// Simulate API call | |
setTimeout(() => { | |
button.innerHTML = 'Account Created!'; | |
button.classList.remove('bg-gradient-to-r', 'from-blue-500', 'to-purple-600'); | |
button.classList.add('bg-green-500'); | |
// Reset after 2 seconds | |
setTimeout(() => { | |
button.innerHTML = 'Create Account'; | |
button.classList.remove('bg-green-500', 'opacity-75'); | |
button.classList.add('bg-gradient-to-r', 'from-blue-500', 'to-purple-600'); | |
}, 2000); | |
}, 1500); | |
}); | |
</script> | |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=djsonic656565/singup" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
</html> |