-
Notifications
You must be signed in to change notification settings - Fork 0
/
sign-up.html
84 lines (63 loc) · 3.69 KB
/
sign-up.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Retail Record - Sign Up</title>
<!-- stylesheet and script files -->
<link rel="stylesheet" href="/dist/style.css">
<script defer src="/dist/script.js"></script>
<script defer src="/dist/signUp.js"></script>
<!-- supabase -->
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
<!-- favicon img -->
<link rel="shortcut icon" href="/images/favicon-rr.png" type="image/x-icon">
<!-- bootstrap icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<!-- google font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body class="overflow-x-hidden" onload="initFormValidation()">
<header class="lg:px-10 pt-5 px-5">
<a href="/" class="logo inline-block">
<img class="w-28" src="/images/mainLogo.png" alt="Retail Record Logo">
</a>
</header>
<section class="signUp px-5 lg:px-20 mt-10 lg:flex items-center justify-between">
<div class="signUp__formCtn lg:w-[47%]">
<h1 class="text-center lg:text-left pb-2">Get Started</h1>
<p class="text-center lg:text-left">Fill the form below to create an account.</p>
<form action="#" class="form mt-5" id="sign-up-form" method="POST">
<div class="form__inputCtn relative">
<input type="text" name="businessName" id="businessName" class="input" placeholder="Business Or Store Name" required minlength="4">
<i class="bi bi-person-fill absolute right-3 text-lg top-[20%]"></i>
</div>
<div class="form__inputCtn relative mt-[1.8rem]">
<input type="text" name="location" id="location" class="input" placeholder="Location, eg: Lagos" required minlength="2">
<i class="bi bi-geo-alt-fill absolute right-3 text-lg top-[20%]"></i>
</div>
<div class="form__inputCtn relative mt-[1.8rem]">
<input type="email" name="email" id="email" class="input" placeholder="Email" required>
<i class="bi bi-envelope-fill absolute right-3 text-lg top-[17%]"></i>
<p id="errMsg" class="text-red-600 text-sm hidden">Email exists, please use another email or sign in</p>
</div>
<div class="form__passCtn relative mt-[1.8rem]">
<input minlength="6" class="input relative" type="password" name="password" id="password" placeholder="Password (min. 6 characters)" required>
<i onclick="togglePass(this)" class="bi bi-eye-fill absolute right-3 text-lg top-[25%] cursor-pointer"></i>
</div>
<button id="signUpBtn" disabled class="button mt-7 mb-4 h-[50px]" type="submit">Sign Up</button>
<div class="query flex items-center gap-x-2 justify-center">
<p>Already have an account?</p>
<a class="text-blue underline" href="/login">Login</a>
</div>
</form>
</div>
<div aria-hidden="true" class="illustrationCtn hide-for-mobile w-[50%]">
<img src="/images/undraw_mobile_login_re_9ntv.svg" alt="">
</div>
</section>
</body>
</html>