forked from apu52/Travel_Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newLogin.html
348 lines (324 loc) · 12.1 KB
/
newLogin.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
<!-- <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Login Page</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous"
referrerpolicy="no-referrer" />
<link rel="icon" type="image/x-icon" href="favicon.ico"/>
<link rel="stylesheet" href="./newLogin.css" />
<link rel="stylesheet" href="style_.css" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="main-container">
<div class="nav-container">
<nav class="newNav">
<a href="#" class="nav__logo" data-aos="fade-right"
>Tourguide<span>.</span></a
>
<ul class="navLinks">
<li class="link home" data-aos="fade-down">
<a href="index.html#Home" target="_blank"> Home</a>
</li>
<li class="link" data-aos="fade-down">
<a href="./index.html#AboutUs" target="_blank">AboutUs</a>
</li>
<li class="link" data-aos="fade-down">
<a href="./index.html#Destinations" target="_blank"
>Destinations</a
>
</li>
<li class="link" data-aos="fade-down">
<a href="./index.html#trip" target="_blank">Pricing</a>
</li>
<li class="link" data-aos="fade-down">
<a href="./index.html#ReviewGallery" target="_blank"
>Trip Gallery</a
>
</li>
<li class="link" data-aos="fade-down">
<a href="./index.html#testimonials" target="_blank"
>Testimonials</a
>
</li>
<li class="link" data-aos="fade-down">
<a href="./index.htmlfeedback.html" target="_blank">Rate Us?</a>
</li>
<li class="link" data-aos="fade-down">
<a href="./index.html#contact">Contact Us</a>
</li>
</ul>
<a href="newLogin.html" class="contact-btn"
><button
class="btn"
id="btn-style"
style="margin: 0"
data-aos="fade-down">
Login
</button></a
>
<div class="toggle-container" data-aos="fade-down">
<input id="themeToggle" class="toggle" type="checkbox" />
</div>
<div class="hamburger" data-aos="fade-down">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</nav>
</div>
<div class="form-container">
<div class="content1">
<h1>Welcome Back !</h1>
<img src="\img\image.png" />
<p>
To keep connected with us please login with your personal
information.
</p>
<button type="submit">Login</button>
</div>
<div class="content2">
<h1>Create Account</h1>
<div class="icon-section">
<a
href=""
target="_blank"
style="
color: white;
text-shadow: 0px 0px 30px rgb(52, 168, 83),
0px 0px 60px rgb(52, 168, 83);
cursor: pointer;
"
><i class="fa-brands fa-google"></i
></a>
<a
href=""
target="_blank"
style="
color: #010618;
text-shadow: 0px 0px 30px #fff, 0px 0px 60px #fff;
">
<i class="fa-brands fa-github"></i
></a>
<a
href=""
target="_blank"
style="
color: rgb(19, 19, 183);
text-shadow: 0px 0px 30px #fff, 0px 0px 60px #fff;
">
<i class="fa-brands fa-facebook"></i>
</a>
<a
href=""
target="_blank"
style="
color: rgb(255, 25, 64);
text-shadow: 0px 0px 30px rgb(174, 0, 29),
0px 0px 60px rgb(174, 0, 29);
">
<i class="fa-brands fa-instagram"></i>
</a>
</div>
<p>OR</p>
<div class="main-container">
<div class="form-container">
<div class="content1">
<h1>Welcome Back !</h1>
<img src="\img\image.png">
<p>To stay connected with us, kindly login with you personal information.</p>
<a href="login-modified.html"><button type="submit">Login</button></a>
</div>
<div class="content2">
<h1>Create Account</h1>
<div class="icon-section">
<a href="" target="_blank" style="color: white;text-shadow: 0px 0px 30px rgb(52, 168, 83) , 0px 0px 60px rgb(52, 168, 83); cursor: pointer;"><i class="fa-brands fa-google"></i></a>
<a href="" target="_blank" style="color: #010618;text-shadow: 0px 0px 30px #fff , 0px 0px 60px #fff; ">
<i class="fa-brands fa-github"></i></a>
<a href="" target="_blank" style="color: rgb(19, 19, 183); text-shadow: 0px 0px 30px #fff , 0px 0px 60px #fff;">
<i class="fa-brands fa-facebook"></i>
</a>
<a href="" target="_blank" style="color: rgb(255, 25, 64); text-shadow: 0px 0px 30px rgb(174, 0, 29) , 0px 0px 60px rgb(174, 0, 29);">
<i class="fa-brands fa-instagram"></i>
</a>
</div>
<p>OR</p>
<form action="">
<input
type="text"
name=""
id=""
placeholder="First Name"
required />
<input type="text" name="" id="" placeholder="Last Name" required />
<input type="email" name="" id="" placeholder="Email" required />
<input
type="password"
name=""
id=""
placeholder="Password"
required />
<input
type="password"
name=""
id=""
placeholder="Confirm Password"
required />
<button type="submit" class=".content2_button">Register</button>
</form>
</div>
</div>
</div>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"
integrity="sha512-7eHRwcbYkK4d9g/6tD/mhkf++eoTHwpNM9woBxtPUBWm67zeAfFC+HrdoE2GanKeocly/VxeLvIqwvCdk7qScg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"></script>
<script>
var tl = gsap.timeline();
tl.from(".form-container", {
opacity: 0,
delay: 0.8,
duration: 0.5,
});
tl.from(".content1 h1 , .content2 h1", {
opacity: 0,
y: 20,
duration: 0.5,
});
tl.from(".content1 p , .icon-section", {
opacity: 0,
y: 20,
duration: 0.5,
});
tl.from(".content2 p", {
opacity: 0,
y: 20,
duration: 0.5,
});
tl.from("form input", {
opacity: 0,
x: -20,
duration: 0.5,
});
tl.from("form button", {
opacity: 0,
duration: 0.5,
});
document
.getElementById("registerButton")
.addEventListener("click", function (event) {
event.preventDefault();
var name = document.getElementById("name").value;
var email = document.getElementById("email").value;
var password = document.getElementById("passWord").value;
if (
name.trim() === "" ||
email.trim() === "" ||
password.trim() === ""
) {
alert("Please fill out all fields.");
} else {
var emailPattern =
/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/;
if (!emailPattern.test(email)) {
alert("Please enter valid email!");
return;
} else {
alert("Registration Successfully completed!");
window.location.href = "./index.html";
}
}
});
</script>
</body>
</html> -->
<!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>TOUR GUIDE</title>
<link rel="icon" type="image/x-icon" href="log/favicon.ico">
<link href="https://cdn.lineicons.com/4.0/lineicons.css" rel="stylesheet" />
<link rel="stylesheet" href="./login/login.css">
</head>
<body>
<div class="container" id="container">
<div class="form-container register-container">
<form action="#">
<h1>TOUR GUIDE </h1>
<input type="text" placeholder="Name">
<input type="email" placeholder="Email">
<input type="password" placeholder="Password">
<input type="password" placeholder="Confirm Password">
<button onclick="refreshPage()">Register</button>
<script>
function refreshPage() {
location.reload();
}
</script>
<span>or use your account</span>
<div class="social-container">
<a href="" class="social"><i class="lni lni-facebook-fill"></i></a>
<a href="https://accounts.google.com/v3/signin/identifier?ifkv=ASKXGp3o7JbWY-Xl_hjXMSHncDJR5Bg1tJjR-AcPnUkBcdPTNTLi-oYd-rV3dgIaufZcXA-T1n6HuQ&flowName=GlifWebSignIn&flowEntry=ServiceLogin&dsh=S604814220%3A1705302051981588&theme=glif" target="_blank"><i class="lni lni-google"></i></a>
<a href="" class="social"><i class="lni lni-linkedin-original"></i></a>
<a href="" class="social">
<i class="lni lni-github"></i></a>
</div>
</form>
</div>
<div class="form-container login-container">
<form action="#">
<h1>TOUR GUIDE</h1>
<input type="email" placeholder="Email">
<input type="password" placeholder="Password">
<div class="content">
<div class="checkbox">
<input type="checkbox" name="checkbox" id="checkbox">
<label>Remember me</label>
</div>
<div class="pass-link">
<a href="#">Forgot password?</a>
</div>
</div>
<a href="index.html"><button>Login</button></a>
<span>or use your account</span>
<div class="social-container">
<a href="" class="social"><i class="lni lni-facebook-fill"></i></a>
<a href="https://accounts.google.com/v3/signin/identifier?ifkv=ASKXGp3o7JbWY-Xl_hjXMSHncDJR5Bg1tJjR-AcPnUkBcdPTNTLi-oYd-rV3dgIaufZcXA-T1n6HuQ&flowName=GlifWebSignIn&flowEntry=ServiceLogin&dsh=S604814220%3A1705302051981588&theme=glif" target="_blank"><i class="lni lni-google"></i></a>
<a href="" class="social"><i class="lni lni-linkedin-original"></i></a>
<a href="" class="social">
<i class="lni lni-github"></i></a>
</div>
</form>
</div>
<div class="overlay-container">
<div class="overlay">
<div class="overlay-panel overlay-left">
<h1 class="title">Welcome <br> Back!</h1>
<p>if Yout have an account, login here and have fun</p>
<button class="ghost" id="login">Login
<i class="lni lni-arrow-left login"></i>
</button>
</div>
<div class="overlay-panel overlay-right">
<h1 class="title">Start your <br> journy now</h1>
<p>if you don't have an account yet, join us and start your journey.</p>
<button class="ghost" id="register">Register
<i class="lni lni-arrow-right register"></i>
</button>
</div>
</div>
</div>
</div>
<script src="login/script.js"></script>
</body>
</html>