-
Notifications
You must be signed in to change notification settings - Fork 1
/
sign-up.html
153 lines (146 loc) · 5.14 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!--
#META TAGS
-->
<meta
name="description"
content="Discover your ideal diet plan with MealMaster - the ultimate online search tool for healthy eating. Find personalized meal plans, recipes, and nutrition tips to help you achieve your goals."
/>
<meta
name="keywords"
content="healthy eating, diet plan, meal planner, nutrition, recipes, weight loss, health tips, wellness, food choices, dietary needs"
/>
<meta name="author" content="Your Name or Company Name" />
<meta name="robots" content="index,follow" />
<meta name="canonical" content="https://www.example.com/mealmaster" />
<!-- OG (Open Graph) tags for social media sharing -->
<meta
property="og:title"
content="MealMaster - Your Ultimate Guide to Finding the Perfect Diet Plan"
/>
<meta
property="og:description"
content="Discover your ideal diet plan with MealMaster - the ultimate online search tool for healthy eating. Find personalized meal plans, recipes, and nutrition tips to help you achieve your goals."
/>
<meta
property="og:image"
content="https://www.example.com/images/mealmaster.png"
/>
<meta property="og:url" content="https://www.example.com/mealmaster" />
<meta property="og:type" content="website" />
<title>
MealMaster - Your Ultimate Guide to Finding the Perfect Diet Plan
</title>
<!--
#FAVICON IMAGE
-->
<link
rel="shortcut icon"
href="./public/image/favicon.png"
type="image/x-icon"
/>
<!--
#CUSTOM CSS LINK
-->
<link rel="stylesheet" href="./public/css/style.css" />
<link rel="stylesheet" href="./public/css/login.css" />
<link rel="stylesheet" href="./public/css/util.css">
<!--
#GOOGLE FONTS LINK
-->
<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=Manrope:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<script
src="https://kit.fontawesome.com/27f3ffb9e9.js"
crossorigin="anonymous"
></script>
</head>
<body>
<header class="container header">
<a href="#">
<h2 class="logo">Meal <span>Master</span></h2>
</a>
<nav class="navbar" data-navbar>
<ul class="nav__list">
<li>
<a class="nav__link" href="./index.html">Home</a>
</li>
<li>
<a class="nav__link" href="#">Diet Plans</a>
</li>
<li>
<a class="nav__link" href="./about-us.html">About Us</a>
</li>
</ul>
</nav>
</header>
<main>
<form id="login" name="auth">
<div class="form__content">
<h1 class="text--pink mb--2">Get Started</h1>
<ul class="social-links mb--2">
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<p class="mb--1 text--gray">or use your email for registration:</p>
<div class="form__group mb--2">
<label for="Name">
<input
type="text"
name="username"
placeholder="Name"
autocomplete="off"
required
/>
</label>
<label for="email">
<input type="email" placeholder="Email" name="email" required>
</label>
<label for="password">
<div class="input--group">
<input type="password" placeholder="Password" name="password" required/>
<span class="icon" data-toggle="0" id="eye"><i class="fa-regular fa-eye-slash"></i>
</div>
</label>
<select name="role" id="">
<option value="common">Reguler</option>
<option value="expert">Expert</option>
</select>
</div>
<button class="btn bg--pink text--white" id="signup" name="registerBtn">Sign up</button>
</div>
<div class="illustration">
<img src="./public/image/where-next.jpg" alt="">
</div>
</form>
</main>
<script>
window.onload = function() {
passwordField = document.querySelector("input[type='password']")
passwordField.nextElementSibling.addEventListener('click', function(e){
if(this.dataset.toggle == '0'){
this.innerHTML = '<i class="fa-regular fa-eye"></i>'
passwordField.setAttribute('type', 'text')
this.dataset.toggle = '1'
}
else{
this.innerHTML = '<i class="fa-regular fa-eye-slash "></i>'
passwordField.setAttribute('type', 'password')
this.dataset.toggle = '0'
}
})
}
</script>
<script src="./public/scripts/registration.js"></script>
</body>
</html>