-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDonorSignUp.html
205 lines (180 loc) · 11.5 KB
/
DonorSignUp.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LIFE FLOW</title>
<link rel="icon" href="assets/Blood_Bank_Favicon.webp" type="image/webp">
<!-- <link href="Home.css" rel="stylesheet"> -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<body>
<nav class="flex justify-between items-center bg-red-600 p-4">
<!-- Logo and Title Section -->
<div class="flex items-center space-x-3">
<i class="fas fa-tint text-white text-4xl"></i>
<p class="text-3xl font-semibold text-white">Life Flow</p>
</div>
<!-- Navigation Links Section -->
<ul class="flex space-x-6">
<li class="flex items-center space-x-2">
<i class="fas fa-home text-white"></i>
<a href="index.html" class="text-white text-lg font-medium hover:text-red-200 transition-colors">Home</a>
</li>
<li class="flex items-center space-x-2">
<i class="fas fa-info-circle text-white"></i>
<a href="AboutUs.html" class="text-white text-lg font-medium hover:text-red-200 transition-colors">About
Us</a>
</li>
<li class="flex items-center space-x-2">
<i class="fas fa-search text-white"></i>
<a href="/Blood_Availability_Search.html" class="text-white text-lg font-medium hover:text-red-200 transition-colors">Looking For
Blood</a>
</li>
<div id=" userSection" class="flex items-center space-x-3">
<a href="DonorLogin.html" id="userLink"
class="flex items-center space-x-2 text-white hover:text-red-200 transition-colors">
<img src="assets/user_default.jpeg" alt="User Icon"
class="user-logo w-8 h-8 rounded-full border-2 border-white">
<span id="userName">Guest</span>
</a>
</div>
</nav>
<div class="flex items-center justify-center min-h-screen bg-gradient-to-r from-red-500 via-red-400 to-red-300 py-6 px-4 sm:px-6 lg:px-8">
<!-- Main Container with more width -->
<div class="w-full max-w-4xl bg-white p-10 rounded-3xl shadow-xl relative overflow-hidden">
<!-- Unique Background Design -->
<div class="text-center mb-8">
<h2 class="text-4xl font-extrabold text-red-600">Donor Sign-up</h2>
<p class="mt-2 text-lg text-gray-600">Become a hero and save lives by donating blood.</p>
</div>
<form id="signup-form" class="space-y-6">
<!-- First Name -->
<div class="flex flex-col">
<label for="Fname" class="text-sm font-medium text-gray-700">First Name</label>
<input type="text" id="Fname" name="Fname" placeholder="Enter your first name" required class="mt-2 px-4 py-3 border-2 border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent">
</div>
<!-- Last Name -->
<div class="flex flex-col">
<label for="Lname" class="text-sm font-medium text-gray-700">Last Name</label>
<input type="text" id="Lname" name="Lname" placeholder="Enter your last name" required class="mt-2 px-4 py-3 border-2 border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent">
</div>
<!-- Address -->
<div class="flex flex-col">
<label for="address" class="text-sm font-medium text-gray-700">Address</label>
<input type="text" id="address" name="address" placeholder="Enter your address" required class="mt-2 px-4 py-3 border-2 border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent">
</div>
<!-- Email -->
<div class="flex flex-col">
<label for="email" class="text-sm font-medium text-gray-700">Email Address</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required class="mt-2 px-4 py-3 border-2 border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent">
</div>
<!-- Contact Number -->
<div class="flex flex-col">
<label for="contact-number" class="text-sm font-medium text-gray-700">Contact Number</label>
<input type="tel" id="contact-number" name="contact-number" placeholder="Enter your contact number" required class="mt-2 px-4 py-3 border-2 border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent">
</div>
<!-- User Type -->
<div class="flex flex-col">
<label for="type" class="text-sm font-medium text-gray-700">User Type</label>
<select id="type" name="type" required class="mt-2 px-4 py-3 border-2 border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent">
<option value="donor">Donor</option>
</select>
</div>
<!-- Password -->
<div class="flex flex-col">
<label for="password" class="text-sm font-medium text-gray-700">Password</label>
<input type="password" id="password" name="password" placeholder="Create a password" required class="mt-2 px-4 py-3 border-2 border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent">
</div>
<!-- Confirm Password -->
<div class="flex flex-col">
<label for="confirm-password" class="text-sm font-medium text-gray-700">Confirm Password</label>
<input type="password" id="confirm-password" name="confirm-password" placeholder="Confirm your password" required class="mt-2 px-4 py-3 border-2 border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent">
</div>
<!-- Submit Button -->
<div class="mt-6">
<button type="submit" class="w-full py-3 bg-red-600 text-white font-semibold rounded-xl hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-red-500">
Sign Up
</button>
</div>
</form>
<!-- Login Link -->
<div class="text-center mt-6">
<p class="text-sm text-gray-600">Already have an account? <a href="DonorLogin.html" class="text-red-600 hover:text-red-700 font-semibold">Login here</a></p>
</div>
</div>
</div>
<footer class="bg-gray-800 text-white py-12 w-full">
<div class="px-6 sm:px-12">
<!-- Footer Main Sections -->
<div class="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-8">
<!-- Quick Links -->
<div>
<h3 class="text-lg font-semibold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="index.html" class="text-blue-400 hover:text-blue-600">Home</a></li>
<li><a href="Blood_Availability_Search.html" class="text-blue-400 hover:text-blue-600">Blood Availability</a></li>
<li><a href="Blood_Bank_Directory.html" class="text-blue-400 hover:text-blue-600">Blood Bank Directory</a></li>
<li><a href="Blood_Donation_Camps.html" class="text-blue-400 hover:text-blue-600">Donate Now</a></li>
<li><a href="contactUs.html" class="text-blue-400 hover:text-blue-600">Contact Us</a></li>
</ul>
</div>
<!-- Contact Info -->
<div>
<h3 class="text-lg font-semibold mb-4">Contact Info</h3>
<ul>
<li class="text-sm">Email: <a href="mailto:support@example.com"
class="text-blue-400 hover:text-blue-600">support@example.com</a></li>
<li class="text-sm">Phone: <a href="tel:+1234567890"
class="text-blue-400 hover:text-blue-600">+1 (234) 567-890</a></li>
<li class="text-sm">Address: 123 Street, City, Country</li>
</ul>
</div>
<!-- Follow Us -->
<div>
<h3 class="text-lg font-semibold mb-4">Follow Us</h3>
<div class="flex space-x-4">
<a href="#" class="text-blue-400 hover:text-blue-600" target="_blank" aria-label="Facebook">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="text-blue-400 hover:text-blue-600" target="_blank" aria-label="Twitter">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-blue-400 hover:text-blue-600" target="_blank" aria-label="Instagram">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="text-blue-400 hover:text-blue-600" target="_blank" aria-label="LinkedIn">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</div>
<!-- Legal Information -->
<div>
<h3 class="text-lg font-semibold mb-4">Legal</h3>
<ul class="space-y-2">
<li><a href="#" class="text-blue-400 hover:text-blue-600">Privacy Policy</a></li>
<li><a href="#" class="text-blue-400 hover:text-blue-600">Terms & Conditions</a></li>
<li><a href="#" class="text-blue-400 hover:text-blue-600">Accessibility</a></li>
<li><a href="#" class="text-blue-400 hover:text-blue-600">Cookie Policy</a></li>
</ul>
</div>
</div>
<!-- Footer Bottom Section -->
<div class="mt-8 border-t border-gray-600 pt-6 text-center text-sm">
<p>© 2025 LIFE FLOW Pvt Ltd. All rights reserved.</p>
<p class="text-gray-400">Last Updated: Jan 6, 2025</p>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js"
integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy"
crossorigin="anonymous"></script>
<script src="https://cdn.tailwindcss.com"></script>
<script src="DonorSignUp.js"></script>
</body>
</html>