-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
448 lines (426 loc) · 22.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Arif Zakaria dan Ifnu Sakdiah Wedding</title>
<link rel="icon" href="img/couple.jpeg" />
<meta name="title" content="Undangan Pernikahan Arif Zakaria & Ifnu Sakdiah" />
<meta classname="meta-description" name="description"
content="Spesial mengundang untuk menghadiri resepsi pernikahan kami. - Arif Zakaria & Ifnu Sakdiah" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Undangan Pernikahan Arif Zakaria & Ifnu Sakdiah" />
<meta classname="meta-description" property="og:description"
content="Spesial mengundang untuk menghadiri resepsi pernikahan kami. - Arif Zakaria & Ifnu Sakdiah " />
<meta property="og:image" content="img/couple.jpeg" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:title" content="Undangan Pernikahan Ifnu & Arif " />
<meta classname="meta-description" property="twitter:description"
content="Spesial mengundang untuk menghadiri resepsi pernikahan kami. - Ifnu & Arif " />
<meta property="twitter:image" content="img/couple.jpeg" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" 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@300;400;600;700&display=swap"
rel="stylesheet" />
<link href="https://fonts.cdnfonts.com/css/amalfi-coast" rel="stylesheet">
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<!-- Simply Countdown -->
<link rel="stylesheet" href="countdown/simplyCountdown.theme.default.css" />
<script src="countdown/simplyCountdown.min.js"></script>
<link rel="stylesheet" href="./style.css" />
</head>
<body class="stop-scrolling" data-aos-easing="ease" data-aos-duration="400" data-aos-delay="0">
<div class="body-single" id="bodysingle">
<div class="fixed z-50 w-full" id="envelope">
<section id="hero"
class="hero w-100 h-100 p-3 mx-auto text-center d-flex justify-content-center align-items-center text-black">
<div class="position-absolute top-0 end-0 z-0 decor-envelope">
<img src="img/bunga-kanan-atas.png" width="400" height="200" alt="dekorasi" />
</div>
<div class="position-absolute bottom-0 start-0 z-0 decor-envelope">
<img src="img/bunga-kiri-bawah.png" width="400" height="200" alt="dekorasi" />
</div>
<main>
<h4 class="amalfi mb-5"><strong>Assalamualaikum Wr. Wb.</strong></h4>
<h4>Kepada YTH. Bapak/Ibu/Saudara/i,</h4>
<p>di Tempat.</p>
<p>Kami mengundang Anda untuk hadir di acara pernikahan kami.</p>
<div class="z-20 block p-inherit font-color-mode">
<div class="text-center pt-20">
<div class="flex justify-center">
<div class="heroImg">
<img class="object-cover m-auto w-44 h-44 rounded-circle border border-4"
src="img/couple.jpeg" width="200" height="200" alt="ifnuarif" />
</div>
</div>
<h1 class="mt-3 mb-3">Arif & Ifnu</h1>
</div>
<div id="openEnvelope">
<a href="#undangan" class="btn btn-lg btn-dark mt-4">Buka Undangan</a>
</div>
</main>
</section>
</div>
</div>
<nav class="navbar navbar-expand-md bg-transparent sticky-top mynavbar" id="undangan">
<div class="container">
<a class="navbar-brand" href="#home">Arif & Ifnu</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">Arif & Ifnu</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 hidden" href="#story">Story</a>
<a class="nav-link hidden" href="#galery">Galery</a>
<a class="nav-link hidden" href="#rsvp">RSVP</a>
<a class="nav-link" href="#gifts">Gifts</a>
</div>
</div>
</div>
</div>
</nav>
<section id="home" class="home">
<div id="musicContainer"
class="bg-color-one font-color-three fixed z-50 bottom-24 left-2 h-12 w-12 overflow-y-scroll flex justify-center items-center rounded-full">
<audio id="music" loop="">
<source src="img/music-wedding.mp3" type="audio/mp3" />
</audio>
<i class="bi bi-play-circle-fill p-2 pl-3 md hidden hydrated" id="musicPlay" style="font-size: 2rem;"></i>
<i class="bi bi-pause-circle-fill p-2 pl-3 md hydrated" id="musicPause" style="font-size: 2rem;"></i>
</div>
<div class="position-absolute top-0 end-0 z-0">
<img src="img/bunga-kanan-atas.png" width="400" height="200" alt="dekorasi" />
</div>
<div class="position-absolute bottom-0 start-0 z-0 decor-envelope">
<img src="img/bunga-kiri-bawah.png" width="400" height="200" alt="dekorasi" />
</div>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 text-center">
<h2>Acara Pernikahan</h2>
<p>Diselenggarakan pada:</p>
<h3>Sabtu, 2 September 2023</h3>
<div class="simply-countdown mb-2"></div>
<a href="https://www.google.com/calendar/event?action=TEMPLATE&text=Syukuran+Ifnu+%26+Arif+&details=Syukuran&location=jl.+Flobamora%2C+kampung+tua+tanjung+buntung+blok+E+no+15%2F16&dates=20230902T120000/20230902T220000&ctz=Asia%2FJakarta"
target="_blank" type="button"
class="btn btn-dark text-orange-900 border-orange-900 relative z-10">
Buat pengingat
</a>
<p class="text-center text-sm font-color-three font-four whitespace-pre-line aos-init aos-animate mt-4"
data-aos="fade-up" data-aos-duration="800">
Dengan memohon Rahmat dan Ridho Allah SWT, Kami bermaksud mengundang Bapak/Ibu/Saudara/i untuk
hadir dalam pernikahan putra/putri kami:
</p>
</div>
</div>
<div class="row couple">
<div class="col-lg-6">
<div class="row">
<div class="col-8 text-end">
<h3>Arif Zakaria</h3>
<p>Putra dari<br>Bapak Dwi Supriyono & Ibu Kom Saadah</p>
</div>
<div class="col-4">
<img src="img/arif.jpeg" alt="Arif Zakaria" class="img-responsive 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="img/ifnu.jpeg" alt="Arif Zakaria" class="img-responsive rounded-circle">
</div>
<div class="col-8">
<h3>Ifnu Sakdiah</h3>
<p>Putri dari<br>Bapak Maryono & Ibu Suwarni Bin Makruf</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="info" class="info">
<div class="position-absolute top-0 end-0 z-0 decor-envelope">
<img src="img/bunga-kanan-atas.png" width="400" height="200" alt="dekorasi" />
</div>
<div class="position-absolute bottom-0 start-0 z-0 decor-envelope">
<img src="img/bunga-kiri-bawah.png" width="400" height="200" alt="dekorasi" />
</div>
<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">Kami sangat berharap Bapak/Ibu/Saudara/i dapat hadir di acara
yang spesial ini:</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">
<p>KUA Lubuk Baja</p>
<div class="col-md-6">
<i class="bi bi-clock d-block"></i>
<span>08:00 - selesai</span>
</div>
<div class="col-md-6">
<i class="bi bi-calendar-heart d-block"></i>
<span>2 September 2023</span>
</div>
</div>
</div>
<div class="card-footer">
<a href="https://www.google.com/maps/search/?api=1&query=KUA%20Lubuk%20Baja,%20Baloi%20Indah,%20Kota Batam,%20Kepulauan Riau"
target="_blank" rel="noopener noreferrer" class="btn btn-dark btn-sm my-2"><i
class="bi bi-geo-alt"></i> Lihat peta</a>
</div>
</div>
</div>
<div class="col-md-5 col-10">
<div class="card text-center text-bg-light">
<div class="card-header">
Syukuran
</div>
<div class="card-body">
<div class="row justify-content-center">
<p>jl. Flobamora, Kampung Tua - Tanjung Buntung<br>blok E no
15/16</p>
<div class="col-md-6">
<i class="bi bi-clock d-block"></i>
<span>12:00 - 22:00</span>
</div>
<div class="col-md-6">
<i class="bi bi-calendar-heart d-block"></i>
<span>2 September 2023</span>
</div>
</div>
</div>
<div class="card-footer">
<a href="https://www.google.com/maps/search/?api=1&query=1°10'30.3,%20104°01'44.1"
target="_blank" rel="noopener noreferrer" class="btn btn-dark btn-sm my-2"><i
class="bi bi-geo-alt"></i> Lihat peta</a>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="story" class="story hidden">
<div class="position-absolute top-0 end-0 z-0 decor-envelope">
<img src="img/bunga-kanan-atas.png" width="400" height="200" alt="dekorasi" />
</div>
<div class="position-absolute bottom-0 start-0 z-0 decor-envelope">
<img src="img/bunga-kiri-bawah.png" width="400" height="200" alt="dekorasi" />
</div>
<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>Cerita Kami</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Optio, non.</p>
</div>
</div>
</div>
</section>
<section class="gifts" id="gifts">
<div class="position-absolute top-0 end-0 z-0 decor-envelope">
<img src="img/bunga-kanan-atas.png" width="400" height="200" alt="dekorasi" />
</div>
<div class="position-absolute bottom-0 start-0 z-0 decor-envelope">
<img src="img/bunga-kiri-bawah.png" width="400" height="200" alt="dekorasi" />
</div>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 col-10 text-center">
<h2>Amplop Digital</h2>
<p>Doa Restu Anda merupakan karunia yang
sangat berarti bagi kami.<br />
Dan jika memberi adalah ungkapan tanda kasih,
Anda dapat memberi kado secara cashless.</p>
<div class="pt-16 mb-10">
<div class="bg-color-three p-2 aos-init aos-animate" data-aos="fade-down"
data-aos-duration="800">
<div class="rek">
<p class="text-center text-sm">
BCA a/n Ifnu Sakdiah
</p>
<p class="text-center text-sm" data-bs-toggle="modal" data-bs-target="#modal1">
<strong id="myText1">8335379329</strong>
</p>
<p class="text-center text-sm mt-2">
BCA a/n Arif Zakaria
</p>
<p class="text-center text-sm" data-bs-toggle="modal" data-bs-target="#modal2">
<strong id="myText2">8335417905</strong>
</p>
<p class="text-center fs-6 mt-2">
<i>*klik no rekening untuk menyalin</i>
</p>
</div>
</div>
</div>
<p class="text-center fs-5 aos-init aos-animate mt-4" data-aos="fade-up" data-aos-duration="800">
Atas kehadiran dan do’a restu dari Bapak/Ibu/Saudara/I sekalian, kami mengucapkan Terima Kasih.
</p>
<p class="amalfi mt-5"><strong>Wassalamualaikum Wr. Wb.</strong></p>
</div>
<!-- Modal -->
<div class="modal fade" id="modal1" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Teralin</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
No rek. Ifnu Sakdiah sudah tersalin
</div>
</div>
</div>
</div>
<div class="modal fade" id="modal2" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Teralin</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
No rek. Arif Zakaria sudah tersalin
</div>
</div>
</div>
</div>
</section>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"></script>
<script>
simplyCountdown('.simply-countdown', {
year: 2023, // required
month: 9, // required
day: 2, // required
hours: 8, // Default is 0 [0-23] integer
minutes: 0, // Default is 0 [0-59] integer
seconds: 0, // Default is 0 [0-59] 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' }
},
plural: false, //use plurals
inline: false, //set to true to get an inline basic countdown like : 24 days, 4 hours, 2 minutes, 5 seconds
inlineClass: 'simply-countdown-inline', //inline css span class in case of inline = true
// in case of inline set to false
enableUtc: false,
onEnd: function () {
// your code
return;
},
refresh: 1000, //default refresh every 1s
sectionClass: 'simply-section', //section css class
amountClass: 'simply-amount', // amount css class
wordClass: 'simply-word', // word css class
zeroPad: false,
countUp: false, // enable count up if set to true
});
</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 myModal = document.getElementById('modal1')
const myInput = document.getElementById('click1')
myModal.addEventListener('shown.bs.modal', () => {
myInput.focus()
})
let text1 = document.getElementById('myText1').innerHTML;
let text2 = document.getElementById('myText2').innerHTML;
const copy1 = async () => {
try {
await navigator.clipboard.writeText(text1);
alert('No rek. Ifnu Sakdiah sudah tersalin');
} catch (err) {
console.error('Failed to copy: ', err);
}
}
const copy2 = async () => {
try {
await navigator.clipboard.writeText(text2);
alert('No rek. Arif Zakaria sudah tersalin');
} catch (err) {
console.log('Failed to copy:', err);
}
}
</script>
<script>
function isMobile() {
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
navigator.userAgent
);
}
let isPlay = false;
history.scrollRestoration = "manual";
window.scrollTo(0, 0);
const openEnvelopeButton = document.getElementById("openEnvelope");
const envelope = document.getElementById("envelope");
const hero = document.querySelector(".hero");
const musicContainer = document.getElementById("musicContainer");
const music = document.getElementById("music");
openEnvelopeButton.addEventListener("click", () => {
envelope.classList.add("close-envelope");
hero.classList.add = "hidden";
document.body.classList.remove("stop-scrolling");
musicContainer.classList.remove("hidden");
music.play();
isPlay = true;
});
const musicPlayButton = document.getElementById("musicPlay");
const musicPauseButton = document.getElementById("musicPause");
musicPlayButton.addEventListener("click", () => {
musicPlayButton.classList.add("hidden");
musicPauseButton.classList.remove("hidden");
if (!isPlay) {
music.play();
isPlay = true;
} else {
music.muted = false;
}
});
musicPauseButton.addEventListener("click", () => {
musicPauseButton.classList.add("hidden");
musicPlayButton.classList.remove("hidden");
music.muted = true;
});
</script>
</body>
</html>