forked from ecelliiitsonepat/ecelliiitsonepat.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathallinoneformobile.html
595 lines (566 loc) · 23.1 KB
/
allinoneformobile.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
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
<!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>E-Cell | IIIT Sonepat</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Josefin+Sans&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Slabo+27px&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poiret+One&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Cinzel&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Josefin+Slab&display=swap" rel="stylesheet">
<style>
*{box-sizing: border-box;
}
body{
margin:0;
transition: 1s ease-out;
transition-delay: 570ms;
font-family: 'Poiret One', 'Josefin Sans''Architects Daughter', cursive;
color:white;
width: 100vw;
overflow-x: hidden;
height:200vh;
background-color: #E9ECEF;
}
/*-----------------BELOW IS PRELOADER-----------------*/
.preloader{
z-index: 9999;
position: fixed;
top:0;
left:0;
width:100vw;
height: 100vh;
display:flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: radial-gradient(circle, #020C19 100%,#040C1A 80%, #160B1E 60%, #2C0E29 40%,#400F2F 40%,#511036 48%,#3E0F2F 56%,#290E26 56%,#100C1D 8.32%,#020C17 8.32%);
/*to be removed*/
}
.preloadervideoblock{
flex-shrink: 20%;
transform: scale(1);
padding-left:3vw;
}
.preloadervdo{
filter: contrast(100%) brightness(100%) ;
width:calc(23vw + 100px);
clip-path: circle(30.0% at 50% 50%);
}
.preloadertext{
text-align: center;
padding-right:9px;
background: rgb(22,11,30);
background: linear-gradient(90deg, rgba(22,11,30,1) 14%, rgba(81,16,54,1) 21%, rgba(255,255,255,1) 49%, rgba(81,16,54,1) 76%, rgba(16,12,29,1) 85%);
background-size: 200% auto;
color: #160B1E;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation:shine 4s linear infinite;
transform: translateY(2vh);
font-size: calc(10px + 2vh + 2vw);}
@keyframes shine {
from {
background-position: 200% center;
}
}
.endpreloadopacity{
opacity:0;
transition:1s;
}
.nav_beforepreload{
display:none;
}
/*-----------------ABOVE WAS PRELOADER-------------------*/
/*----------------------Header Below-----------------------*/
.homepage{
display:grid;
grid-template-columns: repeat(20,5vw);
grid-template-rows: repeat(18,4vh);
width:100%;
overflow-x: hidden;
}
.navi{
z-index: 4;
}
*{
box-sizing: border-box;
}
body{
margin:0;
padding:0;
}
.navbar{
transform: scale(1.01);
background: transparent;
}
.nav-link{
color:white !important;
border-radius: 9px;
}
.navbar-toggler{
background:white !important;
}
.active{
background: var(--bs-yellow);
color: black !important;
}
.nav-link:hover , .nav-link:focus, .nav-link:active{
background: var(--bs-yellow);
color: black !important;
}
.header{
float:left;
grid-column-start: 1;
grid-column-end: 25;
grid-row-start:1;
grid-row-end:25;
width:100%;
position: relative;
box-shadow:8px rgba(0, 0, 0, 0.24);
background: black;
overflow:hidden;
}
.headervdocontainer{
z-index:0;
background:black;
transform: scale(1);
top:0;
left:0;
width:103vw;
height:100%;
overflow:hidden;
}
.headervdo{
transform:scale(1.5);
opacity:0;
}
.headervdo_afterpreload{
transition: ease-in 5s;
opacity:100;
}
.logo{
z-index: 5;
padding:25px;
margin-left:calc(2vh + 5px);
background:url("logo.jpeg");
background-repeat: no-repeat;
float:top;
background-size: cover;
box-sizing: border-box;
position: fixed;
width:calc(50px + 3vw);
height:calc(50px + 3vw);
top:3%;
left:0;
transform: translate(-1vw,-2vh);
clip-path: circle(50.0% at 50% 50%);
}
.heading{
font-size: calc(1vh + 4vw);
font-family: 'Slabo 27px', serif;
position: absolute;
top:35%;
margin-left:17vw;
margin-right:17vw;
font-weight: 600;
letter-spacing: calc(1vh);
color:rgb(255, 255, 255);
opacity:100;
transform: scale(1.05);
text-align: center;
/* below shine */
background: rgb(213,213,213);
background: radial-gradient(circle, rgba(213,213,213,1) 16%, rgba(255,201,0,1) 32%, rgba(0,0,0,1) 64%);
background-size: 200% auto;
color: #160B1E;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation:shine 3s linear infinite;
}
.tagline{
box-sizing: border-box;
font-size: calc(1vh + 5px + 2vw);
transform: scale(0.8);
font-family: 'Poiret One','Slabo 27px', serif;
position: absolute;
top:60%;
right:17vw;
margin-left:16vw;
text-align: center;
font-weight: 500;
letter-spacing: 1vh;
color:rgb(255, 255, 255);
opacity:100;
}
/*----------------------Header Up---------------------*/
.social{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
}
.social *{
flex:1;
padding:15px;
cursor:pointer;
text-decoration: none;
}
.instagram{
background:url("https://sm.ign.com/ign_in/screenshot/default/ig-glyph001-74am_dp6a.jpg") no-repeat;
background-position: center;
background-size: cover;
filter:saturate(0);
transition: all ease-in 250ms;
}
.instagram:hover{
filter: saturate(1);
transform: scale(1.05);
z-index: 2;
}
.facebook{
background:url("fblogo.png") no-repeat;
background-position: center;
background-size:125%;
transition:ease-in-out all 250ms ;
filter:saturate(0);
}
.facebook:hover{
filter: saturate(1);
transform: scale(1.05);
z-index: 2;
filter:contrast(0.8);
}
.linkedin{
background:url("linkedin.png") no-repeat;
background-position: center;
background-size:110%;
transition:ease-in-out all 250ms ;
filter:saturate(0);
}
.linkedin:hover{
filter: saturate(1);
transform: scale(1.05);
z-index: 2;
}
.youtube{
background:url("https://c4.wallpaperflare.com/wallpaper/377/439/784/red-white-logo-youtube-wallpaper-preview.jpg") no-repeat;
background-position: center;
background-size: cover;
filter:saturate(0);
transition: all 250ms ease-in;
}
.youtube:hover{
filter:saturate(1);
transform: scale(1.05);
z-index: 2;
}
@media only screen and (max-width: 700px) {
.instagram , .youtube , .facebook , .linkedin{
filter:saturate(1);
background-size: 200%;
}
}
/*--------------------Mid_Body Below------------------*/
.borderup{
background: transparent;
padding: 10px;
border-radius: 25px;
border-bottom: 2px rgb(107, 107, 107) solid;
width: 63vw;
position: relative;
left: 17vw;
}
.borderdown{
background: transparent;
padding: 10px;
border-radius: 25px;
border-top: 2px rgb(92, 92, 92) solid;
width: 63vw;
position: relative;
left: 17vw;
}
.midbody{
background: #080708;
font-family: 'Josefin Slab', serif;
}
.quotegenerator{
position: relative;
font-family:'Dancing Script';
letter-spacing: 0.2em;
}
.quotegenerator *{
font-size: 1.1em;
}
.quote{
transition: 1s ease-in-out;
}
.writer{
position: absolute;
bottom: 0;
right: 0;
transition: 1s ease-in-out;
}
.card-img{
opacity: 0.4;
}
.dream:hover, .create:hover, .inspire:hover{
transition: 200ms all ease-in-out;
transform: scale(1.02);
}
/*-------------------Midbody Up-------------------*/
/*------------------Footer Below------------------*/
.footer{
background:#080708;
}
</style>
</head>
<body>
<div class="preloader">
<div class="preloadervideoblock">
<video src="preloader.mp4" class="preloadervdo" autoplay muted loop></video>
</div>
<div class="preloadertext">Welcome to E-Cell of IIIT Sonepat</div>
</div>
<a href="homepage.html" class="logo"></a>
<div class="homepage">
<div class="header">
<div class="container-fluid p-1 navi position-fixed end-0 mt-2 mx-3 bg-transparent">
<nav class="navbar nav_beforepreload navbar-expand-lg navbar-light">
<div class="container-fluid justify-content-end">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-row justify-content-end" id="navbarSupportedContent">
<ul class="navbar-nav mb-2 mb-lg-0">
<li class="nav-item mt-1 mt-lg-0 mx-1">
<a class="nav-link active px-3" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item mx-1">
<a class="nav-link px-3" href="#">Events</a>
</li>
<li class="nav-item mx-1">
<a class="nav-link px-3" href="#">About Us</a>
</li>
<li class="nav-item mx-1">
<a class="nav-link px-3" href="#">Our Team</a>
</li>
</ul>
</div>
</div>
</nav>
</div>
<div class="headervdocontainer headervdocontainer_afterpreload">
<video src="headervdo.mp4" class="headervdo hvdo_afterpreload" loop muted autoplay></video>
</div>
<div class="heading">E-Cell IIIT Sonepat</div>
<div class="tagline">Dream, Create and Inspire...</div>
</div>
</div>
<div class="social">
<a href="https://www.instagram.com/ecell.iiitsonepat/" class="instagram" target="_blank"> </a>
<a href="https://www.facebook.com/E-Cell-IIIT-Sonepat-113917040446486" class="facebook" target="_blank"> </a>
<a href="https://www.linkedin.com/company/e-cell-iiit-sonepat/" class="linkedin" target="_blank"> </a>
<a href="https://www.youtube.com/" class="youtube" target="_blank"> </a>
</div>
</div>
<div class="container-fluid midbody min-vh-100 py-5" >
<div class="borderup"></div>
<div class="borderdown"></div>
<div class="d-flex justify-content-center mb-4 mt-1">
<div class="card quotegenerator bg-transparent border-0">
<div class="card-body">
<blockquote class="blockquote mb-0">
<h4 class="quote mb-4"></h4>
<cite title="Source Title" class="writer text-muted">Source Title</cite>
</blockquote>
</div>
</div>
</div>
<div class="borderup"></div>
<div class="borderdown"></div>
<div class="compendium mt-5 card mb-4 mb-md-5 offset-lg-1 container-fluid col-lg-10" style="background-color: #080708;">
<h1 class="mb-4 display-4" style="text-align: center;"><i class="fas fa-book" style="color:#0000b2"></i> Compendium</h1>
<div class="row g-0">
<div class="col-md-6">
<img src="https://i.postimg.cc/vHZxwC8x/pexels-photo-428062.jpg" class="img-fluid" alt="...">
</div>
<div class="col-md-6">
<div class="card-body">
<p class="card-text" style="font-size: calc(12px + 0.6vw); text-align: center; margin-top: 1vh;">Dandelions, one of the beautiful flowers, need a push for their seeds to disperse so that one more child may smile upon seeing it. We, the members of Enterprenuership Cell of IIIT Sonepat, lookout for the seed (capable of contributing to a greater extent to those in need) among the youngsters with passion, ambition and will to achieve their dream. Just as the gust, We look out for them and provide them with the knowledge and guidance so that when the end of this journey approaches, they discover that this is just the beginning</p>
<p class="card-text"><small class="text-muted"></small></p>
</div>
</div>
</div>
</div>
<div class="borderup"></div>
<div class="borderdown"></div>
<div class="aim container-fluid col-sm-10 offset-sm-1 text-center mt-5">
<h1 class="display-4"><i class="fas fa-fire" style="color: #800909;"></i> Our Aim</h1>
<p>
"I'll be back" one of the most favourite dialogue of Arnold Schwarzenegger from
the one of the best and aspiried sci-fi movie, "The Terminator". We all have imagined to fight the AI from the
techs, one day if they revolted. but though many were being drawn towards its appeal, there were some who instead
of dreaming about aliens, thought about creating a bookstore that isn't possible any other way. He worked more than
one can think of and today we know him as the CEO of Amazon. Jeff Bezoz is now an inspiration for those wanting
to achieve great things in their life. With the mindset of "simple is best" we aim to :-
</p>
</div>
<div class="container-fluid p-0 mx-auto row justify-content-around text-center motives">
<div class="container-fluid col-lg-4 dream mb-2 p-2" >
<div class="card bg-dark text-white" style="border-radius: 12px;">
<img src="https://images.pexels.com/photos/1535907/pexels-photo-1535907.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500" class="card-img img-fluid" alt="...">
<div class="card-img-overlay d-flex flex-column justify-content-around">
<h1 class="card-title"><i class="fas fa-star-and-crescent" style="color: #ffd500;"></i> Dream</h1>
<h5 class="card-text">indulging in daydreams or something which only one itself can think of,</h5>
<p class="card-text"></p>
</div>
</div>
</div>
<div class="container-fluid col-lg-4 create p-2" >
<div class="card bg-dark text-white" style="border-radius: 12px;">
<img src="https://images.pexels.com/photos/4348404/pexels-photo-4348404.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500" class="card-img img-fluid" alt="...">
<div class="card-img-overlay d-flex flex-column justify-content-around">
<h1 class="card-title"><i class="fas fa-pen-alt" style="color: #1b98e0;"></i> Create</h1>
<h5 class="card-text">Gathering tools to turn the makebelieve world to believe world and</h5>
<p class="card-text"></p>
</div>
</div>
</div>
<div class="container-fluid col-lg-4 inspire p-2" >
<div class="card bg-dark text-white" style="border-radius: 12px;">
<img src="https://images.pexels.com/photos/4428041/pexels-photo-4428041.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500" class="card-img img-fluid" alt="...">
<div class="card-img-overlay d-flex flex-column justify-content-around">
<h1 class="card-title"><i class="fas fa-jedi" style="color: #e01e37;"></i> Inspire</h1>
<h5 class="card-text">boosting confidence of those who are oppressed by those who cant think out of box. We aim to explore the wasteland of unknown with the courageous minds.</h5>
<p class="card-text"></p>
</div>
</div>
</div>
</div>
<div class="borderup mt-4"></div>
<div class="borderdown mb-4"></div>
<div class="whyus mt-5 card mb-3 mb-md-5 offset-lg-1 container-fluid col-lg-10" style="background-color: #080708;">
<h1 class="mb-4 display-4" style="text-align: center;"><i class="fas fa-question"></i> Why Us</h1>
<div class="row g-0">
<div class="col-md-6">
<img src="https://images.pexels.com/photos/3077882/pexels-photo-3077882.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" class="img-fluid" alt="...">
</div>
<div class="col-md-6">
<div class="card-body">
<p class="card-text" style="font-size: calc(12px + 0.6vw); text-align: center; margin-top: 1vh;">We at E-cell of IIIT Sonepat
aim to provide you with the knowledge and expereince of those who are already on this path so that
u can learn from what they have been through and then carve your own path. We may not seem to be as
vast as ocean but we have started our journey down the mountain and will meet and discover more secrets,
with no will to turn back. So, join the expedition of exploring the unknown of your creativity and let it flow.
</p>
<p class="card-text"><small class="text-muted"></small></p>
</div>
</div>
</div>
</div>
<hr style="color: grey;;">
</div>
<!--Midbody Ended-->
<!--Footer Started-->
<div class="footer container-fluid p-0 m-0">
<div class="map container-fluid overflow-hidden p-0 m-0">
<h1 class="display-4 text-center mb-3"><i class="fas fa-map-marker-alt" style="color: #1EA362;"></i> Reach Us</h1>
<iframe class="gpsmap" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d6982.315943306847!2d77.10393908409192!3d28.95303863380321!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x390daddf6cade053%3A0xfd7ceeb61e0dbbe1!2sIIT%20Delhi%20Sonipat%20Campus!5e0!3m2!1sen!2sin!4v1618445149546!5m2!1sen!2sin" width="" height="450" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
</div>
</div>
<!--Footer Ended-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf" crossorigin="anonymous"></script>
<script>
/*-----------------BELOW IS PRELOADER-------------*/
let timer1
let preloader=document.querySelector('.preloader')
let nav=document.querySelector('.navbar');
timer1=setInterval(()=>{
preloader.classList.add('endpreloadopacity');
setTimeout(timer1);
},500)
let timer2= setInterval(()=>{
nav.classList.remove('nav_beforepreload');
setTimeout(timer2);
document.body.style.transition="0s none";
document.body.style.transition.delay="none";
document.querySelector('.headervdo').classList.add('headervdo_afterpreload');
},4600)
let timer3= setInterval(()=>{
preloader.style.display='none';
setTimeout(timer3);
},5500)
/*-----------------ABOVE WAS PRELOADER-------------*/
let quotes = [ {"quote": `You see things; and you say, ‘Why?' But I dream things that never were; and I say, ‘Why not?'`, "writer":"George Bernard Shaw"},
{"quote":`You are never too old to set another goal or to dream a new dream.` , "writer":"C.S. Lewis"},
{"quote": `A man is not old until regrets take the place of dreams.`, "writer":"John Barrymore"},
{"quote":`The only thing that will stop you from fulfilling your dreams is you.` , "writer":"Tom Bradley"},
{"quote": `The only thing worse than starting something and failing … is not starting something.`, "writer":"Seth Godin"},
{"quote": `The future belongs to those who believe in the beauty of their dreams.` , "writer":"Eleanor Roosevelt"},
{"quote": `Remember to celebrate milestones as you prepare for the road ahead.`, "writer":"Nelson Mandela"},
{"quote": `It may be that those who do most, dream most.`, "writer":"Stephen Butler Leacock"},
{"quote": `Rome wasn't built in a day`, "writer":"John Heywood"},
{"quote": `To lose patience is to lose the battle.` , "writer":"Mahatma Gandhi"},
{"quote": `Patience is necessary, and one cannot reap immediately where one has sown.`, "writer":"Soren Kierkegaard"},
{"quote": `If I have done the public any service, it is due to my patient thought.`, "writer":" Isaac Newton"},
{"quote": `He that can have patience can have what he will.`, "writer":"Benjamin Franklin"},
{"quote": `Nature never rushes, yet everything gets done.`, "writer":"Lao Tzu"},
{"quote": `All our dreams can come true, if we have the courage to pursue them.`, "writer":"Walt Disney"},
{"quote": `Tough times never last, but tough people do.`, "writer":"Robert H. Schuller"},
{"quote": `I don't believe in taking right decisions. I take decisions and then make them right.` , "writer":"Ratan Tata"},
{"quote": `Success is when Your signature changes to autograph`, "writer":"Abdul Kalam"},
{"quote": `Kill them with success and bury them with a smile.`, "writer":" Leonardo DiCaprio"},
{"quote": `Whenever I watch someone doing something, even if it doesn’t turn out so great, I at least admire their intentions and stuff.`, "writer":"Robert Downey Jr."},
{"quote": "You miss 100% of the shots you don't take.", "writer":"Wayne Gretzky"},
{"quote": "Avoiding danger is no safer in the long run than outright exposure. The fearful are caught as often as the bold.", "writer":"Helen Keller"},
{"quote": "I'm not afraid of storms, for I'm learning how to sail my ship.", "writer":"Louisa May Alcott"},
{"quote": "Don't let the fear of striking out hold you back.", "writer":"Babe Ruth"},
{"quote": `The secret of getting ahead is getting started.`, "writer":"Mark Twain"},
{"quote": `I wake up every morning and think to myself, ‘how far can I push this company in the next 24 hours.`, "writer":"Leah Busque"},
{"quote": `Do one thing every day that scares you.`, "writer":"Eleanor Roosevelt"},
{"quote": `Whatever you are, be a good one.`, "writer" : "Abraham Lincoln"}];
let quotedisplay=document.querySelector('.quote');
let writerdisplay=document.querySelector('.writer');
let currentdate = new Date;
let currentsec = currentdate.getSeconds();
let changedsec= currentsec;
let random =1;
let value=changedsec;
setInterval(()=>value=value+1,470)
setInterval(()=>{
changedsec++;
if(Math.abs(changedsec-currentsec)%8==0)
{
quotedisplay.style.opacity=0;
writerdisplay.style.opacity=0;
}
if(Math.abs(changedsec-currentsec)%8==1)
{
quotedisplay.innerHTML=`"${quotes[value%28].quote}"` ;
writerdisplay.innerHTML=`~${quotes[value%28].writer}`;
quotedisplay.style.opacity=1;
writerdisplay.style.opacity=1;
}
},1000)
let gpsmap=document.querySelector('.gpsmap')
console.log(gpsmap)
setInterval(()=>gpsmap.width=(window.screen.width),100)
</script>
<script src="https://kit.fontawesome.com/9193db61db.js" crossorigin="anonymous"></script>
</body>
</html>