-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
674 lines (651 loc) · 24.2 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Class of 65 Graduation Invitation</title>
<link rel="shortcut icon" href="/img/logo_website_65.ico" type="image/x-icon">
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
crossorigin="anonymous"
/>
<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=Overpass:ital,wght@0,100..900;1,100..900&family=Poetsen+One&family=Tangerine:wght@400;700&display=swap"
rel="stylesheet"
/>
<link href="https://fonts.cdnfonts.com/css/tangled" rel="stylesheet" />
<link
href="https://fonts.cdnfonts.com/css/back-to-black-demo"
rel="stylesheet"
/>
<link
href="https://fonts.cdnfonts.com/css/andaluzia-personal-use"
rel="stylesheet"
/>
<!-- simplyCountdown -->
<link rel="stylesheet" href="countdown/simplyCountdown.theme.default.css" />
<script src="countdown/simplyCountdown.min.js"></script>
<link rel="stylesheet" href="style.css" />
<!-- Bootstrap Icons -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"
/>
<!-- <script type="text/javascript">
let current_url = window.location.href;
let cleaned_url = current_url.replace(/#.*$/, "");
window.location.href = "file:///D:/Graduation%20SMANSA%202024/index.html";
</script> -->
</head>
<body>
<section
id="hero"
class="hero w-100 h-100 p-3 mx-auto text-center d-flex justify-content-center align-items-center text-white"
>
<main>
<h1>Graduation Ceremony</h1>
<h4><span class="line"></span>Class of 65<span class="line"></span></h4>
<p class="fst-italic">"Light of Tomorrow (Cahaya Masa Depan)"</p>
</main>
</section>
<section id="home" class="home">
<div class="container reveal">
<div class="row justify-content-center">
<div class="col-md-8 text-center">
<p>
As we stand on the precipice of a new dawn, we invite you to join us in celebrating the closing of one chapter and the opening of another. We warmly invite you to witness the culmination of our journey, as we step forward into the future with hope and promise. This is a day of reflection and anticipation, where past efforts meet future aspirations. Your presence would be a treasured flower in our bouquet of joy.
</p>
<div class="button-container">
<button type="button " id="seeInviteButton" class="btn btn-lg">
See Invitation
</button>
</div>
</div>
</div>
`
</div>
</section>
<nav class="navbar navbar-expand-md bg-transparent sticky-top mynavbar">
<div class="container">
<a class="navbar-brand" href="#">Graduation SMANSA 65</a>
<!-- <button
class="navbar-toggler border-0"
type="button"
data-bs-toggle="offcanvas"
data-bs-target="#offcanvasNavbar"
aria-controls="offcanvasNavbar"
>
<span class="navbar-toggler-icon"></span>
</button> -->
<div
class="offcanvas offcanvas-end"
tabindex="-1"
id="offcanvasNavbar"
aria-labelledby="offcanvasNavbarLabel"
>
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasNavbarLabel">
Graduation SMANSA 65
</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="offcanvas"
aria-label="Close"
></button>
</div>
<!-- <div class="offcanvas-body">
<div class="navbar-nav ms-auto">
<a class="nav-link" href="#home2">Home</a>
<a class="nav-link" href="#info">Information</a>
<a class="nav-link" href="#rsvp">RSVP</a>
<a class="nav-link" href="#gallery">Gallery</a>
</div> -->
</div>
</div>
</div>
</nav>
<section id="home2" class="home2">
<div id="home2container" class="container reveal">
<div class="row justify-content-center">
<div class="col text-center">
<h2>Undangan</h2>
<p>
Masa putih abu Siswa/i Angkatan 65 telah usai, tetapi semua
memorabilia mengalun indah bagai simfoni dalam benak. Tak ada
perpisahan yang tak menyakitkan, tapi marilah kita rayakan
kebersamaan akhir masa putih abu ini dengan perasaan bahagia dan
penuh syukur kepada-Nya <br />
Oleh karena itu, kami mengundang Kakak-kakak dan Wali Murid
angkatan 65 untuk menghadiri acara “Class Of 65 Graduation
Ceremony: Light of Tomorrow (Cahaya Masa Depan)”
</p>
</div>
</div>
</div>
</section>
<section id="info" class="info">
<div class="container">
<div class="row justify-content-center reveal">
<div class="col-md-8 col-10 text-center">
<h2>Informasi Acara</h2>
</div>
</div>
<div class="row justify-content-center reveal">
<div class="col-lg-10 col-md-9 col-10">
<div class="card text-center text-bg-light mb-5">
<div class="card-header">Date</div>
<div class="card-body">
<div class="row justify-content-center">
<div class="col-md-6">
<i1
class="bi bi-calendar2-week-fill d-block"
style="font-size: 4rem"
></i1>
<span1 class="d-block">Monday, 20th of May 2024</span1>
</div>
<div class="col-md-6">
<i2
class="bi bi-clock-fill d-block"
style="font-size: 4rem"
></i2>
<span2 class="d-block">07.00 AM</span2>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row justify-content-center reveal">
<div class="col-lg-10 col-md-9 col-10">
<div class="card text-center text-bg-light mb-5">
<div class="card-header">Location</div>
<div class="card-body">
<div class="row justify-content-center">
<div class="col-md-3">
<h3 class="d-block">Gd. Sesat Agung Bumi Sai Wawai</h3>
<p class="d-block">
Jl. Jendral Sudirman, Imopuro, Metro, Kabupaten Lampung
Tengah, Lampung
</p>
</div>
<div class="col-md-9">
<a
href="https://maps.app.goo.gl/xBXbafLAWwcuyc3Z9"
target="_blank"
class="d-block btn btn-lg"
>Click To Open Maps</a
>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row justify-content-center reveal">
<div class="col-lg-10 col-md-9 col-10">
<div class="card text-center text-bg-light mb-5">
<div class="card-header">Dresscode</div>
<div class="card-body">
<div class="row justify-content-center">
<div class="col-md-3">
<h3-2 class="d-block">"Tangled" Theme Color</h3-2>
<p class="d-block">
Pakaian formal dengan aksen warna seperti pada serial
animasi "Tangled"
</p>
</div>
<div class="col-md-9">
<a
href="img/dresscodecolor.jpg"
data-toggle="lightbox"
data-caption=""
class="d-block btn btn-lg"
>Click To See Dresscode Color Palette</a
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="countdown" class="countdown">
<div class="container">
<div class="row justify-content-center reveal">
<div class="col-xl-7 col-lg-9 col-md-10 col-10 text-center">
<h2>Count the Days</h2>
</div>
</div>
<div class="row justify-content-center reveal">
<div class="col-xl-7 col-lg-9 col-md-10 col-10 text-center">
<div class="card">
<div class="card-body">
<div class="simply-countdown"></div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="rsvp" class="rsvp">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 col-12 text-center reveal rsvpcard-parrent">
<h2>Konfirmasi Kehadiran</h2>
<div id="deskripsi-rsvp" class="rsvpcard">
Isi form di bawah ini untuk melakukan konfirmasi kehadiran. Mohon mengisi informasi dengan sebenar-benarnya!
</div>
</div>
<form
class="row row-cols-md-auto g-3 align-items-center justify-content-center reveal"
method="POST"
action="https://script.google.com/macros/s/AKfycbx4I6vQbM0bfIdleac7KU2agUUyPUyLGRcsu5VS7F9hNMCnYqyIypEO0Z6iXpocY8l7bg/exec"
id="my-form"
>
<div class="col-12">
<div class="mb-3">
<label for="Nama" class="form-label">Nama</label>
<input required aria-required="true" type="text" class="form-control" id="Nama" name="Nama" />
</div>
</div>
<div class="col-12">
<div class="mb-3">
<label for="Kelas" class="form-label">Kelas</label>
<select name="Kelas" id="Kelas" required aria-required="true" class="form-select">
<option value="" disabled selected>Pilih salah satu</option>
<option value="12 IPA 1">12 IPA 1</option>
<option value="12 IPA 2">12 IPA 2</option>
<option value="12 IPA 3">12 IPA 3</option>
<option value="12 IPA 4">12 IPA 4</option>
<option value="12 IPA 5">12 IPA 5</option>
<option value="12 IPA 6">12 IPA 6</option>
<option value="12 IPA 7">12 IPA 7</option>
<option value="12 IPS 1">12 IPS 1</option>
<option value="12 IPS 2">12 IPS 2</option>
</select>
</div>
</div>
<div class="col-12">
<div class="mb-3">
<label for="Jumlah" class="form-label">Jumlah Hadir</label>
<select required aria-required="true" name="Jumlah" id="Jumlah" class="form-select">
<option value="" disabled selected>Pilih salah satu</option>
<option value="1">1 (Hanya Siswa)</option>
<option value="2">2 (1 Siswa & 1 Wali)</option>
</select>
</div>
</div>
<div class="col-12">
<div class="mb-3">
<label for="Status" class="form-label">Konfirmasi</label>
<select required aria-required="true" name="Status" id="Status" class="form-select">
<option value="" disabled selected>Pilih salah satu</option>
<option value="Hadir">Hadir</option>
<option value="Tidak hadir">Tidak Hadir</option>
</select>
</div>
</div>
<div class="col-12" style="margin-top: 37px">
<button type="submit" class="btn">Kirim</button>
</div>
<span class="catatan fst-italic">
*Pastikan form terisi dengan benar, form hanya dapat diisi satu kali
</span>
</form>
</div>
</div>
</section>
<section id="gallery" class="gallery">
<div class="container">
<div class="row justify-content-center reveal">
<div class="col-12 text-center">
<h2>Photo Gallery</h2>
<p>
These are some memorable photos of the Class of 65 ahead of graduation
</p>
</div>
</div>
<div class="row row-cols-lg-4 row-cols-3 justify-content-center">
<div class="col mt-3 reveal">
<a
href="img/gallery/1.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/1.png"
alt="photo 1"
class="img-fluid w-100 rounded"
/>
</a>
</div>
<div class="col mt-3 reveal">
<a
href="img/gallery/2.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/2.png"
alt="photo 2"
class="img-fluid w-100 rounded"
/>
</a>
</div>
<div class="col mt-3 reveal">
<a
href="img/gallery/3.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/3.png"
alt="photo 3"
class="img-fluid w-100 rounded"
/>
</a>
</div>
<div class="col mt-3 reveal">
<a
href="img/gallery/4.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/4.png"
alt="photo 4"
class="img-fluid w-100 rounded"
/>
</a>
</div>
<div class="col mt-3 reveal">
<a
href="img/gallery/5.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/5.png"
alt="photo 5"
class="img-fluid w-100 rounded"
/>
</a>
</div>
<div class="col mt-3 reveal">
<a
href="img/gallery/9.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/9.png"
alt="photo 9"
class="img-fluid w-100 rounded"
/>
</a>
</div>
<div class="col mt-3 reveal">
<a
href="img/gallery/12.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/12.png"
alt="photo 12"
class="img-fluid w-100 rounded"
/>
</a>
</div>
<div class="col mt-3 reveal">
<a
href="img/gallery/16.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/16.png"
alt="photo 16"
class="img-fluid w-100 rounded"
/>
</a>
</div>
<div class="col mt-3 reveal">
<a
href="img/gallery/17.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/17.png"
alt="photo 17"
class="img-fluid w-100 rounded"
/>
</a>
</div>
<div class="col mt-3 reveal">
<a
href="img/gallery/18.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/18.png"
alt="photo 18"
class="img-fluid w-100 rounded"
/>
</a>
</div>
<div class="col mt-3 reveal">
<a
href="img/gallery/19.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/19.png"
alt="photo 19"
class="img-fluid w-100 rounded"
/>
</a>
</div>
<div class="col mt-3 reveal">
<a
href="img/gallery/20.png"
data-toggle="lightbox"
data-caption=""
>
<img
src="img/gallery/thumbnail/20.png"
alt="photo 20"
class="img-fluid w-100 rounded"
/>
</a>
</div>
</div>
</div>
</section>
<footer>
<div class="container">
<div class="row">
<div class="col text-center">
<small class="block">
© 2024 Graduation 65th. All Rights Reserved.
</small>
<small class="block">
Design by
<a target="_blank" href="https://www.instagram.com/zakinizaki">@zakinizaki</a>
<a target="_blank" href="https://www.instagram.com/ifaa.sh">@ifaa.sh</a>
</small>
<ul class="mt-3">
<li>
<a target="_blank" href="https://www.instagram.com/zakinizaki"
><i class="bi bi-instagram"></i
></a>
</li>
<li>
<a target="_blank" href="https://x.com/NizakiZaki"
><i class="bi bi-twitter-x"></i
></a>
</li>
<li>
<a target="_blank" href="https://www.tiktok.com/@nize.nizaki"
><i class="bi bi-tiktok"></i
></a>
</li>
<li>
<a target="_blank" href="https://www.facebook.com/share/AVzEE91yA4gButDe"
><i class="bi bi-facebook"></i
></a>
</li>
<li>
<a target="_blank" href="https://www.youtube.com/@qwzz8572"
><i class="bi bi-youtube"></i
></a>
</li>
</ul>
</div>
</div>
</div>
</footer>
<div id="audio-container">
<audio id="song" autoplay loop>
<source src="Audio/Long-live-BGM.mp3" type="audio/mp3" />
</audio>
<div class="audio-icon-wrapper">
<i class="bi bi-disc"></i>
</div>
</div>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"
></script>
<script src="https://cdn.jsdelivr.net/npm/bs5-lightbox@1.8.3/dist/index.bundle.min.js"></script>
<script>
const stickytop = document.querySelector(".sticky-top");
const offcanvas = document.querySelector(".offcanvas");
offcanvas.addEventListener("show.bs.offcanvas", function () {
stickytop.style.overflow = "visible";
});
offcanvas.addEventListener("hidden.bs.offcanvas", function () {
stickytop.style.overflow = "hidden";
});
</script>
<script>
simplyCountdown(".simply-countdown", {
year: 2024, // required
month: 5, // required
day: 20, // required
hours: 7, // Default is 0 [0-23] integer
words: {
//words displayed into the countdown
days: { singular: "Day", plural: "Days" },
hours: { singular: "Hour", plural: "Hours" },
minutes: { singular: "Minute", plural: "Minutes" },
seconds: { singular: "Second", plural: "Seconds" },
},
});
</script>
<script>
const button = document.querySelector("#seeInviteButton");
const link = document.querySelector("#seeInviteLink");
const hometwo = document.querySelector("#home2");
const homepage = document.querySelector(".home2");
const infopage = document.querySelector(".info");
const navbar = document.querySelector(".navbar");
const countdownpage = document.querySelector(".countdown");
const rsvp = document.querySelector(".rsvp");
const form = document.getElementById("my-form");
const deskripsi_rsvp = document.getElementById("deskripsi-rsvp");
const gallerypage = document.querySelector(".gallery");
const footer = document.querySelector("footer");
const song = document.querySelector("#song");
const audioIconWrapper = document.querySelector(".audio-icon-wrapper");
const audioIcon = document.querySelector(".audio-icon-wrapper i");
let isPlaying = false;
if (localStorage.getItem('rsvp_submitted')) {
form.style.display = 'none'
deskripsi_rsvp.innerHTML = 'Form telah berhasil dikirim. Terimakasih telah mengisi form kehadiran!'
}
button.addEventListener("click", function () {
homepage.style.display = "block";
song.volume = 0.3;
song.play();
isPlaying = true;
audioIconWrapper.style.display = "flex";
infopage.style.display = "block";
navbar.style.display = "block";
footer.style.display = "block";
countdownpage.style.display = "block";
rsvp.style.display = "flex";
gallerypage.style.display = "block";
hometwo.scrollIntoView({ behavior: "smooth" });
hometwo.focus();
// let current_url = window.location.href;
// let new_url = current_url + "#home2";
// window.location.href = new_url;
// setTimeout(function () {
// window.location.href = new_url;
// }, 5000);
});
audioIconWrapper.onclick = function () {
if (isPlaying) {
song.pause();
audioIcon.classList.remove("bi-disc");
audioIcon.classList.add("bi-pause-circle");
} else {
song.play();
audioIcon.classList.add("bi-disc");
audioIcon.classList.remove("bi-pause-circle");
}
isPlaying = !isPlaying;
};
</script>
<script>
window.addEventListener("scroll", reveal);
function reveal() {
var reveals = document.querySelectorAll(".reveal");
for (var i = 0; i < reveals.length; i++) {
var windowheight = window.innerHeight;
var revealtop = reveals[i].getBoundingClientRect().top;
var revealpoint = 50;
if (revealtop < windowheight - revealpoint) {
reveals[i].classList.add("active");
} else {
reveals[i].classList.remove("active");
}
}
}
</script>
<script>
window.addEventListener("load", function () {
const form = document.getElementById("my-form");
form.addEventListener("submit", function (e) {
e.preventDefault();
const data = new FormData(form);
const action = e.target.action;
fetch(action, {
method: "POST",
body: data,
}).then(() => {
const form = document.getElementById("my-form");
const deskripsi_rsvp = document.getElementById("deskripsi-rsvp");
localStorage.setItem('rsvp_submitted', true)
alert("Konfirmasi kehadiran berhasil terkirim!");
form.style.display = 'none';
deskripsi_rsvp.innerHTML = 'Form telah berhasil dikirim. Terimakasih telah mengisi form kehadiran!'
}).catch((error) => {
console.log(error);
});
});
});
</script>
</body>
</html>