forked from anshxika/chammuch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
78 lines (73 loc) · 2.91 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
<!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>
<link rel="stylesheet" href="./css files/signup.css">
<link rel="stylesheet" href="footer.css">
<link href="https://fonts.googleapis.com/css2?family=DynaPuff:[email protected]&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Afacad+Flux:[email protected]&family=DynaPuff:[email protected]&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
<!-- Navbar -->
<nav class="navbar">
<div class="brand">
<i class="fas fa-utensils"></i> चमmuch
</div>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="Menu.html">Menu</a></li>
<li><a href="about.html">About us</a></li>
</ul>
</nav>
<div class="signup-container">
<div class="signup-img">
<img src="./images/login.png" alt="Catchy Line">
</div>
<div class="signup-form">
<h2>Sign Up</h2>
<form id="signupForm" action="#">
<div class="input-box">
<i class="fas fa-user"></i>
<input type="text" placeholder="Username" required>
</div>
<div class="input-box">
<i class="fas fa-envelope"></i>
<input type="email" placeholder="Email" required>
</div>
<div class="input-box password-box">
<i class="fas fa-lock"></i>
<input type="password" id="password" placeholder="Password" required>
<span class="eye-icon">
<i class="fas fa-eye" id="togglePassword"></i>
</span>
</div>
<div class="input-box password-box">
<i class="fas fa-lock"></i>
<input type="password" id="confirmPassword" placeholder="Confirm Password" required>
<span class="eye-icon">
<i class="fas fa-eye" id="toggleConfirmPassword"></i>
</span>
</div>
<button type="submit" class="btn">Sign Up</button>
<!-- Redirection to login page -->
<div class="login-redirect">
<p>Already have an account? <a href="Login.html">Log in here</a></p>
</div>
</form>
</div>
</div>
<!-- Footer -->
<div id="footer"></div>
<script>
fetch('footer.html')
.then(response => response.text())
.then(data => {
document.getElementById('footer').innerHTML = data;
});
</script>
<script defer src="./js files/signup.js"></script>
</body>
</html>