-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
270 lines (251 loc) · 12.1 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
<!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">
<link rel="stylesheet" href="assets/vendor/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.15.4/css/all.css">
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<link rel="stylesheet" href="assets/css/components.css">
<title>Undangan Pernikahan Akbar & Vindy</title>
</head>
<body style="overflow-y: scroll">
<audio autoplay loop id="audio1">
<source src="assets/audio/music.mp3" type="audio/mpeg">
</audio>
<div class="overlay" style="position: fixed; background: rgba(255, 255, 255, 0.9); z-index: 99; height: 100%; width: 100%; left: 0; top: 0; overflow: hidden; display: none;">
<div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center;">
<h1 class="color2" style="text-transform: uppercase; font-size: 14pt;">WEDDING INVITATION</h1>
<img class="mb-2" src="assets/img/plane-white.svg" >
<br>
<img src="assets/img/amplopundangan-3x.png" style="margin-bottom: 40px" width="100px">
<br>
<h4 style="font-size: 10pt; font-family: Montserrat; font-weight: 400;">Kepada Bapak/Ibu/Saudara/i</h4>
<h5 id="to" class="color2 my-4" style="text-transform: uppercase; font-size: 14pt;"></h5>
<h4 style="font-size: 10pt; font-family: Montserrat; font-weight: 400;" class="mb-4">Kami Mengundangan Anda Untuk Hadir Di Acara Pernikahan Kami.</h4>
<button class="btn bg-color2" id="btn-lihat">Lihat Undangan</button>
</div>
</div>
<div class="flex">
<div class="wrap-fixed">
<div class="btn bg-color2 px-3 py-1 shadow" data-muted="false" id="mediacontrol" style="font-size: 14pt; display: none;">
<i class="fas fa-volume"></i>
</div>
</div>
<div class="leftPanel" id="home">
<div class="full-img" >
<div class="ornamen ornamen-left-top">
<img src="assets/img/floral+8+top-left.png" >
</div>
<div class="ornamen ornamen-right-top">
<img src="assets/img/floral+8+top-right.png" >
</div>
<div class="ornamen ornamen-left-bot">
<img src="assets/img/floral+8+bot-left.png" >
</div>
<div class="ornamen ornamen-right-bot">
<img src="assets/img/floral+8+bot-right.png" >
</div>
</div>
<div class="heading-title">
<div class="wedding-title">Wedding Invitation</div>
<br>
<div class="my-4">
<div class="couple-big-name mt-4">
Akbar
<div style="margin: 13% 0%;">&</div>
Vindy
</div>
</div>
<br>
<div class="wedding-title">
<span>16 Januari 2022</span>
</div>
</div>
</div>
<div class="rightPanel rl-flex" style="display: none;">
<div class="title mt-2 aos-init aos-animate" data-aos="zoom-in" data-aos-delay="900">
<h1>Assalamualaikum Wr. Wb.</h1>
<div class="quote">Tanpa mengurangi rasa hormat, Kami mengundang Bapak/Ibu/Saudara/i serta kerabat sekalian untuk menghadiri acara pernikahan kami:</div>
</div>
<div class="title mt-2 aos-init aos-animate" data-aos="zoom-in" data-aos-delay="900">
<div id="couple">
<h1>Mempelai</h1>
<div class="img-wrapper">
<img src="assets/img/couple1.jpg" alt="Mempelai Pria">
</div>
<br>
<p class="couple-detail">Ali Akbar</p>
<div class="img-wrapper">
<img src="assets/img/couple2.jpg" alt="Mempelai Wanita">
</div>
<br>
<p class="couple-detail">Vindy Ayuningrum</p>
</div>
</div>
<div class="title mt-5 aos-init aos-animate" data-aos="zoom-in" data-aos-delay="900">
<div id="galeri">
<h1>Galeri</h1>
<div class="img-wrapper">
<img src="assets/img/galeri1.jpg" alt="Galeri 1">
</div>
<div class="img-wrapper">
<img src="assets/img/galeri2.jpg" alt="Galeri 4">
</div>
<div class="img-wrapper">
<img src="assets/img/galeri3.jpg" alt="Galeri 3">
</div>
</div>
</div>
<div class="title mt-5 aos-init aos-animate" data-aos="zoom-in" data-aos-delay="900">
<div>
<h1>Undangan</h1>
<div>
<h1 class="name-undangan-priawanita">Ali Akbar</h1>
<div>
<p style="line-height: 24px; padding: 20px 35px; font-family: Montserrat; font-weight: 400; color: #333; font-size: 14px; margin : 0!important">
Putra kedua dari Bapak Nasun dan Ibu Yayah
</p>
</div>
</div>
<h4 style="font-size: 10pt; font-family: Montserrat; font-weight: 400; letter-spacing: normal; margin-bottom: 10px;">Dengan</h4>
<div>
<h1 class="name-undangan-priawanita">Vindy Ayuningrum</h1>
<div>
<p style="line-height: 24px; padding: 20px 35px; font-family: Montserrat; font-weight: 400; color: #333; font-size: 14px; margin : 0!important">
Putri pertama dari Bapak Hermanto dan Ibu Endang
</p>
</div>
</div>
</div>
</div>
<div class="title mt-5 aos-init aos-animate" data-aos="zoom-in" data-aos-delay="900">
<div>
<div>
<h1>Akad Nikah</h1>
</div>
<div class="standard">16 Januari 2022</div>
<div class="standard">08.00 sd 10.30</div>
<div class="standard">Jl. Pondok Jagung Timur RT01/02 Kec. Serpong Utara Kel. Pondok Jagung Timur Kota Tangerang Selatan</div>
</div>
</div>
<div class="title mt-5 aos-init aos-animate" data-aos="zoom-in" data-aos-delay="900">
<div>
<div>
<h1>Resepsi Nikah</h1>
</div>
<div class="standard">16 Januari 2022</div>
<div class="standard">10.30 sd selesai</div>
</div>
</div>
<div class="title mt-5 aos-init aos-animate" data-aos="zoom-in" data-aos-delay="900">
<div>
<div>
<h1>Peta Resepsi Nikah</h1>
</div>
<div style="width: 300px; text-align: center;" class=" mx-auto">
<img src="assets/img/bcpeta.jpeg" alt="barcode peta">
</div>
<div class="standard">Jl. Pondok Jagung Timur RT01/02 Kec. Serpong Utara Kel. Pondok Jagung Timur Kota Tangerang Selatan</div>
</div>
</div>
<div class="title mt-5 aos-init aos-animate" data-aos="zoom-in" data-aos-delay="900">
<div>
<div>
<h1>Panduan Tamu</h1>
</div>
<div class="standard">1. Tamu dimohon menggunakan masker</div>
<div class="standard">2. Tamu dimohon untuk memantuhi protokol kesehatan</div>
</div>
</div>
<div class="title my-5 aos-init aos-animate" style="width: 100%; height:300px;" data-aos="zoom-in" data-aos-delay="900">
<img src="assets/img/save+the+date+floral+8.svg" width="60%">
</div>
</div>
</div>
</div>
<div class="tab-bottom d-flex justify-content-around align-items-center d-md-none bg-light py-2 " style="position: fixed; bottom: 0 ; left: 0; width: 100%; box-sizing: border-box; background-color: #fff; border-top: 1px solid #ececec;">
<div class="tab-item active" data-target="home">
<img src="assets/icon/home_inactive.svg" class="tab-icon">
<br>
<span>Home</span>
</div>
<div class="tab-item" data-target="couple">
<img src="assets/icon/couple_inactive.svg" class="tab-icon">
<br>
<span>Couple</span>
</div>
<div class="tab-item" data-target="galeri">
<img src="assets/icon/galeri_inactive.svg" class="tab-icon">
<br>
<span clas>Galeri</span>
</div>
</div>
<script src="assets/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
var getUrlParameter = function getUrlParameter(sParam) {
var sPageURL = window.location.search.substring(1),
sURLVariables = sPageURL.split('&'),
sParameterName,
i;
for (i = 0; i < sURLVariables.length; i++) {
sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] === sParam) {
return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]);
}
}
return false;
};
let to = getUrlParameter('to') ;
if(typeof to === 'string') {
to = to.toLowerCase()
to = to.replaceAll('+', ' ')
to = to.replaceAll('dan', '&')
$('#to').text(to)
$('body').css('overflow-y', 'hidden')
$('.overlay').show()
} else {
$('.rightPanel').show()
$('#mediacontrol').show()
$('#audio1').get(0).play()
AOS.init();
}
$(document).ready(function() {
$('#mediacontrol').click(function(){
if($(this).data('muted') === "false") {
$(this).find('i').attr('class', 'fas fa-volume-mute')
$(this).data('muted', 'true')
$('#audio1').get(0).muted = true ;
} else {
$(this).find('i').attr('class', 'fas fa-volume')
$(this).data('muted', 'false')
$('#audio1').get(0).muted = false ;
}
})
// alert()
// if($('.tab-bottom').length) {
// $('.leftPanel').attr('style', `height : calc(${$('bo')} - ${$('.tab-bottom').height()}px)!important;`)
// }
$(document).on('click', '.tab-item', function() {
const id = $(this).data('target') ;
$('.tab-item').removeClass('active');
$(this).addClass('active');
$('html, body').animate({
scrollTop: $(`#${id}`).offset().top,
}, 550)
})
$('#btn-lihat').click(function(){
$('body').css('overflow-y', 'scroll');
$('.overlay').hide();
$('.rightPanel').show()
$('#mediacontrol').show()
$('#audio1').get(0).play();
AOS.init();
})
})
</script>
</body>
</html>