-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
99 lines (91 loc) · 5.61 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NST-SDC</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="min-h-screen flex items-center justify-center bg-gradient-to-br from-black via-gray-900 to-green-900 text-white">
<div class="w-full max-w-5xl p-6 bg-gradient-to-b from-gray-800 to-black rounded-3xl shadow-2xl border border-green-500 flex gap-8">
<!-- Left Section -->
<div class="w-1/2 flex flex-col justify-center">
<h1 class="text-4xl font-extrabold text-green-400 mb-6">
Yo, Welcome to NST-SDC 🚀
</h1>
<p class="text-gray-400 text-lg mb-6 leading-relaxed">
Ready to level up? Join the squad and unlock your full tech potential. Register now and get exclusive access to all the cool stuff we’ve got going on.
</p>
<ul class="list-none text-gray-300 text-sm mb-6">
<li class="flex items-center mb-4">
<span class="w-3 h-3 bg-green-400 rounded-full mr-3"></span>
Meet the brightest minds and tech enthusiasts 🤝
</li>
<li class="flex items-center mb-4">
<span class="w-3 h-3 bg-pink-400 rounded-full mr-3"></span>
Dive into a sea of resources that’ll make you smarter 🔥
</li>
<li class="flex items-center mb-4">
<span class="w-3 h-3 bg-yellow-400 rounded-full mr-3"></span>
Show off your skills and get noticed by the right people 💯
</li>
</ul>
<p class="text-sm text-gray-500 italic">
Already in the club?
<a href="login.html" class="text-green-400 hover:underline">Log in and get back to it!</a>
</p>
</div>
<!-- Right Section -->
<form id="registerForm" class="w-1/2 flex flex-col gap-4">
<div>
<label for="name" class="block text-sm font-medium mb-1">Full Name</label>
<input type="text" id="name" name="name" placeholder="Enter Your Full Name" required
class="w-full px-4 py-2 bg-black text-green-300 rounded-xl border border-gray-700 focus:ring-2 focus:ring-green-500 focus:outline-none shadow-md">
</div>
<div>
<label for="username" class="block text-sm font-medium mb-1">Username</label>
<input type="text" id="username" name="username" placeholder="Enter Your Username" required
class="w-full px-4 py-2 bg-black text-green-300 rounded-xl border border-gray-700 focus:ring-2 focus:ring-green-500 focus:outline-none shadow-md">
</div>
<div>
<label for="email" class="block text-sm font-medium mb-1">Email Address</label>
<input type="email" id="email" name="email" placeholder="Enter Your Email" required
class="w-full px-4 py-2 bg-black text-green-300 rounded-xl border border-gray-700 focus:ring-2 focus:ring-green-500 focus:outline-none shadow-md">
</div>
<div>
<label for="github-url" class="block text-sm font-medium mb-1">GitHub Profile URL</label>
<input type="url" id="github-url" name="github-url" placeholder="Enter Your GitHub URL (Optional)"
class="w-full px-4 py-2 bg-black text-green-300 rounded-xl border border-gray-700 focus:ring-2 focus:ring-green-500 focus:outline-none shadow-md">
</div>
<div>
<label for="linkedin-url" class="block text-sm font-medium mb-1">LinkedIn Profile URL</label>
<input type="url" id="linkedin-url" name="linkedin-url" placeholder="Enter Your LinkedIn URL (Optional)"
class="w-full px-4 py-2 bg-black text-green-300 rounded-xl border border-gray-700 focus:ring-2 focus:ring-green-500 focus:outline-none shadow-md">
</div>
<div class="flex gap-4">
<div class="flex-1">
<label for="password" class="block text-sm font-medium mb-1">Password</label>
<input type="password" id="password" name="password" placeholder="Enter Your Password" required
class="w-full px-4 py-2 bg-black text-green-300 rounded-xl border border-gray-700 focus:ring-2 focus:ring-green-500 focus:outline-none shadow-md">
</div>
<div class="flex-1">
<label for="confirm-password" class="block text-sm font-medium mb-1">Confirm Password</label>
<input type="password" id="confirm-password" name="confirm-password" placeholder="Confirm Your Password" required
class="w-full px-4 py-2 bg-black text-green-300 rounded-xl border border-gray-700 focus:ring-2 focus:ring-green-500 focus:outline-none shadow-md">
</div>
</div>
<div class="mt-4">
<button type="submit"
class="w-full py-3 bg-gradient-to-r from-green-500 via-green-400 to-green-700 text-black font-bold rounded-xl hover:opacity-90 transition-opacity shadow-md">Create Account
</button>
</div>
</form>
</div>
<script>
document.getElementById('registerForm').addEventListener('submit', (e) => {
e.preventDefault();
window.location.href = '/frontend/home.html'; // Redirects to the home page on form submission
});
</script>
</body>
</html>