-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
543 lines (486 loc) Β· 18 KB
/
index.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
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<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=Raleway:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
body{
background: rgb(226,97,55);
background: linear-gradient(90deg, rgba(226,97,55,1) 13%, rgba(254,125,52,1) 55%);
/* background-color: rgba(209, 207, 207, 0.374); */
}
.container-fluid{
font-family: "Raleway", sans-serif;
/* width: 43%; */
/* padding-top: 150px; */
/* height: 60vh; */
border: 1px solid red;
}
input:focus {
border-bottom: 1px solid lightgrey;
/* border-color: dodgerblue !important; */
}
input:valid {
border-color: green !important;
}
input:invalid {
border-color: red !important;
}
input::placeholder{
padding-bottom: 6px;
color: rgb(149, 149, 149);
/* border-bottom: 1px solid rgb(216, 214, 214); */
/* text-align: center; */
font-family: "Raleway", sans-serif;
/* background-color: white; */
/* width: 200px; */
}
button:hover{
background-color: white;
color: #d35400;
border: 1px solid #d35400;
}
input{
background-color: rgba(221, 221, 221, 0.38);
border-radius: 10px;
/* text-align: center; */
font-family: "Raleway", sans-serif;
padding: 10px 65px;
/* border-bottom: 1px solid lightgray !important; */
/* box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px; */
outline: none !important;
border: none !important;
border: none !important;
margin: 10px 0px;
}
button{
color: white;
border-radius: 5px;
margin: 5px 0px;
padding: 7px 60px;
border: none;
/* padding: 20px; */
background-color: #f87923; font-family: "Raleway", sans-serif;
}
#login{
background-color: #f47812;
}
#login:hover{
color: #525151;;
border: 1px solid #525151;;
background-color: transparent;}
#c1{
/* border: 2px solid green; */
height: 450px;
transition:1.3s ease;
transform: rotateY(180deg);
backface-visibility: hidden;
position: absolute;
padding: 30px;
width: 400px;
transition:2s ease;
position:absolute;
background-color:#ffffff;
color: orange;
margin-left: 190px;
display: flex;
/* border: 2px solid red; */
flex-direction: column;
align-items: center ;
text-align: center;
justify-content: center;
}
#c2{
/* border-top-left-radius: 20px;
border-bottom-left-radius: 20px; */
height: 450px;
margin-left: -190px;
width: 400px;
background-color: white;
color: white;
/* box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px; */
display: flex;
flex-direction: column;
align-items: center ;
text-align: center;
justify-content: center;
transition:1.3s ease;
backface-visibility: hidden;
transform: rotateY(0deg);
position: absolute;
/* background-color: black; */
/* color: white; */
padding: 30px;
width: 400px;
/* border: 2px solid black; */
}
#div{
display: flex;
align-items: center;
flex-direction:column;
padding-top: 280px
;
justify-content: center;
}
#cr1{
/* border-top-right-radius: 40px; */
/* border-bottom-right-radius: 40px; */
padding: 30px;
width: 400px;
/* box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px; */
background-color: rgb(255, 255, 255);
margin-left: -150px;
height: 450px;
transition:2s ease;
transform: rotateY(180deg);
backface-visibility: hidden;
position: absolute;
}
.float-right{
position: absolute;
right: 0px;
/* top: -5px; */
}
#cr2{
/* border: 2px solid red; */
display: flex;
flex-direction: column;
align-items: center ;
text-align: center;
justify-content: center;
margin-left: 150px;
height: 450px;
width: 400px !important;
transition:2s ease;
transform: rotateY(0deg);
backface-visibility: hidden;
position: absolute;
padding: 30px;
background-color: rgb(255, 255, 255);
}
.wh{
background-color: #f87923 !important;
color: white ;font-family: "Raleway", sans-serif;
}
@keyframes shake {
0% , 100%{ transform: scale(1); }
25%,50% { transform:scale(0.9); background-color: white;}
}
.shake {
animation: shake 0.9s ease infinite;
}
video{
/* transition: 1.3s ease-in-out; */
height: 300px ;
}
.fdg{
width: 250px !important;
/* transition:opacity 1.3s ease-in-out; */
height: 300px !important;
}
.dg{
height: 300px !important;
/* transition: 1.3s ease-in-out; */
}
#emo{
font-size: 12px;
/* font-size: 40px !important; */
/* height: 420px; */
/* border: 2px solid red; */
/* height: 30px; */
}
.btnc>a>i{
color: rgba(0, 0, 0, 0.662);
padding:10px;
border-radius: 6px;
margin: 0px 5px;
border: 1px solid rgba(0, 0, 0, 0.662);
/* background-color: black; */
}
hr{
/* color: orangered; */
width: 50%;
border: 1px solid orange;
}
.ca{
color: #f87923;
background-color: transparent !important;
}
.fgh{
position: absolute;
margin-top: 10px !important;
}
#can{
background-color: white;
position: fixed;
top: 0px;
right: 0px !important;
width: 3%;
color:#f47812;
margin: 5px 3px;
border-radius: 50px;
}
#ho3{
width: 40%;
padding: 90px;
top: 30%;
z-index: 444;
position: fixed;
/* height: 5%; */
text-align: center;
color: #f87923;
box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
background-color: white;
display: none;
transition: 3.2s ease;
/* transform: scale(1.3); */
}
.fa-circle-check{
padding-top: 30px;
font-size: 64px;
}
.fa-xmark{
color: red;
position: absolute;
right: 2px;
top: 0px;
font-size: 34px;
padding: 10px;
}
</style>
</head>
<body>
<div class="container">
<div class="row d-flex justify-content-center">
<h5 id="ho3">
<i class="fa-solid fa-xmark" id="cros"></i>
Your Account Is Created <BR>
<i class="fa-solid fa-circle-check"></i>
<!-- <video src="vi"></video> -->
</h5>
<div class="col-6">
<div id="div">
<div id="c1">
<!-- <h1>Resgister </h1> -->
<div class="emoji">
<video id="emo" src="Emoji Welcome.mp4" autoplay loop muted alt="Welcome Video" ></video>
<!-- <video src="202406122217.mp4" autoplay loop muted id="emo"></video> -->
</div>
<button id="login" class="wh">Login</button>
</div>
<div id="cr2">
<BR>
<h3 class="text-center">Sign-IN</h3>
<input type="email" name="" id="email1" placeholder="Enter Your Email Address">
<input type="password" name="" id="pass1"placeholder="Enter Your Password">
<!-- <BR> -->
<button id="login1">Login</button><BR>
<span style="text-align: center;">Create an Account Here <a id="create1" class="wh ca">Create Account</a></span>
<BR>
<!-- <BR> -->
<div class="text-center btnc">
<a href="" class="button github" target="_blank">
<i class="fab fa-github"></i>
</a>
<a href="" class="button facebook" target="_blank">
<i class="fab fa-facebook-f"></i>
</a>
<a href="" class="button email">
<i class="fas fa-envelope"></i>
</a>
</div>
<BR>
</div>
</div>
</div>
<div class="col-6">
<div id="div">
<div id="cr1">
<br>
<h3 class="text-center"><B>Create Your Account</B></h3>
<!-- <p class="text-center">Email Registeration</p> -->
<input type="name" name="" id="name" placeholder="Enter Your Name"><BR>
<input type="email" name="" id="email" placeholder="Enter Your Email Address"><BR>
<input type="password" name="" id="pass"placeholder="Enter Your Password"><BR>
<div class="d-flex align-items-center justify-content-center">
<button id="create" >Create Account</button><BR>
</div>
<BR>
<p class="text-center" style="text-align: center;">
OR
</p>
<!-- <BR> -->
<div class="text-center btnc">
<a href="" class="button github" target="_blank">
<i class="fab fa-github"></i>
</a>
<a href="" class="button facebook" target="_blank">
<i class="fab fa-facebook-f"></i>
</a>
<a href="" class="button email">
<i class="fas fa-envelope"></i>
</a>
</div>
<!-- <button id="login">Login</button><BR> -->
</div>
<div id="c2">
<div class="emoji">
<video id="emo1" src="Emoji Welcome.mp4" autoplay loop muted alt="Welcome Video" ></video>
<!-- <video src="202406122217.mp4" autoplay loop muted id="emo"></video> -->
</div>
<!-- <button class="wh">Create Account</button> -->
</div>
</div>
</div>
<button class="btn" type="button" id="can" data-bs-toggle="offcanvas" data-bs-target="#offcanvasRight" aria-controls="offcanvasRight"><i class="fa-solid fa-user"></i> </button>
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasRight" aria-labelledby="offcanvasRightLabel">
<div class="offcanvas-header">
<h5 id="offcanvasRightLabel">ACCOUNTS</h5>
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<div id="demo">
<h4>Your Existing Account</h4>
</div>
</div>
</div>
</div>
</div>
<script>
document.getElementById("cros").addEventListener("click",()=>{
document.getElementById("ho3").style.display="none"
})
// document.addEventListener("click",()=>{
// document.getElementById("ho3").style.display="none"
// })
document.getElementById("email").addEventListener("click",()=>{
var a=document.getElementById("emo").src="Emoji Thinking.mp4"
document.getElementById("emo").className="dg"
})
document.getElementById("pass").addEventListener("click",()=>{
var b=document.getElementById("emo").src="Peeking Emoji.mp4"
document.getElementById("emo").className="fdg"
})
document.getElementById("name").addEventListener("click",()=>{
var c=document.getElementById("emo").src="Emoji Welcome.mp4"
document.getElementById("emo").className="dg"
})
document.getElementById("email1").addEventListener("click",()=>{
var a=document.getElementById("emo1").src="Emoji Thinking.mp4"
document.getElementById("emo1").className="dg"
})
document.getElementById("pass1").addEventListener("click",()=>{
var b=document.getElementById("emo1").src="Peeking Emoji.mp4"
document.getElementById("emo1").className="fdg"
})
// localStorage.clear()
document.getElementById("create").addEventListener("click",()=> {
// document.getElementById("c2").style.transform = "rotateY(0deg)"
// document.getElementById("c1").style.transform = "rotateY(180deg)"
var name=document.getElementById("name").value;
var email=document.getElementById("email").value;
var pass=document.getElementById("pass").value;
// var peh=document.getElementById("login");
if(email === "" && pass ===""){
alert("Fill This Input")
}
else {
localStorage.setItem(`name`,`${name}`)
localStorage.setItem(`email`,`${email}`)
localStorage.setItem(`pass`,`${pass}`)
// peh.style.backgroundColor="green"
document.getElementById("ho3").style.display="block"
// alert("Your Account is created")
}
})
document.getElementById("create1").addEventListener("click",()=> {
// location.href="index.html"
document.getElementById("cr2").style.transform = "rotateY(180deg)";
document.getElementById("c1").style.transform = "rotateY(0deg)"
document.getElementById("cr1").style.transform = "rotateY(0deg)";
document.getElementById("c2").style.transform = "rotateY(180deg)"
document.getElementById("email1").value=""
document.getElementById("pass1").value=""
// var demo=document.createElement("demo");
// demo.innerHTML="qwdzxqwdasxZ"
})
// var num1=0;
document.getElementById("login").addEventListener("click",()=> {
// num1++;
// console.log(num);
document.getElementById("c1").style.transform = "rotateY(180deg)"
document.getElementById("cr1").style.transform = "rotateY(180deg)"
document.getElementById("c2").style.transform = "rotateY(0deg)"
document.getElementById("cr2").style.transform = "rotateY(0deg)"
var lo=document.getElementById("login1")
var crt=document.getElementById("create1")
// document.getElementById("login1").style.display
var email=document.getElementById("email1").value;
var pass=document.getElementById("pass1").value;
var log="login"
if(email === localStorage.getItem("email") && pass === localStorage.getItem("pass")){
localStorage.setItem("login",'true')
location.href="Dashboard.html"
lo.classList.remove("shake");
}
else{
// crt.style.backgroundColor="red"
// crt.style.transform="scale(1.2)"
// crt.classList.add("shake");
// alert("Your Account Is Not Created First Create Your ACCOUNT")
// location.href="index.html"
// document.getElementById("cr").style.transform = "rotateY(0deg)";
// document.getElementById("cr1").style.transform = "rotateY(180deg)";
}
})
// localStorage.clear()
document.getElementById("login1").addEventListener("click",()=> {
var email=document.getElementById("email1").value;
var pass=document.getElementById("pass1").value;
// e=""
// pass=""
var div=document.createElement("div");
// var lo=document.getElementById("login1")
var crt=document.getElementById("create1")
var show=document.getElementById("demo")
// show.appendChild(div)
// document.getElementById("login1").style.display
var log="login"
if(email === localStorage.getItem("email") && pass === localStorage.getItem("pass")){
location.href="Dashboard.html"
localStorage.setItem("login",'true')
// div.innerHTML=`
// <span class="fgh"> ${de}</span>
// <button id="login2" class="float-right">Login</button>
// `
// show.appendChild(div)
}
else{
crt.style.backgroundColor="red"
crt.style.transform="scale(1.2)"
crt.classList.add("shake");
alert("Your Account Is Not Created First Create Your ACCOUNT")
}
// var de=localStorage.getItem("name")
// console.log(de);
// localStorage.getItem("name")
// console.log(localStorage.getItem("name"));
// var div=document.createElement("div");
// div.innerHTML=`
// <span class="fgh"> ${de}</span>
// <button id="login2" class="float-right">Login</button>
// `
})
// localStorage.clear()
// localStorage.clear()
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
</body>
</html>