-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnewsignup.html
191 lines (179 loc) · 4.97 KB
/
newsignup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Create Account</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
/>
<style>
/* General body styling */
body {
font-family: Arial, sans-serif;
background-color: rgba(83, 82, 82, 0.175);
margin: 0;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow-y: hidden;
}
/* Container styling for the form */
.container {
display: flex;
width: 100%;
height: 100vh; /* Full height */
margin: 0 auto;
}
.register-container {
background-color: rgba(255, 255, 255, 0.8); /* White with opacity */
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
width: 25%; /* 1 part of the ratio */
backdrop-filter: blur(10px);
display: flex;
flex-direction: column;
justify-content: center;
margin-right: 10px;
}
h2 {
text-align: center;
color: #333;
}
/* Input container styling */
.input-container {
display: flex;
align-items: center;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 5px;
margin: 15px 0;
padding: 10px;
width: 90%;
}
.input-container i {
margin-right: 10px;
color: #aaa;
}
.input-container input {
width: 100%;
border: none;
outline: none;
padding: 5px;
font-size: 16px;
}
/* Button styling */
button {
width: 80%;
padding: 10px;
background-color: #0911ffd3;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
text-align: center;
margin: 10px 0;
margin-left: 38px;
}
button:hover {
background-color: #5d27ff;
}
/* Right container with image */
.right-container {
flex-grow: 3; /* 3 parts of the ratio */
background: url("https://images.unsplash.com/photo-1620121692029-d088224ddc74?q=80&w=1932&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
no-repeat center center;
background-size: cover;
transition: transform 10s ease;
display: flex;
justify-content: center;
align-items: center;
color: white;
padding: 20px;
height: 100%;
}
.right-container h1 {
font-size: 36px;
text-align: center;
}
.right-container p {
font-size: 18px;
text-align: center;
}
</style>
</head>
<body>
<div class="container">
<!-- Left container with the registration form -->
<div class="register-container">
<h2>Create Account</h2>
<form action="/signup" method="POST">
<div class="input-container">
<i class="fas fa-user"></i>
<input
type="text"
name="first_name"
placeholder="First Name"
required
/>
</div>
<div class="input-container">
<i class="fas fa-user"></i>
<input
type="text"
name="last_name"
placeholder="Last Name"
required
/>
</div>
<div class="input-container">
<i class="fas fa-envelope"></i>
<input type="email" name="email" placeholder="Email" required />
</div>
<div class="input-container">
<i class="fas fa-user"></i>
<input
type="text"
name="username"
placeholder="Username"
required
/>
</div>
<div class="input-container">
<i class="fas fa-lock"></i>
<input
type="password"
name="password"
placeholder="Password"
required
/>
</div>
<div class="input-container">
<i class="fas fa-lock"></i>
<input
type="password"
name="confirm_password"
placeholder="Confirm Password"
required
/>
</div>
<button type="submit">Create Account</button>
</form>
</div>
<!-- Right container with background image and text -->
<div class="right-container">
<div>
<h1>Join Health Connect</h1>
<p>
Experience a unified platform designed to connect you with essential
health services at your college.
</p>
</div>
</div>
</div>
</body>
</html>