-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
835 lines (784 loc) · 27.8 KB
/
index.html
File metadata and controls
835 lines (784 loc) · 27.8 KB
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
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NMAMIT Nitte - B.Tech in EnC with ACT</title>
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="192x192" href="android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="android-chrome-512x512.png">
<link rel="manifest" href="site.webmanifest">
<style>
/* Reset and ssbase styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-color: #ffffff;
--text-color: #333333;
--primary-color: #1e40af;
--secondary-color: #3b82f6;
--accent-color: #60a5fa;
}
.dark-theme {
--bg-color: #1a202c;
--text-color: #e2e8f0;
--primary-color: #3b82f6;
--secondary-color: #60a5fa;
--accent-color: #90cdf4;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--bg-color);
overflow-x: hidden;
transition: background-color 0.3s ease, color 0.3s ease;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header styles */
header {
background-color: var(--bg-color);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
position: fixed;
width: 100%;
z-index: 1000;
transition: all 0.3s ease;
}
.header-hidden {
transform: translateY(-100%);
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
}
.logo {
display: flex;
align-items: center;
}
.logo img {
width: 50px;
height: 50px;
margin-right: 10px;
transition: transform 0.3s ease;
}
.logo:hover img {
transform: scale(1.1);
}
.logo-text h1 {
font-size: 1.2rem;
margin-bottom: 5px;
}
.logo-text p {
font-size: 0.8rem;
color: var(--text-color);
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
text-decoration: none;
color: var(--text-color);
font-weight: bold;
transition: color 0.3s ease, transform 0.3s ease;
display: inline-block;
}
nav ul li a:hover {
color: var(--primary-color);
transform: translateY(-2px);
}
.highlight {
background-color: var(--primary-color);
color: #fff;
text-align: center;
padding: 10px 0;
transition: background-color 0.3s ease;
}
.highlight:hover {
background-color: var(--secondary-color);
}
/* Mobile menu styles */
.mobile-menu-toggle {
display: none;
background: none;
border: none;
font-size: 2rem;
cursor: pointer;
color: var(--text-color);
padding: 5px 10px;
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
z-index: 1002;
}
/* Theme toggle styles */
.theme-toggle {
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: var(--text-color);
margin-left: 20px;
}
/* Hero section styles */
.hero {
background-image: url('img/back.jpg');
background-size: cover;
background-position: center;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: #fff;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.5);
transition: background-color 0.3s ease;
}
.hero:hover::before {
background-color: rgba(0,0,0,0.6);
}
.hero-content {
position: relative;
z-index: 1;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-visible .hero-content {
opacity: 1;
transform: translateY(0);
}
.hero h2 {
font-size: 3rem;
margin-bottom: 20px;
animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
from {
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--primary-color), 0 0 20px var(--primary-color);
}
to {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--primary-color), 0 0 40px var(--primary-color);
}
}
.hero p {
font-size: 1.5rem;
margin-bottom: 30px;
}
.cta-button {
display: inline-block;
background-color: var(--primary-color);
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.cta-button:hover {
background-color: var(--secondary-color);
transform: translateY(-3px) scale(1.05);
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
/* Main content styles */
section {
padding: 60px 0;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-visible {
opacity: 1;
transform: translateY(0);
}
section h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 40px;
position: relative;
display: inline-block;
color: var(--primary-color);
}
section h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
width: 50px;
height: 3px;
background-color: var(--primary-color);
transform: translateX(-50%);
transition: width 0.3s ease;
}
section:hover h2::after {
width: 100px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.card {
background-color: var(--bg-color);
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 20px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
overflow: hidden;
}
.card::before {
content: '';
position: absolute;
top: -100%;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(30, 64, 175, 0.1), transparent);
transition: top 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.card:hover::before {
top: 0;
}
.card h3 {
font-size: 1.5rem;
margin-bottom: 15px;
color: var(--primary-color);
}
.card-icon {
font-size: 2rem;
color: var(--primary-color);
margin-bottom: 15px;
transition: transform 0.3s ease;
}
.card:hover .card-icon {
transform: scale(1.1) rotate(10deg);
}
/* Download section styles */
.download-card {
text-align: center;
}
.download-button {
display: inline-block;
background-color: var(--primary-color);
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.download-button:hover {
background-color: var(--secondary-color);
transform: translateY(-3px) scale(1.05);
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.watermark {
text-align: center;
padding: 10px 0;
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.8);
font-style: italic;
margin-top: 10px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.watermark a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: all 0.3s ease;
font-weight: bold;
}
.watermark a:hover {
color: #fff;
text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
/* Footer styles */
footer {
background-color: #1e40af;
color: #fff;
padding: 40px 0;
text-align: center;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}
.footer-section {
margin-bottom: 20px;
}
.footer-section h3 {
font-size: 1.2rem;
margin-bottom: 10px;
position: relative;
}
.footer-section h3::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 50px;
height: 2px;
background-color: #fff;
}
.footer-section ul {
list-style: none;
padding: 0;
}
.footer-section ul li {
margin-bottom: 10px;
}
.footer-section ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-section ul li a:hover {
color: #60a5fa;
}
.copyright {
margin-top: 20px;
font-size: 0.9rem;
}
.watermark {
margin-top: 10px;
font-size: 0.8rem;
}
.watermark a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
.watermark a:hover {
color: #60a5fa;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fadeInUp {
animation: fadeInUp 0.6s ease forwards;
}
@keyframes float {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
100% {
transform: translateY(0px);
}
}
.float {
animation: float 3s ease-in-out infinite;
}
/* Responsive styles */
@media (max-width: 768px) {
.header-content {
flex-wrap: wrap;
}
.mobile-menu-toggle {
display: block;
}
nav ul {
display: none;
flex-direction: column;
position: absolute;
top: 100%;
left: 0;
width: 100%;
background-color: var(--bg-color);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
transform: scaleY(0);
transform-origin: top;
transition: transform 0.3s ease, opacity 0.3s ease;
opacity: 0;
}
nav ul.show {
display: flex;
transform: scaleY(1);
opacity: 1;
}
nav ul li {
margin: 10px 0;
}
.hero h2 {
font-size: 2rem;
}
.hero p {
font-size: 1rem;
}
}
.footer-section a {
color: #fff;
text-decoration: none;
}
.footer-section a:hover {
color: #bfdbfe;
}
/* Mobile menu button animations */
.mobile-menu-toggle {
transition: transform 0.3s ease;
position: relative;
z-index: 1001;
}
.mobile-menu-toggle.active {
transform: rotate(90deg);
}
nav ul {
transition: all 0.3s ease-in-out;
transform-origin: top;
transform: scaleY(0);
opacity: 0;
}
nav ul.show {
transform: scaleY(1);
opacity: 1;
}
</style>
</head>
<body>
<header id="header">
<div class="container">
<div class="header-content">
<div class="logo">
<a href="./"> <!--it is correct here tho-->
<img src="img/logo.png" alt="NMAMIT ACT logo">
</a>
<div class="logo-text">
<a href="./" style="text-decoration: none; color: inherit;">
<h1>ACT NMAMIT</h1>
<p>B.Tech EnC with ACT</p>
</a>
</div>
</div>
<nav>
<button class="mobile-menu-toggle" aria-label="Toggle mobile menu">☰</button>
<ul>
<li><a href="./">Home</a></li>
<li><a href="./#about">About</a></li>
<li><a href="./#student-life">Student Life</a></li>
<li><a href="./downloads">Downloads</a></li>
<li><a href="./faculty">Faculty</a></li>
<li><a href="./class-representatives">Class Representatives</a></li>
<li><a href="./contact">Contact</a></li>
</ul>
</nav>
<button class="theme-toggle" aria-label="Toggle theme">🌓</button>
</div>
</div>
<div class="highlight">
<p>Advanced Communication Technology</p>
</div>
</header>
<main>
<section id="home" class="hero">
<div class="hero-content">
<h2 class="float pulse">B.Tech EnC with ACT</h2>
<p class="slide-in-left">Shaping the Future of Communication Technology</p>
<a href="#about" class="cta-button slide-in-right">Explore Our Program</a>
</div>
</section>
<section id="about">
<div class="container">
<h2>About Our Program</h2>
<div class="grid">
<div class="card animate-fadeInUp">
<div class="card-icon">📡</div>
<h3>Advanced Communication</h3>
<p>Learn cutting-edge communication technologies and protocols.</p>
</div>
<div class="card animate-fadeInUp">
<div class="card-icon">🔬</div>
<h3>Hands-on Labs</h3>
<p>Gain practical experience in state-of-the-art laboratories.</p>
</div>
<div class="card animate-fadeInUp">
<div class="card-icon">👨🏫</div>
<h3>Expert Faculty</h3>
<p>Learn from experienced professors and industry experts.</p>
</div>
<div class="card animate-fadeInUp">
<div class="card-icon">🔬</div>
<h3>Research Opportunities</h3>
<p>Engage in innovative research projects and publications.</p>
</div>
</div>
</div>
</section>
<section id="student-life">
<div class="container">
<h2>Student Life</h2>
<div class="grid">
<div class="card animate-fadeInUp">
<div class="card-icon">👥</div>
<h3>Student Clubs</h3>
<p>Join various technical and non-technical clubs to explore your interests and develop new skills.</p>
</div>
<div class="card animate-fadeInUp">
<div class="card-icon">💡</div>
<h3>Workshops</h3>
<p>Participate in hands-on workshops and seminars to gain practical knowledge and stay updated with industry trends.</p>
</div>
<div class="card animate-fadeInUp">
<div class="card-icon">🏆</div>
<h3>Competitions</h3>
<p>Showcase your skills in national and international competitions to challenge yourself and gain recognition.</p>
</div>
<div class="card animate-fadeInUp">
<div class="card-icon">🚀</div>
<h3>Projects</h3>
<p>Work on exciting projects with real-world applications to build your portfolio and gain practical experience.</p>
</div>
</div>
</div>
</section>
</main>
<footer>
<div class="container">
<div class="footer-content">
<div class="footer-section">
</div>
<div class="footer-section">
<h3>Quick Links</h3>
<ul>
<li><a href="./#about">About Us</a></li>
<li><a href="./#student-life">Student Life</a></li>
<li><a href="downloads">Downloads</a></li>
<li><a href="faculty">Faculty</a></li>
<li><a href="class-representatives">Class Representatives</a></li>
<li><a href="contact">Contact</a></li>
<li><a href="https://github.com/nmaco-in/act.nmamit.git" target="_blank">Source Code</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Contact</h3>
<br>Email: <a href="mailto:anish@nmaco.in">anish@nmaco.in</a></p>
</div>
</div>
<div class="copyright">
<p style="font-size: 0.8rem; margin-top: 10px; opacity: 0.8;">This website is created and maintained by students and is not officially affiliated with NMAMIT Nitte.</p>
<div class="max-w-7xl mx-auto px-4 text-center">
Made with <span class="text-red-500">❤️</span> by
<a href="https://nmaco.in/team" target="_blank" class="text-white underline hover:text-white transition" rel="noopener">
<span style="color: white; text-decoration: underline;">NMA CO. Team</span>
</a>
</p>
</a>
</p>
</div>
</div>
</div>
</footer>
<script>
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Header hide/show on scroll with smooth transition
let lastScrollTop = 0;
const header = document.getElementById('header');
window.addEventListener('scroll', () => {
let scrollTop = window.pageYOffset || document.documentElement.scrollTop;
if (scrollTop > lastScrollTop) {
header.style.transform = 'translateY(-100%)';
} else {
header.style.transform = 'translateY(0)';
}
lastScrollTop = scrollTop;
});
// Intersection Observer for section animations
const sections = document.querySelectorAll('section');
const observerOptions = {
root: null,
rootMargin: '0px',
threshold: 0.1
};
const sectionObserver = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('section-visible');
if (entry.target.id === 'home') {
entry.target.classList.add('hero-visible');
}
observer.unobserve(entry.target);
}
});
}, observerOptions);
sections.forEach(section => {
sectionObserver.observe(section);
});
// Animate cards on scroll with staggered delay
const cards = document.querySelectorAll('.card');
const cardObserver = new IntersectionObserver((entries, observer) => {
entries.forEach((entry, index) => {
if (entry.isIntersecting) {
setTimeout(() => {
entry.target.classList.add('animate-fadeInUp');
}, index * 100);
observer.unobserve(entry.target);
}
});
}, observerOptions);
cards.forEach(card => {
cardObserver.observe(card);
});
// Download button click simulation with visual feedback
const downloadButtons = document.querySelectorAll('.download-button');
downloadButtons.forEach(button => {
button.addEventListener('click', (e) => {
e.preventDefault();
button.textContent = 'Downloading...';
button.style.backgroundColor = '#4CAF50';
setTimeout(() => {
button.textContent = 'Downloaded!';
setTimeout(() => {
button.textContent = 'Download';
button.style.backgroundColor = '';
}, 2000);
}, 2000);
});
});
// Parallax effect for hero section
window.addEventListener('scroll', () => {
const scrollPosition = window.pageYOffset;
document.querySelector('.hero').style.backgroundPositionY = scrollPosition * 0.7 + 'px';
});
// Random color change for card icons on hover
const cardIcons = document.querySelectorAll('.card-icon');
const colors = ['#1e40af', '#2563eb', '#3b82f6', '#60a5fa', '#93c5fd'];
cardIcons.forEach(icon => {
icon.addEventListener('mouseover', () => {
icon.style.color = colors[Math.floor(Math.random() * colors.length)];
});
icon.addEventListener('mouseout', () => {
icon.style.color = '';
});
icon.classList.add('pulse');
});
// Mobile menu toggle with animation
const mobileMenuToggle = document.querySelector('.mobile-menu-toggle');
const navMenu = document.querySelector('nav ul');
mobileMenuToggle.addEventListener('click', () => {
mobileMenuToggle.classList.toggle('active');
navMenu.classList.toggle('show');
mobileMenuToggle.setAttribute('aria-expanded', navMenu.classList.contains('show'));
});
// Close mobile menu when clicking outside
document.addEventListener('click', (e) => {
if (!e.target.closest('nav') && !e.target.closest('.mobile-menu-toggle')) {
mobileMenuToggle.classList.remove('active');
navMenu.classList.remove('show');
mobileMenuToggle.setAttribute('aria-expanded', 'false');
}
});
// Theme toggle functionality
const themeToggle = document.querySelector('.theme-toggle');
const body = document.body;
themeToggle.addEventListener('click', () => {
body.classList.toggle('dark-theme');
themeToggle.textContent = body.classList.contains('dark-theme') ? '☀️' : '🌓';
});
// Add this after the existing card animations
const animatedElements = document.querySelectorAll('.slide-in-left, .slide-in-right');
const animationObserver = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.style.visibility = 'visible';
entry.target.classList.add('animate');
observer.unobserve(entry.target);
}
});
}, observerOptions);
animatedElements.forEach(el => {
el.style.visibility = 'hidden';
animationObserver.observe(el);
});
// Register service worker
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('./service-worker.js')
.then((registration) => {
console.log('ServiceWorker registration successful with scope: ', registration.scope);
})
.catch((error) => {
console.log('ServiceWorker registration failed: ', error);
});
});
}
// Handle the beforeinstallprompt event
let deferredPrompt;
const addBtn = document.createElement('button');
addBtn.textContent = '';
addBtn.style.display = 'none';
document.body.appendChild(addBtn);
window.addEventListener('beforeinstallprompt', (e) => {
// Prevent the mini-infobar from appearing on mobile
e.preventDefault();
// Stash the event so it can be triggered later.
deferredPrompt = e;
// Update UI notify the user they can install the PWA
addBtn.style.display = 'block';
addBtn.addEventListener('click', () => {
// Hide the app provided install promotion
addBtn.style.display = 'none';
// Show the install prompt
deferredPrompt.prompt();
// Wait for the user to respond to the prompt
deferredPrompt.userChoice.then((choiceResult) => {
if (choiceResult.outcome === 'accepted') {
console.log('User accepted the install prompt');
} else {
console.log('User dismissed the install prompt');
}
deferredPrompt = null;
});
});
});
</script>
</body>
</html>