forked from yanfranve/mi-boda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
396 lines (307 loc) · 16.4 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>MI BODA</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<!-- <script defer src="./js/app.js" ></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/js/bootstrap.min.js"></script> -->
<link rel="icon" sizes="192x192"
href="https://static.wixstatic.com/media/f31768_399496c9e1204b6ab3a23f45b81d3410%7Emv2.png/v1/fill/w_32%2Ch_32%2Clg_1%2Cusm_0.66_1.00_0.01/f31768_399496c9e1204b6ab3a23f45b81d3410%7Emv2.png">
<link rel="shortcut icon"
href="https://static.wixstatic.com/media/f31768_399496c9e1204b6ab3a23f45b81d3410%7Emv2.png/v1/fill/w_32%2Ch_32%2Clg_1%2Cusm_0.66_1.00_0.01/f31768_399496c9e1204b6ab3a23f45b81d3410%7Emv2.png"
type="image/png">
<link rel="apple-touch-icon"
href="https://static.wixstatic.com/media/f31768_399496c9e1204b6ab3a23f45b81d3410%7Emv2.png/v1/fill/w_180%2Ch_180%2Clg_1%2Cusm_0.66_1.00_0.01/f31768_399496c9e1204b6ab3a23f45b81d3410%7Emv2.png"
type="image/png">
<link rel="icon"
href="https://static.wixstatic.com/media/f31768_399496c9e1204b6ab3a23f45b81d3410%7Emv2.png/v1/fill/w_192%2Ch_192%2Clg_1%2Cusm_0.66_1.00_0.01/f31768_399496c9e1204b6ab3a23f45b81d3410%7Emv2.png"
type="image/png">
<link rel="stylesheet" href="./css/estilos.css">
</head>
<body>
<!-- <div class="color-background"></div> -->
<div class="container text-center">
<div class="container-fluid">
<div class="row mb-1 mt-5">
<header class="mb-5">
</header>
<div class="disp col-md-12 mb-1 mt-5">
<h1 class="displa ">Nuestra Boda</h1>
</div>
<div class=" col-md-12 mt-1">
<img src="./img/img6.png" alt="Imagen" class="responsive-image img-fluid" />
</div>
</div>
</div>
<div class="row container tex-center">
<p class="text-center fs-4 fw-bolder">
"El que halla esposa halla<br> el
bien, Y alcanza <br>la benevolencia
<br> de Jehová"
Proverbios 18:22
</p>
</div>
<!-- Contenido de la página debajo del encabezado -->
<div class="container text-center">
<div class="content2 tex-center">
<h1 class="display -3 ">Elena & Javier</h1>
<p class="text-center fs-5 fw-bolder font-italic ">
Con la bendición de Dios<br> y de nuestras Madres<br>
tenemos el Honor <br>de invitarles a nuestra unión<br>
en Matrimonio Civil <br>que se llevará a acabo:
</p>
</div>
</div>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-3 mx-auto d-flex justify-content-center">
<div class="col-md ">
<div class="event text-center">
<h2>CEREMONIA</h2>
<h2 class="mi-h2-especifico"> SABADO 11 NOVIEMBRE 2024</h2>
<h2>4:00 pm</h2>
<label class="event-label">LUGAR:</label>
<p>Hotel Alamo Internacional</p>
<p>Lomas de San Francisco, final calle 3,#7 Antiguo Cuscatlan</p>
</div>
</div>
</div>
<div class="col-md-6 mx-auto text-center mt-1 d-flex justify-content-center ">
<div class="event">
<h2>Itinerario</h2>
<div class="event-items">
<div class="event-item">
<span class="icon"><img src="./img/descarga.png" alt="Icono Ceremonia de Bodas"
class="icon-image"></span>
<span class="event-time">4:00pm</span>
<p>Inicio..............</p>
</div>
<div class="event-item">
<span class="icon"><img src="./img/Imagen1.svg" alt="Icono Ceremonia de Bodas"
class="icon-image"></span>
<span class="event-time">4:15pm</span>
<p>Ceremonia......</p>
</div>
<div class="event-item">
<span class="icon"><img src="./img/Imgp.png" alt="Icono Ceremonia de Bodas" class="icon-image"></span>
<span class="event-time">5:30pm</span>
<p>Break..............</p>
</div>
<div class="event-item">
<span class="icon"><img src="./img/Imgfo.png" alt="Icono Ceremonia de Bodas" class="icon-image"></span>
<span class="event-time">6:00pm</span>
<p>Sesión de fotos</p>
</div>
<div class="event-item">
<span class="icon"><img src="./img/Imgce.svg" alt="Icono Ceremonia de Bodas" class="icon-image"></span>
<span class="event-time">6:30pm</span>
<p>Cena.............</p>
</div>
<div class="event-item">
<span class="icon"><img src="./img/Imgpas.png" alt="Icono Ceremonia de Bodas" class="icon-image"></span>
<span class="event-time">7:30pm</span>
<p>Pastel.............</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="map-button-container my-5">
<div class="accordion" id="map">
<div class="accordion">
<h2 class="accordion-header" id="mapDetailHeader">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#mapDetail" aria-expanded="false" aria-controls="mapDetail">
Ver mapa
</button>
</h2>
<div id="mapDetail" class="accordion-collapse collapse" aria-labelledby="mapDetailHeader"
data-bs-parent="#map">
<div class="accordion-body d-flex flex-column gap-1">
<a href="https://maps.app.goo.gl/bkv2eFgAHPEazEbr8" target="_blank"
class="btn btn-outline-info btn-block">Abrir en google maps
</a>
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3876.733218770448!2d-89.229483!3d13.673979399999999!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x8f6331c9bc0e8d11%3A0xd9e5ac2de581189!2sHotel%20Alamo%20Internacional!5e0!3m2!1ses-419!2sco!4v1696507207006!5m2!1ses-419!2sco"
width="100%" height="300" style="border:0;" allowfullscreen="" loading="lazy"
referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</div>
</div>
</div>
</div>
<div id="carouselExampleIndicators" class="carousel slide tex-center mt-3">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active"
aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1"
aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2"
aria-label="Slide 3"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="./img/img1.png" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="./img/img4.png" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="./img/img3.png" class="d-block w-100" alt="...">
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators"
data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
<div class="container text-center mb-6">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="mesa-de-regalos">
<div class="contenido card p-4 shadow">
<div class="titulo h4 card-title">Mesa de Regalo</div>
<p class="lead text-center fs-5">
Agradecemos sus muestras de cariño <br> en regalo de sobre.<br>
Gracias.
</p>
</div>
</div>
</div>
<div class="col-md-6 mt-5">
<div class="sugerencia-vestimenta card text-center p-4 shadow">
<div class="titulo h3 card-title">Sugerencia de Vestimenta</div>
<div class="imagen-vestimenta">
<svg preserveAspectRatio="xMidYMid meet" data-bbox="127.2 106.5 180 198.8" viewBox="127.2 106.5 180 198.8"
xmlns="http://www.w3.org/2000/svg" data-type="color" role="presentation" aria-hidden="true" width="50%"
height="50%><defs><style>#comp-lglgyjye svg [data-color=" 1"] {fill: #555555;}</style></defs>
<g>
<path fill="#000000" d="M235.6 276.6H278l3.7-7.7h-50.2l4.1 7.7z" data-color="1"></path>
<path d="M206.7 305.3c2.2-12.4 14-22.1 26-24.5-9 8.1-18.1 15.1-26 24.5z" fill="#000000"
data-color="1">
</path>
<path d="M307.2 304.8c-2.2-12.4-14-22.1-26-24.5 9 8.2 18.1 15.2 26 24.5z" fill="#000000"
data-color="1">
</path>
<path
d="M164.7 134.8s-9.1 5.5-18.2 10.9c-7.3 4.4-19.3 10.9-19.3 10.9s3.1 19.9 18.2 44.1c9.7 15.6 21.6 31.8 43.1 52.2 0 .1-35.8-81.2-23.8-118.1z"
fill="#000000" data-color="1"></path>
<path
d="M188.6 106.5c-4 4.5-6.9 7.9-10.9 12.3l-.7.7c1.4 4.5 2.8 8.9 4.2 13.4 1-.8 3.7-2.1 7.8-2.1 3.5 0 5.6 1.4 6.3 2.1 1.2-3.8 2.2-8.4 3.9-13.5l-1-1.3c-3.9-4.4-5.3-6.9-9.2-11.3l-.4-.3z"
fill="#000000" data-color="1"></path>
<path
d="M195.3 138.6c-2.2-1.3-3.3-1.5-6.3-1.5-4.2 0-6.8 1.5-7.9 2.2-.7 8.3-2.2 14-4.9 22.9-.2.7-.5 1.2-.7 1.9 4.1 14.7 8.6 31 12.7 45.8 4.1-14.7 8.6-30.9 12.7-45.6v-.2s-1.2-2.5-1.4-3.2c-2.6-8-3.6-14.8-4.2-22.3z"
fill="#000000" data-color="1"></path>
<path
d="M212.5 134.7s9.1 5.5 18.2 10.9c7.3 4.4 19.3 10.9 19.3 10.9s-3.1 19.9-18.2 44.1c-9.7 15.6-21.6 31.8-43.1 52.2 0 .1 35.8-81.2 23.8-118.1z"
fill="#000000" data-color="1"></path>
<path
d="M294.5 204.9s-19.6 9-27.5 17.8c-5.9 6.7-8.2 10.4-8.9 11.2-.9 1.4-1.2 2.4-1.5 2.6-.3-.2-.6-1.2-1.5-2.6-.7-.7-3-4.5-8.9-11.2-7.9-8.9-27.5-17.8-27.5-17.8s-12.4 25.1-3 46.1c1.9 4.3 12.7 11.9 14.9 14.9h52.2c2.2-3 13-10.6 14.9-14.9 9.2-21-3.2-46.1-3.2-46.1z"
fill="#000000" data-color="1"></path>
<path
d="M283.1 266.9H230l-.3-.4c-.8-1.1-3-3-5.3-5-3.9-3.4-8.4-7.3-9.6-10.1-9.5-21.2 2.5-45.9 3-46.9l.4-.9.9.4c.8.4 19.9 9.1 27.8 18.1 4.2 4.7 6.6 8 7.8 9.7.5.7.9 1.2 1 1.4l.1.2c.3.4.5.8.7 1.2.2-.4.4-.8.7-1.2l.1-.2c.2-.2.6-.7 1-1.4 1.3-1.8 3.7-5 7.8-9.7 8-8.9 27-17.7 27.8-18.1l.9-.4.4.9c.5 1 12.5 25.7 3 46.9-1.2 2.8-5.7 6.7-9.6 10.1-2.3 2-4.5 3.9-5.3 5l-.2.4zm-52.1-2h51.2c1.1-1.2 3-3 5.3-4.9 3.6-3.1 8.1-7 9.1-9.4 8.1-18.1-.5-39.7-2.5-44.4-3.9 1.9-19.6 9.6-26.3 17.2-4.1 4.6-6.5 7.9-7.7 9.6-.5.8-.9 1.2-1.2 1.5-.4.6-.7 1.1-.9 1.6-.3.6-.5 1.1-1 1.3l-.5.3-.5-.3c-.4-.2-.6-.7-1-1.3-.2-.4-.5-1-.9-1.6-.3-.3-.6-.8-1.2-1.5-1.3-1.7-3.6-5-7.7-9.6-6.7-7.6-22.3-15.3-26.3-17.2-2 4.6-10.6 26.2-2.5 44.4 1.1 2.4 5.5 6.3 9.1 9.4 2.4 1.9 4.4 3.6 5.5 4.9zm24.9-29.1z"
fill="#FFFFFF" data-color="2"></path>
</g>
</svg>
<h2 class="text-dark display-4">Vestimenta Formal</h2>
</div>
</div>
</div>
</div>
</div>
<div id="numero-puesto">
<h2 class="text-dark h5" id="mensaje-reserva">
Hemos reservado para usted <span id="numero-reservado"></span> puestos
</h2>
</div>
<div class="container">
<h2 class="text-dark display-6">CONFIRMA TU ASISTENCIA</h2>
<div class="row g-2">
<div class="col-md-6">
<div class="form-floating">
<input name="nombre-completo" id="input_nombre" class="campo-input" type="text" placeholder="Nombre"
required aria-required="true" aria-label="Nombre completo" value="">
</div>
</div>
<div class="col-md-6">
<div class="form-floating">
<input name="Teléfono" id="input_telefono" class="campo-input" type="text" placeholder="Teléfono" required
aria-required="true" aria-label="Teléfono" value="">
</div>
</div>
<div class="col-md-12">
<div class="form-floating">
<select class="form-select" id="floatingSelectGrid">
<!-- <option selected>Confirmación</option> -->
<option>Si voy Asistir</option>
<option>No puedo Asistir</option>
</select>
</div>
</div>
<div class="col-md-12">
<textarea class="form-control custom-textarea campo-input" id="messageTextarea"
placeholder="Escribe aca cualquier otro comentario que tengas para nosotros! "></textarea>
</div>
<div class="botones mb-5">
<a href="#" id="whatsapp-icon"> <!-- Cambié el enlace href para que sea un "#" temporalmente -->
<button type="button" class="btn btn-outline-success" id="enviar-btn">Enviar WhatsApp</button>
</a>
</div>
</div>
</div>
<img src="./img/12.png" class="img-fluid" alt="...">
<script>
document.addEventListener("DOMContentLoaded", function () {
const whatsappIcon = document.getElementById("whatsapp-icon");
if (whatsappIcon) {
whatsappIcon.addEventListener("click", function (e) {
e.preventDefault();
const nombre = encodeURIComponent(document.getElementById('input_nombre').value);
const telefono = encodeURIComponent(document.getElementById('input_telefono').value);
const confirmacionSelect = document.getElementById('floatingSelectGrid');
const confirmacionTexto = confirmacionSelect.options[confirmacionSelect.selectedIndex].text;
const mensaje = encodeURIComponent(document.getElementById('messageTextarea').value);
const numero = "+573242645060"; // Reemplaza TUNUMERO con tu número de WhatsApp
// Formato del mensaje deseado: Nombre, Confirmación (texto), Mensaje
const mensajeFinal = `Hola Soy ${nombre}, Cel: ${telefono}, Te confirmo que ${confirmacionTexto}, ${mensaje}`;
const url = `https://wa.me/${numero}?text=${mensajeFinal}`;
window.open(url, "_blank");
});
}
});
</script>
<script>
// Obtén la URL actual
const url = window.location.search;
// Busca el parámetro "puestos" en la URL
const puestosParam = new URLSearchParams(url).get("puestos");
// Verifica si se proporcionó un número de puesto
if (puestosParam !== null) {
// Convierte el valor del parámetro en un número de puesto
const numeroPuesto = parseInt(puestosParam);
// Actualiza el contenido del span con el número de puesto
document.getElementById("numero-reservado").textContent = numeroPuesto;
} else {
// Si no se proporcionó el parámetro "puestos", muestra un mensaje predeterminado
const mensajeReserva = document.getElementById("mensaje-reserva");
mensajeReserva.textContent = "Escribeme para confirmar cuantos puestos tienes reservados";
mensajeReserva.classList.add("texto-rojo");
}
</script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
</body>
</html>