devusman's picture
still issue in header and footer kindly fix them
cff3429 verified
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CryptoPulse Pro - Register</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="components/cta-banner.js"></script>
</head>
<body class="bg-gray-900 text-white font-sans flex flex-col min-h-screen">
<custom-navbar></custom-navbar>
<!-- Hero -->
<section class="relative overflow-hidden py-16 bg-gradient-to-br from-purple-900/40 to-blue-900/40">
<div class="absolute inset-0 opacity-20">
<div class="absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==')]"></div>
</div>
<div class="relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h1 class="text-3xl md:text-4xl lg:text-5xl font-bold mb-6">Create Your Account</h1>
<p class="text-lg text-gray-400 max-w-3xl mx-auto">Join thousands of traders who trust CryptoPulse Pro with their digital assets</p>
</div>
</section>
<!-- Registration Form -->
<section class="py-16 bg-gray-900">
<div class="max-w-md mx-auto px-4 sm:px-6 lg:px-8">
<div class="bg-gray-800 rounded-xl p-8 border border-gray-700 shadow-2xl">
<h2 class="text-2xl font-bold mb-8 text-center">Get Started in Minutes</h2>
<!-- Social Login Buttons -->
<div class="mb-6">
<p class="text-center text-gray-400 mb-4">Or register with</p>
<div class="grid grid-cols-3 gap-4">
<a href="#" class="bg-gray-700 hover:bg-gray-600 py-3 px-4 rounded-lg flex items-center justify-center transition-all duration-300">
<i data-feather="google" class="w-5 h-5 mr-2"></i>
<span>Google</span>
</a>
<a href="#" class="bg-gray-700 hover:bg-gray-600 py-3 px-4 rounded-lg flex items-center justify-center transition-all duration-300">
<i data-feather="facebook" class="w-5 h-5 mr-2"></i>
<span>Facebook</span>
</a>
<a href="#" class="bg-gray-700 hover:bg-gray-600 py-3 px-4 rounded-lg flex items-center justify-center transition-all duration-300">
<i data-feather="twitter" class="w-5 h-5 mr-2"></i>
<span>Twitter</span>
</a>
</div>
</div>
<!-- Divider -->
<div class="flex items-center my-6">
<div class="flex-grow border-t border-gray-700"></div>
<span class="mx-4 text-gray-500">or</span>
<div class="flex-grow border-t border-gray-700"></div>
</div>
<!-- Registration Form -->
<form id="registrationForm" class="space-y-6">
<div>
<label for="regEmail" class="block text-sm font-medium text-gray-400 mb-1">Email Address</label>
<input type="email" id="regEmail" name="email" required class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent">
</div>
<div>
<label for="regPassword" class="block text-sm font-medium text-gray-400 mb-1">Password</label>
<div class="relative">
<input type="password" id="regPassword" name="password" required class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent">
<button type="button" class="absolute right-3 top-3 text-gray-500 hover:text-gray-300 toggle-password">
<i data-feather="eye" class="w-5 h-5"></i>
</button>
</div>
<div class="mt-2 text-xs text-gray-500">
<p>Password must contain:</p>
<ul class="list-disc list-inside">
<li>At least 8 characters</li>
<li>One uppercase letter</li>
<li>One number</li>
<li>One special character</li>
</ul>
</div>
</div>
<div>
<label for="regConfirmPassword" class="block text-sm font-medium text-gray-400 mb-1">Confirm Password</label>
<div class="relative">
<input type="password" id="regConfirmPassword" name="confirmPassword" required class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent">
<button type="button" class="absolute right-3 top-3 text-gray-500 hover:text-gray-300 toggle-password">
<i data-feather="eye" class="w-5 h-5"></i>
</button>
</div>
</div>
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="terms" name="terms" type="checkbox" required class="w-4 h-4 bg-gray-700 border-gray-600 rounded focus:ring-purple-500 focus:ring-2">
</div>
<label for="terms" class="ml-3 block text-sm text-gray-400">
I agree to the <a href="/terms" class="text-purple-400 hover:underline">Terms of Service</a> and <a href="/privacy" class="text-purple-400 hover:underline">Privacy Policy</a>
</label>
</div>
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="newsletter" name="newsletter" type="checkbox" class="w-4 h-4 bg-gray-700 border-gray-600 rounded focus:ring-purple-500 focus:ring-2">
</div>
<label for="newsletter" class="ml-3 block text-sm text-gray-400">
Receive product updates and marketing emails
</label>
</div>
<div>
<button type="submit" class="w-full bg-gradient-to-r from-purple-500 to-blue-500 hover:from-purple-600 hover:to-blue-600 text-white font-bold py-3 px-6 rounded-lg transition-all duration-300">
Create Account
</button>
</div>
</form>
<div class="mt-6 text-center">
<p class="text-sm text-gray-500">
Already have an account? <a href="/login" class="text-purple-400 hover:underline font-medium">Sign In</a>
</p>
</div>
</div>
<!-- Security Info -->
<div class="mt-8 bg-gray-800 rounded-xl p-6 border border-gray-700">
<div class="flex items-start">
<div class="bg-purple-500/20 p-3 rounded-lg mr-4">
<i data-feather="shield" class="w-6 h-6 text-purple-400"></i>
</div>
<div>
<h3 class="text-lg font-bold mb-2">Your Security is Our Priority</h3>
<p class="text-gray-400 text-sm">
We use bank-level encryption and security protocols to protect your account and assets. All data is encrypted both in transit and at rest.
</p>
</div>
</div>
</div>
</div>
</section>
<custom-cta-banner></custom-cta-banner>
<custom-footer></custom-footer>
<script src="script.js"></script>
<script>
feather.replace();
// Password toggle functionality
document.querySelectorAll('.toggle-password').forEach(button => {
button.addEventListener('click', function() {
const input = this.parentElement.querySelector('input');
const icon = this.querySelector('i');
if (input.type === 'password') {
input.type = 'text';
icon.setAttribute('data-feather', 'eye-off');
} else {
input.type = 'password';
icon.setAttribute('data-feather', 'eye');
}
feather.replace();
});
});
// Form submission
document.getElementById('registrationForm').addEventListener('submit', function(e) {
e.preventDefault();
// Here you would typically send the form data to your server
window.location.href = '/dashboard'; // Redirect after successful registration
});
</script>
</body>
</html>