-
Notifications
You must be signed in to change notification settings - Fork 2
/
signUp.html
329 lines (308 loc) · 14.1 KB
/
signUp.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sign Up</title>
<!-- Bootstrap 5 CDN -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1"
crossorigin="anonymous"
/>
<!-- Bulma CDN -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"
/>
<!-- Fontawesome Link -->
<script
defer
src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"
></script>
<!-- Link Local CSS -->
<link rel="stylesheet" href="./assets/css/style.css" />
<link rel="stylesheet" href="./assets/css/query.css" />
</head>
<body>
<!-- Navigation Bar -->
<nav
class="navbar navbar-expand-lg py-0 m-0 navbar-light fixed-top bg-white"
>
<div class="container-fluid py-3 px-4 navigation-container">
<img class="navbar-brand" src="./assets/image/Jobber Logo.svg" />
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
<li class="nav-item">
<a
class="nav-link nav-link-transparent"
aria-current="page"
href="index.html"
>Home</a
>
</li>
<li class="nav-item">
<a
class="nav-link nav-link-transparent"
href="#how-it-works-section"
>How it works</a
>
</li>
<li class="nav-item">
<a class="nav-link nav-link-transparent" href="#explore-section"
>Explore</a
>
</li>
<li class="nav-item">
<a class="nav-link nav-link-transparent" href="#about-us-section"
>About us</a
>
</li>
<li class="nav-item">
<a class="nav-link nav-link-transparent" href="./login.html"
>Login</a
>
</li>
<li class="nav-item sign-up-item">
<a
class="nav-link n av-link-transparent sign-up-link"
href="./signUp.html"
style="color: black"
>Sign Up</a
>
</li>
</ul>
</div>
</div>
</nav>
<!-- Message for unsupported screen sizes -->
<h3 class="no-support-device">
Sorry, We will soon support your screen size.
</h3>
<!-- Sign Up Body -->
<div class="container sign-up-container">
<div class="row">
<div class="col-6 col-sm-6 sign-up-image-container">
<img src="./assets/image/Sign Up Image.svg" alt="" />
</div>
<div class="col-12 col-sm-6">
<form action="" class="sign-up-form">
<div class="h4 sign-up-title">Sign Up for Jobber</div>
<!-- Username Input -->
<div class="field">
<label class="label">Username :</label>
<div class="control has-icons-left has-icons-right">
<input
class="input user-name-input"
type="text"
placeholder="Enter Username"
/>
<span class="icon is-small is-left">
<i class="fas fa-user"></i>
</span>
</div>
<ul class="input-requirements hide">
<li>At least 6 characters long</li>
<li>No special characters and numbers</li>
</ul>
<label for="" class="userNameErrorLabel"></label>
</div>
<!-- Password Input -->
<div class="field">
<label class="label">Password :</label>
<div class="control has-icons-left has-icons-right">
<input
class="input password-input"
type="password"
placeholder="Enter Password"
/>
<span class="icon is-small is-left">
<i class="fas fa-unlock"></i>
</span>
</div>
<ul class="input-requirements hide">
<li>
At least 8 characters long (and less than 14 characters)
</li>
<li>Contains at least 1 number</li>
<li>Contains at least 1 lowercase letter</li>
<li>Contains at least 1 uppercase letter</li>
<li>Contains a special character (e.g. @ !)</li>
</ul>
<label for="" class="passwordErrorLabel"></label>
</div>
<!-- Password Confirm Input -->
<div class="field">
<label class="label">Confirm Password</label>
<div class="control has-icons-left has-icons-right">
<input
class="input password-confirm-input"
type="password"
placeholder="Enter Password"
/>
<span class="icon is-small is-left">
<i class="fas fa-unlock"></i>
</span>
</div>
<ul class="input-requirements hide">
<li>
At least 8 characters long (and less than 14 characters)
</li>
<li>Contains at least 1 number</li>
<li>Contains at least 1 lowercase letter</li>
<li>Contains at least 1 uppercase letter</li>
<li>Contains a special character (e.g. @ !)</li>
<li>Must match Password Value</li>
</ul>
<label for="" class="confirmPasswordErrorLabel hide"
>Incorrect</label
>
</div>
<!-- User Type Selection -->
<div class="field">
<div class="control user-type-field">
<label class="radio p-0">
<input type="radio" name="userType" value="seller" checked />
I want to be a seller
</label>
<label class="radio p-0">
<input type="radio" name="userType" value="buyer" />
I want to be a buyer
</label>
</div>
</div>
<!-- Submit Button -->
<input type="submit" value="Sign Up" class="submit-button" />
<p class="redirect">
Already a user? <a href="./login.html">Sign In Here.</a>
</p>
</form>
</div>
</div>
</div>
<!-- Footer Section -->
<footer class="footer mt-3">
<div class="container-fluid">
<h2 class="ms-2">Jobber</h2>
<div class="footer-bottom-container">
<span class="text-muted copy-right"
>© Jobber Freelance. 2021</span
>
<div class="socials-container">
<a class="text-muted socials-icons" href="#">
<svg
width="20"
height="17"
viewBox="0 0 20 17"
xmlns="http://www.w3.org/2000/svg"
class="footer-social-icons"
>
<path
d="M20 1.875C19.25 2.25 18.5 2.375 17.625 2.5C18.5 2 19.125 1.25 19.375 0.25C18.625 0.75 17.75 1 16.75 1.25C16 0.5 14.875 0 13.75 0C11.625 0 9.75 1.875 9.75 4.125C9.75 4.5 9.75 4.75 9.875 5C6.5 4.875 3.375 3.25 1.375 0.75C1 1.375 0.875 2 0.875 2.875C0.875 4.25 1.625 5.5 2.75 6.25C2.125 6.25 1.5 6 0.875 5.75C0.875 7.75 2.25 9.375 4.125 9.75C3.75 9.875 3.375 9.875 3 9.875C2.75 9.875 2.5 9.875 2.25 9.75C2.75 11.375 4.25 12.625 6.125 12.625C4.75 13.75 3 14.375 1 14.375C0.625 14.375 0.375 14.375 0 14.375C1.875 15.5 4 16.25 6.25 16.25C13.75 16.25 17.875 10 17.875 4.625C17.875 4.5 17.875 4.25 17.875 4.125C18.75 3.5 19.5 2.75 20 1.875Z"
></path>
</svg>
</a>
<a class="text-muted socials-icons" href="#">
<svg
width="20"
height="20"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
class="footer-social-icons"
>
<path
d="M20 10.0022C20.0004 8.09104 19.4532 6.2198 18.4231 4.61003C17.393 3.00026 15.9232 1.71938 14.1877 0.919062C12.4522 0.118741 10.5237 -0.167503 8.63053 0.0942223C6.73739 0.355948 4.9589 1.15468 3.50564 2.39585C2.05237 3.63701 0.985206 5.26863 0.430495 7.0975C-0.124217 8.92636 -0.143239 10.8759 0.37568 12.7152C0.894599 14.5546 1.92973 16.2067 3.35849 17.476C4.78726 18.7453 6.54983 19.5786 8.4375 19.8772V12.8922H5.89875V10.0022H8.4375V7.79843C8.38284 7.28399 8.44199 6.76382 8.61078 6.2748C8.77957 5.78577 9.05386 5.33986 9.4142 4.96866C9.77455 4.59746 10.2121 4.31007 10.6959 4.12684C11.1797 3.94362 11.6979 3.86905 12.2137 3.90843C12.9638 3.91828 13.7121 3.98346 14.4525 4.10343V6.56718H13.1925C12.9779 6.53911 12.7597 6.55967 12.554 6.62733C12.3484 6.69498 12.1607 6.80801 12.0046 6.95804C11.8486 7.10807 11.7283 7.29127 11.6526 7.49408C11.577 7.69689 11.5479 7.91411 11.5675 8.12968V10.0047H14.3412L13.8975 12.8947H11.5625V19.8834C13.9153 19.5112 16.058 18.3114 17.6048 16.4999C19.1516 14.6884 20.001 12.3842 20 10.0022Z"
></path>
</svg>
</a>
<a class="text-muted socials-icons" href="#">
<svg
width="21"
height="20"
viewBox="0 0 21 20"
xmlns="http://www.w3.org/2000/svg"
class="footer-social-icons"
>
<path
d="M19.125 0H0.875C0.375 0 0 0.375 0 0.875V19.25C0 19.625 0.375 20 0.875 20H19.25C19.75 20 20.125 19.625 20.125 19.125V0.875C20 0.375 19.625 0 19.125 0ZM5.875 17H3V7.5H6V17H5.875ZM4.5 6.25C3.5 6.25 2.75 5.375 2.75 4.5C2.75 3.5 3.5 2.75 4.5 2.75C5.5 2.75 6.25 3.5 6.25 4.5C6.125 5.375 5.375 6.25 4.5 6.25ZM17 17H14V12.375C14 11.25 14 9.875 12.5 9.875C11 9.875 10.75 11.125 10.75 12.375V17.125H7.75V7.5H10.625V8.75C11 8 12 7.25 13.375 7.25C16.375 7.25 16.875 9.25 16.875 11.75V17H17Z"
></path>
</svg>
</a>
<a class="text-muted socials-icons" href="#">
<svg
width="20"
height="20"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
class="footer-social-icons"
>
<path
d="M10 0C4.5 0 0 4.5 0 10C0 14.25 2.625 17.875 6.375 19.25C6.25 18.5 6.25 17.25 6.375 16.375C6.5 15.625 7.5 11.375 7.5 11.375C7.5 11.375 7.25 10.875 7.25 10C7.25 8.625 8.125 7.5 9.125 7.5C10 7.5 10.375 8.125 10.375 8.875C10.375 9.75 9.875 11 9.5 12.25C9.25 13.25 10 14 11 14C12.75 14 14.125 12.125 14.125 9.375C14.125 7 12.375 5.25 10 5.25C7.125 5.25 5.5 7.375 5.5 9.625C5.5 10.5 5.875 11.375 6.25 11.875C6.25 12.125 6.25 12.25 6.25 12.375C6.125 12.75 6 13.375 6 13.5C6 13.625 5.875 13.75 5.625 13.625C4.375 13 3.625 11.25 3.625 9.75C3.625 6.625 5.875 3.75 10.25 3.75C13.75 3.75 16.375 6.25 16.375 9.5C16.375 13 14.25 15.75 11.125 15.75C10.125 15.75 9.125 15.25 8.875 14.625C8.875 14.625 8.375 16.5 8.25 17C8 17.875 7.375 19 7 19.625C8 19.875 9 20 10 20C15.5 20 20 15.5 20 10C20 4.5 15.5 0 10 0Z"
></path>
</svg>
</a>
<a class="text-muted socials-icons" href="#">
<svg
width="20"
height="20"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
class="footer-social-icons"
>
<path
d="M15.1814 6.06504C15.8442 6.06504 16.3814 5.52778 16.3814 4.86504C16.3814 4.2023 15.8442 3.66504 15.1814 3.66504C14.5187 3.66504 13.9814 4.2023 13.9814 4.86504C13.9814 5.52778 14.5187 6.06504 15.1814 6.06504Z"
></path>
<path
d="M10 15C7.2425 15 5 12.7575 5 10C5 7.2425 7.2425 5 10 5C12.7575 5 15 7.2425 15 10C15 12.7575 12.7575 15 10 15ZM10 7.5C8.62125 7.5 7.5 8.62125 7.5 10C7.5 11.3787 8.62125 12.5 10 12.5C11.3787 12.5 12.5 11.3787 12.5 10C12.5 8.62125 11.3787 7.5 10 7.5Z"
></path>
<path
d="M15 20H5C2.43 20 0 17.57 0 15V5C0 2.43 2.43 0 5 0H15C17.57 0 20 2.43 20 5V15C20 17.57 17.57 20 15 20ZM5 2.5C3.83125 2.5 2.5 3.83125 2.5 5V15C2.5 16.1912 3.80875 17.5 5 17.5H15C16.1688 17.5 17.5 16.1688 17.5 15V5C17.5 3.83125 16.1688 2.5 15 2.5H5Z"
></path>
</svg>
</a>
</div>
</div>
</div>
</footer>
<!-- Bootstrap Scripts -->
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-q2kxQ16AaE6UbzuKqyBE9/u/KzioAlnx2maXQHiDX9d4/zp8Ok3f+M7DPm+Ib6IU"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-pQQkAEnwaBkjpqZ8RU1fF1AKtTcHJwFl3pblpTlHXybJjHpMYo79HY3hIi4NKxyj"
crossorigin="anonymous"
></script>
<!-- Jquery Link -->
<script
src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"
></script>
<!-- Local JS Link -->
<script src="./assets/js/signUp.js" type="module"></script>
<script src="./assets/js/model.js" type="module"></script>
<!--scroll bar-->
<script type="module">
$(window).scroll(() => {
$("nav").toggleClass("scrolled", $(this).scrollTop() > 50);
});
import { signUpMain } from "./assets/js/Controller.js";
signUpMain();
</script>
</body>
</html>