-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
766 lines (655 loc) · 23.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Undangan Pernikahan</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
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=Sacramento&family=Work+Sans:wght@100;300;400;600;700&display=swap"
rel="stylesheet"
/>
<!-- SIMPLY COUNTDOWN -->
<link rel="stylesheet" href="countdown/simplyCountdown.theme.default.css" />
<script src="countdown/simplyCountdown.min.js"></script>
<!-- Bootstrap Icon -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- Section Hero Start -->
<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"
>
<div>
<h4>Kepada <span>Bapak/Ibu/Saudara/i, </span></h4>
<h1>Pria & Wanita</h1>
<p>Akan melakukan resepsi pernikahan dalam:</p>
<div class="simply-countdown"></div>
<a href="#home" class="btn btn-lg mt-4" onclick="enableScroll()"
>Lihat Undangan</a
>
</div>
</section>
<!-- Section Hero End -->
<!-- Nav Start -->
<nav class="navbar navbar-expand-md bg-transparent sticky-top mynavbar">
<div class="container">
<a class="navbar-brand" href="#">Wedding</a>
<button
class="navbar-toggler border-0"
type="button"
data-bs-toggle="offcanvas"
data-bs-target="#offcanvasNavbar"
aria-controls="offcanvasNavbar"
aria-label="Toggle navigation"
>
<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">Wedding</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="#home">Home</a>
<a class="nav-link" href="#info">Info</a>
<a class="nav-link" href="#story">Story</a>
<a class="nav-link" href="#gallery">Gallery</a>
<a class="nav-link" href="#rsvp">RSVP</a>
<a class="nav-link" href="#gifts">Gifts</a>
</div>
</div>
</div>
</div>
</nav>
<!-- Nav End -->
<!-- Section Home Start -->
<section class="home" id="home">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 text-center">
<h2>Acara Pernikahan</h2>
<h3>Diselenggarakan pada 29 Januari 2024 di Kediri, Jawa Timur.</h3>
<p>
Oleh karena itu, dengan segala hormat, kami bermaksud mengundang
Bapak/Ibu/Saudara/i, untuk hadir pada acara pernikahan kami.
</p>
</div>
</div>
<div class="row couple">
<div class="col-lg-6">
<div class="row">
<div class="col-8 text-end">
<h3>Nama Pria</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Alias
doloremque repudiandae autem quod quaerat magni.
</p>
<p>
Putra dari Bpk. Lorem <br />
dan <br />
Ibu. Ipsum
</p>
</div>
<div class="col-4">
<img
src="imgs/1.jpg"
alt="foto mempelai"
class="img-resposive rounded-circle"
/>
</div>
</div>
</div>
<span class="heart"><i class="bi bi-heart-fill"></i></span>
<div class="col-lg-6">
<div class="row">
<div class="col-4">
<img
src="imgs/2.jpg"
alt="foto mempelai"
class="img-resposive rounded-circle"
/>
</div>
<div class="col-8">
<h3>Nama Wanita</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Alias
doloremque repudiandae autem quod quaerat magni.
</p>
<p>
Putri dari Bpk. Ipsum <br />
dan <br />
Ibu. Lorem
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Section Home End -->
<!-- Section Info Start -->
<section id="info" class="info">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 col-10 text-center">
<h2>Informasi Acara</h2>
<p class="alamat">
Alamat: Hotel Grand Surya. <br />
Jl. Dhoho No.95, Pakelan, Kec. Kota, Kabupaten Kediri, Jawa Timur
</p>
<iframe
src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d15810.945415635213!2d112.0132129!3d-7.817707!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2e7857107a9b0e79%3A0x31a5250470d9f02b!2sGrand%20Surya%20Hotel%20Kediri!5e0!3m2!1sid!2sid!4v1704695156243!5m2!1sid!2sid"
width="100%"
height="250"
style="border: 0"
allowfullscreen=""
loading="lazy"
referrerpolicy="no-referrer-when-downgrade"
></iframe>
<a
href="https://maps.app.goo.gl/iyBiU1fmwQGa1ukw6"
target="_blank"
class="btn btn-light btn-sm my-3"
>Klik untuk membuka peta</a
>
<p class="description">
Diharapkan untuk memperhatikan tanggal dan lokasi dilaksanakan
acara.
</p>
</div>
</div>
<div class="row justify-content-center mt-4">
<div class="col-md-5 col-10">
<div class="card text-center text-bg-light mb-5">
<div class="card-header">Akad Nikah</div>
<div class="card-body">
<div class="row justify-content-center">
<div class="col-6">
<i class="bi bi-clock d-block"></i>
<span>08.00 - 10.00</span>
</div>
<div class="col-6">
<i class="bi bi-calendar d-block"></i>
<span>Senin, 29 Januari 2024</span>
</div>
</div>
</div>
<div class="card-footer">
Saat acara berlangsung, dimohon untuk tetap kondusif.
</div>
</div>
</div>
<div class="col-md-5 col-10">
<div class="card text-center text-bg-light">
<div class="card-header">Resepsi</div>
<div class="card-body">
<div class="row justify-content-center">
<div class="col-6">
<i class="bi bi-clock d-block"></i>
<span>11.00 - Selesai</span>
</div>
<div class="col-6">
<i class="bi bi-calendar d-block"></i>
<span>Senin, 29 Januari 2024</span>
</div>
</div>
</div>
<div class="card-footer">
Saat acara berlangsung, dimohon untuk tetap kondusif.
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Section Info End -->
<!-- Section Story Start -->
<section id="story" class="story">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 col-10 text-center">
<span>Bagaimana Cinta Kami Bersemi</span>
<h2>Our Story</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Voluptates tempore a beatae, ducimus voluptatem laboriosam.
</p>
</div>
</div>
<div class="row">
<div class="col">
<ul class="timeline">
<li>
<div
class="timeline-img"
style="background-image: url(imgs/story-1.jpg)"
></div>
<div class="timeline-panel">
<div class="timeline-heading">
<h3>First Meet</h3>
<span>June 1, 2015</span>
</div>
<div class="timeline-body">
<p>
Lorem ipsum dolor sit amet consectetur, adipisicing elit.
Nostrum tempore laborum iusto minima rem deleniti.
</p>
</div>
</div>
</li>
<li class="timeline-inverted">
<div
class="timeline-img"
style="background-image: url(https://picsum.photos/300/300)"
></div>
<div class="timeline-panel">
<div class="timeline-heading">
<h3>Second Title</h3>
<span>January 25, 2017</span>
</div>
<div class="timeline-body">
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Aut quisquam expedita ipsum aliquam delectus vitae ab?
Laboriosam, libero?
</p>
</div>
</div>
</li>
<li>
<div
class="timeline-img"
style="background-image: url(https://picsum.photos/301/301)"
></div>
<div class="timeline-panel">
<div class="timeline-heading">
<h3>Third Title</h3>
<span>Marc 25, 2020</span>
</div>
<div class="timeline-body">
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Ipsa eum non eligendi neque velit inventore pariatur
debitis repudiandae alias iste?
</p>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</section>
<!-- Section Story End -->
<!-- Section Gallery Start -->
<section id="gallery" class="gallery">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 col-10 text-center">
<span>Our memory</span>
<h2>Gallery</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Id,
provident.
</p>
</div>
</div>
<div
class="row row-cols-lg-4 row-cols-md-3 row-cols-sm-2 row-cols-1 justify-content-center"
>
<div class="col mt-3">
<a
href="https://picsum.photos/1200/768"
data-toggle="lightbox"
data-gallery="example-gallery"
>
<img
src="https://picsum.photos/300/400"
alt="picture"
class="img-fluid w-100 rouded"
/>
</a>
</div>
<div class="col mt-3">
<a
href="https://picsum.photos/1201/769"
data-toggle="lightbox"
data-gallery="example-gallery"
>
<img
src="https://picsum.photos/301/401"
alt="picture"
class="img-fluid w-100 rouded"
/>
</a>
</div>
<div class="col mt-3">
<a
href="https://picsum.photos/1202/770"
data-toggle="lightbox"
data-gallery="example-gallery"
>
<img
src="https://picsum.photos/302/402"
alt="picture"
class="img-fluid w-100 rouded"
/>
</a>
</div>
<div class="col mt-3">
<a
href="https://picsum.photos/1203/771"
data-toggle="lightbox"
data-gallery="example-gallery"
>
<img
src="https://picsum.photos/303/403"
alt="picture"
class="img-fluid w-100 rouded"
/>
</a>
</div>
<div class="col mt-3">
<a
href="https://picsum.photos/1205/772"
data-toggle="lightbox"
data-gallery="example-gallery"
>
<img
src="https://picsum.photos/304/404"
alt="picture"
class="img-fluid w-100 rouded"
/>
</a>
</div>
<div class="col mt-3">
<a
href="https://picsum.photos/1206/773"
data-toggle="lightbox"
data-gallery="example-gallery"
>
<img
src="https://picsum.photos/305/405"
alt="picture"
class="img-fluid w-100 rouded"
/>
</a>
</div>
</div>
</div>
</section>
<!-- Section Gallery End -->
<!-- Section RSVP Start -->
<section id="rsvp" class="rsvp">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 col-10 text-center">
<h2>Confirmation of Attendance</h2>
<p>Please fill in the following form to confirm your attendance</p>
</div>
</div>
<form
class="row row-cols-md-auto g-3 align-items-center justify-content-center"
method="post"
action="https://script.google.com/macros/s/AKfycbyQ8l6SjJO9q6FvXqElxmGs6J1_B7oljAU97hMS0ZWQfdffjBI4HwJddPaFmpJweocw/exec"
id="my-form"
>
<div class="col-12">
<div class="mb-3">
<label for="name" class="form-label text-white">Name</label>
<input type="text" class="form-control" id="name" name="name" />
</div>
</div>
<div class="col-12">
<div class="mb-3">
<label for="total" class="form-label text-white">Total</label>
<input
type="number"
class="form-control"
id="total"
name="total"
min="1"
max="5"
length="1"
value="1"
/>
</div>
</div>
<div class="col-12">
<div class="mb-3">
<label for="status" class="form-label text-white">Status</label>
<select class="form-select" id="status" name="status">
<option selected>Please pick one</option>
<option value="1">Will be present</option>
<option value="0">Unable to attend</option>
</select>
</div>
</div>
<div class="col-12" style="margin-top: 35px">
<button class="btn btn-primary">Send</button>
</div>
</form>
<div class="row justify-content-center mt-5">
<div class="col-md-6">
<div id="disqus_thread"></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables */
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function () {
// DON'T EDIT BELOW THIS LINE
var d = document,
s = d.createElement("script");
s.src = "https://wedding-trial.disqus.com/embed.js";
s.setAttribute("data-timestamp", +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript
>Please enable JavaScript to view the
<a href="https://disqus.com/?ref_noscript"
>comments powered by Disqus.</a
></noscript
>
</div>
</div>
</div>
</section>
<!-- Section RSVP End -->
<!-- Section Gifts Start -->
<section id="gifts" class="gifts">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 col-10 text-center">
<span>congratulatory expression</span>
<h2>Send Gift</h2>
<p>
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Ipsa,
natus possimus aliquam rerum officia mollitia.
</p>
</div>
</div>
<div class="row justify-content-center text-center">
<div class="col-md-6">
<ul class="list-group">
<li class="list-group-item">
<div class="fw-bold">BCA</div>
1234567890 - Rick
</li>
<li class="list-group-item">
<div class="fw-bold">MANDIRI</div>
0987654321 - Morty
</li>
</ul>
</div>
</div>
</div>
</section>
<!-- Section Gifts End -->
<!-- Footer Start -->
<footer>
<div class="container">
<div class="row">
<div class="col text-center">
<small class="d-block"
>© 2024 Wedding Ceremony. All Right Reserved.</small
>
<small class="d-block"
>Design by. <a href="#">@wibiaditama</a>.</small
>
<ul class="mt-3">
<li>
<a href="#"><i class="bi bi-instagram"></i></a>
</li>
<li>
<a href="#"><i class="bi bi-twitter-x"></i></a>
</li>
<li>
<a href="#"><i class="bi bi-youtube"></i></a>
</li>
<li>
<a href="#"><i class="bi bi-tiktok"></i></a>
</li>
</ul>
</div>
</div>
</div>
</footer>
<!-- Footer End -->
<div id="audio-container">
<audio id="bgm" autoplay loop>
<source src="audio/akad.mp3" type="audio/mp3" />
</audio>
<div class="audio-icon-wrapper" style="display: none">
<i class="bi bi-disc"></i>
</div>
</div>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"
></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.bundle.min.js"></script>
<script>
simplyCountdown(".simply-countdown", {
year: 2024, // required
month: 1, // required
day: 29, // required
hours: 8, // Default is 0 [0-23] integer
words: {
//words displayed into the countdown
days: { singular: "Hari", plural: "Hari" },
hours: { singular: "Jam", plural: "Jam" },
minutes: { singular: "Menit", plural: "Menit" },
seconds: { singular: "Detik", plural: "Detik" },
},
});
</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>
const rootElement = document.querySelector(":root");
const bgm = document.querySelector("#bgm");
const audioIconWrapper = document.querySelector(".audio-icon-wrapper");
const audioIcon = document.querySelector(".audio-icon-wrapper i");
let isPlaying = false;
function disableScroll() {
scrollTop = window.pageYOffset || document.documentElement.scrollTop;
scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;
window.onscroll = function () {
window.scrollTo(scrollTop, scrollLeft);
};
rootElement.style.scrollBehavior = "auto";
}
function enableScroll() {
window.onscroll = function () {};
rootElement.style.scrollBehavior = "smooth";
// localStorage.setItem("opened", "true");
playAudio();
}
function playAudio() {
bgm.volume = 0.1;
audioIconWrapper.style.display = "flex";
bgm.play();
isPlaying = true;
}
audioIconWrapper.addEventListener("click", function () {
if (isPlaying) {
bgm.pause();
audioIcon.classList.remove("bi-disc");
audioIcon.classList.add("bi-pause-circle");
} else {
bgm.play();
audioIcon.classList.add("bi-disc");
audioIcon.classList.remove("bi-pause-circle");
}
isPlaying = !isPlaying;
});
// if (!localStorage.getItem("opened")) {
// }
disableScroll();
</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(() => {
alert("Success!");
});
});
});
</script>
<script>
const urlParams = new URLSearchParams(window.location.search);
const name = urlParams.get("n") || "";
const pronounce = urlParams.get("p") || "Bapak/Ibu/Saudara/i";
const namaContainer = document.querySelector(".hero h4 span");
namaContainer.innerText = `${pronounce} ${name},`.replace(/ ,$/, ",");
document.querySelector("#name").value = name;
</script>
</body>
</html>