This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compra.html
316 lines (297 loc) · 8.23 KB
/
compra.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport"
content="width=device-width, initial-scale=1,
shrink-to-fit=no" />
<meta name="description"
content="" />
<meta name="author"
content="" />
<title>Compra | Your Bakery</title>
<link rel="icon"
type="image/x-icon"
href="assets/favicon.ico" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"
rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous">
<link rel='stylesheet'
type='text/css'
media='screen'
href='assets/css/style.css'>
<link rel="stylesheet"
type="text/css"
href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container px-4 px-lg-5 py-2">
<a class="navbar-brand px-2"
href="index.html">Your Bakery</a>
<button class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon">
</span>
</button>
<div class="collapse navbar-collapse"
id="navbarSupportedContent">
<ul class="navbar-nav d-flex ms-auto px-2 px-lg-0">
<li class="nav-item">
<a class="nav-link"
href="index.html">Sobre
nosotros</a>
</li>
<li class="nav-item">
<a class="nav-link"
aria-current="page"
href="productos.html">Productos</a>
</li>
<li class="nav-item ps-0 ps-lg-2 mt-2 mt-lg-0">
<button type="button"
class="btn btn-outline-light"
data-bs-toggle="modal"
data-bs-target="#cartModal">
<i class="bi-cart-fill me-1"></i>
Carrito
<span class="badge bg-light text-dark ms-1
rounded-pill"
id="cartQuantity">
0
</span>
</button>
</li>
</ul>
</div>
</div>
</nav>
<header class="header py-5">
<div class="container px-4 px-lg-5 my-5">
<div class="text-center text-white">
<h1 class="display-4 fw-bolder">Your Bakery</h1>
<p class="lead fw-normal text-white-50 mb-0">Regalá momentos
dulces!</p>
</div>
</div>
</header>
<section>
<div class="container p-5">
<div class="row align-items-center">
<div class="col-xl-4">
<p>
LOCAL
</p>
<p class="h1">
Boedo Take away
</p>
<p>
Av. Calle Falsa 123
</p>
<p>
Lunes a Domingo de 10:30 a 19hs
</p>
</div>
<div class="col-xl-8 py-5">
<div class="container">
<div class="row align-items-center">
<div class="map-container col-4 text-end">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d26277.724194967064!2d-58.4672915208984!3d-34.586064!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x95bcc945173b3dd7%3A0xe8a347bb55df550c!2sCoderhouse%20Argentina!5e0!3m2!1ses!2sar!4v1661405625132!5m2!1ses!2sar"
width="200"
height="400"
style="border:0;"
allowfullscreen=""
loading="lazy"
referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
<div class="col-8">
<div class="image-container">
<img src="assets/img/local.jpeg" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="py-3">
<div class="container px-4 px-lg-5">
<div class="col mb-5 text-center">
<div class="alert alert-primary"
role="alert">
Los pedidos se pasan a retirar por el local de 15 a 19hs. Actualmente solo
contamos con pago en efectivo al momento de retiro o entrega. ¡Muchas
gracias!
</div>
</div>
</div>
</section>
<div class="container text-center mb-5">
<p class="h1 mb-4">
CHECKOUT
</p>
<p class="h6">
Una vez completado el formulario, recibirás la info por mail.
</p>
</div>
<section class="pb-5">
<div class="container">
<div class="col-lg-8 offset-lg-2 mt-4">
<form class="card card-body p-5"
style="background-color: #cfe2ff"
id="buy-form">
<div>
<div class="form-group mb-3">
<label for="inputName"
class="form-label">Nombre y apellido</label>
<input type="text"
class="form-control"
id="inputName"
name="inputName"
aria-describedby="emailHelp"
placeholder="Ingrese su nombre"
required>
</div>
<div class="form-group mb-3">
<label for="inputEmail"
class="form-label">Correo electrónico</label>
<input type="email"
class="form-control"
id="inputEmail"
name="inputEmail"
aria-describedby="emailHelp"
placeholder="Ingrese su mail"
required>
<small id="emailHelp"
class="form-text text-muted">
No compartiremos tu correo con nadie.
</small>
</div>
<div class="form-group mb-3">
<label for="inputNumber"
class="form-label">Numero telefónico</label>
<input type="number"
class="form-control"
id="inputNumber"
name="inputNumber"
aria-describedby="emailHelp"
placeholder="Ingrese su numero"
required>
</div>
<div class="form-group mb-3">
<label for="deliveryMode"
class="form-label">
Seleccione el modo de entrega
</label>
<select class="form-select"
name="deliveryMode"
id="deliveryMode"
name="deliveryMode"
class="form-control">
<option value="1"
selected>Retiro en tienda</option>
<option value="2">Entrega a domicilio</option>
</select>
</div>
<div id="delivery-form-container">
<!-- Delivery address form -->
</div>
<div class="form-check my-3">
<input type="checkbox"
class="form-check-input"
id="newsletterCheck">
<label class="form-check-label"
for="newsletterCheck">Acepto recibir
ofertas</label>
</div>
</div>
<div class="ms-auto">
<input type="submit"
class="btn btn-dark"
id="buyButton"
value="Continuar">
</div>
</form>
<!-- EmailJS scripts -->
<script type="text/javascript"
src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js"></script>
<script type="text/javascript">
emailjs.init('9H0SnSFB8-veD_Qnn');
</script>
</div>
</div>
</section>
<!-- Modal -->
<div class="modal fade"
id="cartModal"
tabindex="-1"
aria-labelledby="cartModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"
id="cartModalLabel">
<i class="bi-cart-fill me-1"></i>
Carrito
</h5>
<button type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container"
id="cart-container">
<!-- Cart cards -->
</div>
</div>
<div class="modal-footer">
<button type="button"
class="btn btn-secondary"
data-bs-dismiss="modal">
Continuar comprando
</button>
<button type="button"
class="btn
btn-dark"
id="submit-cart-purchase">
Comprar
</button>
</div>
</div>
</div>
</div>
<footer class="py-4 bg-dark">
<div class="container">
<p class="m-0 text-center text-white">Copyright
© Your Bakery 2020</p>
</div>
<div class="container mt-3">
<p class="m-0 text-center text-white">
Creado por
<a class="github-link"
href="https://github.com/aguirre-ivan"
target="_blank"
rel="noopener noreferrer">
Iván Aguirre
</a>
</p>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript"
src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>