-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
392 lines (341 loc) · 14.4 KB
/
form.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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./assets/icons/altschool-favicon.svg" type="image/x-icon">
<title>AltSchool | Signup</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
min-height: 100vh;
display: flex;
background-color: #ffffff;
color: #1A202C;
}
.left-section {
display: none;
}
.right-section {
width: 100%;
background-color: #ffffff;
padding: 1rem;
min-height: 100vh;
}
.signup-header {
margin-bottom: 0.5rem;
margin-top: 3rem;
}
.signup-header h1 {
color: #1A202C;
margin-bottom: 0.875rem;
}
.signup-header p {
color: #666;
margin-bottom: 2rem;
font-size: 1rem;
}
.form-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1.25rem;
}
.form-group {
display: flex;
flex-direction: column;
}
.form-group.full-width {
grid-column: 1 / -1;
}
.form-group label {
font-size: 0.875rem;
color: #1A202C;
margin-bottom: 0.5rem;
}
.form-group input,
.form-group select {
padding: 0.75rem;
border: 1px solid #e5e5e5;
border-radius: 4px;
font-size: 0.875rem;
width: 100%;
transition: all ease 0.5ms;
}
.form-group input:focus,
.form-group select:focus {
outline: 2px solid #0367F2;
outline-offset: 1px;
}
.terms {
margin: 1.5rem 0;
font-size: 0.875rem;
color: #666;
}
.terms a {
color: #0367f2;
text-decoration: none;
}
.signup-button {
width: 100%;
padding: 0.8rem;
background-color: #0367f2;
color: white;
border: none;
border-radius: 4px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.2s;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.signup-button:hover {
opacity: 0.8;
}
.login-link {
text-align: right;
padding: 1rem 0;
font-size: 0.875rem;
font-weight: bold;
color: #1A202C;
}
.login-link a {
color: #0367f2;
text-decoration: none;
margin-left: 0.25rem;
}
/* For tablets */
@media (min-width: 768px) {
.right-section {
padding: 2rem 4rem;
}
.signup-header {
margin-top: 2rem;
}
.signup-header h1 {
font-size: 2rem;
}
.login-link {
position: absolute;
top: 2rem;
right: 2rem;
}
.form-grid {
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
}
}
/* For desktops */
@media (min-width: 1024px) {
.left-section {
display: flex;
width: 45%;
background-color: #fffcf8;
padding: 2rem;
flex-direction: column;
justify-content: space-between;
}
.illustration {
max-width: 300px;
margin: 5rem 2rem auto;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.illustration img {
width: 90%;
height: auto;
object-fit: contain;
}
.heading {
font-size: 2.5rem;
color: #1a1a1a;
text-align: center;
margin: 2rem 0;
font-weight: 600;
line-height: 1.2;
}
.social-links {
text-align: center;
margin-bottom: 1rem;
}
.social-links a {
margin: 0 0.5rem;
text-decoration: none;
}
.copyright {
text-align: center;
font-size: 0.875rem;
font-weight: bold;
color: #1A202C;
}
.right-section {
width: 55%;
}
}
/* For large screen desktops */
@media (min-width: 1200px) {
.right-section {
padding: 2rem 6rem;
}
.illustration {
max-width: 500px;
}
}
</style>
</head>
<body>
<section class="left-section">
<div>
<div class="illustration">
<img src="./assets/images/edu-illustration.jpg" alt="">
</div>
<h2 class="heading">Learn highly sought after skills without hassle.</h2>
</div>
<div>
<div class="social-links">
<a href="https://twitter.com/altschoolafrica" target="_blank" rel="noopener noreferrer"
aria-label="Visit Twitter page">
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="20" height="20" viewBox="0,0,256,256"
aria-hidden="true">
<g fill="#0367f2" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt"
stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0"
font-family="none" font-weight="none" font-size="none" text-anchor="none"
style="mix-blend-mode: normal">
<g transform="scale(8.53333,8.53333)">
<path
d="M26.37,26l-8.795,-12.822l0.015,0.012l7.93,-9.19h-2.65l-6.46,7.48l-5.13,-7.48h-6.95l8.211,11.971l-0.001,-0.001l-8.66,10.03h2.65l7.182,-8.322l5.708,8.322zM10.23,6l12.34,18h-2.1l-12.35,-18z">
</path>
</g>
</g>
</svg>
</a>
<a href="https://www.instagram.com/altschoolafrica" target="_blank" rel="noopener noreferrer"
aria-label="Visit Instagram page">
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="20" height="20" viewBox="0,0,256,256"
aria-hidden="true">
<g fill="#0367f2" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt"
stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0"
font-family="none" font-weight="none" font-size="none" text-anchor="none"
style="mix-blend-mode: normal">
<g transform="scale(8.53333,8.53333)">
<path
d="M9.99805,3c-3.859,0 -6.99805,3.14195 -6.99805,7.00195v10c0,3.859 3.14195,6.99805 7.00195,6.99805h10c3.859,0 6.99805,-3.14195 6.99805,-7.00195v-10c0,-3.859 -3.14195,-6.99805 -7.00195,-6.99805zM22,7c0.552,0 1,0.448 1,1c0,0.552 -0.448,1 -1,1c-0.552,0 -1,-0.448 -1,-1c0,-0.552 0.448,-1 1,-1zM15,9c3.309,0 6,2.691 6,6c0,3.309 -2.691,6 -6,6c-3.309,0 -6,-2.691 -6,-6c0,-3.309 2.691,-6 6,-6zM15,11c-2.20914,0 -4,1.79086 -4,4c0,2.20914 1.79086,4 4,4c2.20914,0 4,-1.79086 4,-4c0,-2.20914 -1.79086,-4 -4,-4z">
</path>
</g>
</g>
</svg>
</a>
<a href="https://www.facebook.com/AltSchoolAfrica" target="_blank" rel="noopener noreferrer"
aria-label="Visit Facebook page">
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="20" height="20" viewBox="0,0,256,256"
aria-hidden="true">
<g fill="#0367f2" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt"
stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0"
font-family="none" font-weight="none" font-size="none" text-anchor="none"
style="mix-blend-mode: normal">
<g transform="scale(8.53333,8.53333)">
<path
d="M15,3c-6.627,0 -12,5.373 -12,12c0,6.016 4.432,10.984 10.206,11.852v-8.672h-2.969v-3.154h2.969v-2.099c0,-3.475 1.693,-5 4.581,-5c1.383,0 2.115,0.103 2.461,0.149v2.753h-1.97c-1.226,0 -1.654,1.163 -1.654,2.473v1.724h3.593l-0.487,3.154h-3.106v8.697c5.857,-0.794 10.376,-5.802 10.376,-11.877c0,-6.627 -5.373,-12 -12,-12z">
</path>
</g>
</g>
</svg>
</a>
<a href="https://www.linkedin.com/school/altschool-africa" target="_blank"
aria-label="Visit LinkedIn page">
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="20" height="20" viewBox="0,0,256,256"
aria-hidden="true">
<g fill="#0367f2" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt"
stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0"
font-family="none" font-weight="none" font-size="none" text-anchor="none"
style="mix-blend-mode: normal">
<g transform="scale(10.66667,10.66667)">
<path
d="M21,3h-18v18h18zM9,17h-2.523v-7h2.523zM7.694,8.717c-0.771,0 -1.286,-0.514 -1.286,-1.2c0,-0.686 0.514,-1.2 1.371,-1.2c0.771,0 1.286,0.514 1.286,1.2c0,0.686 -0.514,1.2 -1.371,1.2zM18,17h-2.442v-3.826c0,-1.058 -0.651,-1.302 -0.895,-1.302c-0.244,0 -1.058,0.163 -1.058,1.302c0,0.163 0,3.826 0,3.826h-2.523v-7h2.523v0.977c0.325,-0.57 0.976,-0.977 2.197,-0.977c1.221,0 2.198,0.977 2.198,3.174z">
</path>
</g>
</g>
</svg>
</a>
</div>
<p class="copyright">2025 © AltSchool Africa. All rights reserved.</p>
</div>
</section>
<section class="right-section">
<div class="login-link">
Already an AltScholar?<a href="#">Sign In!</a>
</div>
<div class="signup-header">
<h1>Signup</h1>
<p>Take the next steps to apply at AltSchool Africa</p>
</div>
<form action="post">
<div class="form-grid">
<div class="form-group">
<label for="firstName">First Name</label>
<input type="text" id="firstName" placeholder="First Name" autocomplete="given-name" required>
</div>
<div class="form-group">
<label for="lastName">Last Name</label>
<input type="text" id="lastName" placeholder="Last Name" autocomplete="family-name" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" placeholder="Email" autocomplete="email" required>
</div>
<div class="form-group">
<label for="gender">Gender</label>
<select id="gender" required>
<option value="">Select gender</option>
<option value="male">Male</option>
<option value="female">Female</option>
</select>
</div>
<div class="form-group">
<label for="dob">Date of Birth</label>
<input type="date" id="dob" autocomplete="bday" required>
</div>
<div class="form-group">
<label for="phone">Phone Number</label>
<input type="tel" id="phone" placeholder="Phone Number" autocomplete="tel" required>
</div>
<div class="form-group">
<label for="country">Country of Residence</label>
<input type="text" id="country" placeholder="Country of Residence" autocomplete="country-name" required>
</div>
<div class="form-group">
<label for="state">State of Residence</label>
<input type="text" id="state" placeholder="State of Residence" autocomplete="address-level1" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" placeholder="Password" required>
</div>
<div class="form-group">
<label for="confirmPassword">Confirm Password</label>
<input type="password" id="confirmPassword" placeholder="Confirm Password" required>
</div>
<div class="form-group full-width">
<label for="referral">How did you hear about us?</label>
<input type="text" id="referral" placeholder="Optional: Let us know how you found us">
</div>
</div>
<div class="terms">
By clicking continue, I agree to <a href="#">Terms of Use</a> and acknowledge that I have read the <a
href="#">Privacy Policy</a>.
</div>
<button type="submit" class="signup-button">
Signup <span>→</span>
</button>
</form>
</section>
</body>
</html>