-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
434 lines (395 loc) · 17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>New Way Juices</title>
<link rel="icon" href="img/favicon-32x32.png" type="image/x-icon" />
<link rel="stylesheet" href="fontawesome/css/all.min.css"> <!-- https://fontawesome.com/ -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400" rel="stylesheet" /> <!-- https://fonts.google.com/ -->
<link rel="stylesheet" href="css/tooplate-wave-cafe.css">
<!--
Tooplate 2121 Wave Cafe
https://www.tooplate.com/view/2121-wave-cafe
-->
</head>
<body>
<div class="tm-container">
<div class="tm-row">
<!-- Site Header -->
<div class="tm-left">
<div class="tm-left-inner">
<div class="tm-site-header">
<img src="img/new way juices.png" alt="Image" class="tm-list-item-img">
<h1 class="tm-site-name">New Way Juices</h1>
</div>
<nav class="tm-site-nav">
<ul class="tm-site-nav-ul">
<li class="tm-page-nav-item">
<a href="#drink" class="tm-page-link active">
<i class="fas fa-mug-hot tm-page-link-icon"></i>
<span>Drink Menu</span>
</a>
</li>
<li class="tm-page-nav-item">
<a href="#about" class="tm-page-link">
<i class="fas fa-users tm-page-link-icon"></i>
<span>Quem Somos</span>
</a>
</li>
<li class="tm-page-nav-item">
<a href="#special" class="tm-page-link">
<i class="fas fa-glass-martini tm-page-link-icon"></i>
<span>Seja Premium</span>
</a>
</li>
<li class="tm-page-nav-item">
<a href="#contact" class="tm-page-link">
<i class="fas fa-comments tm-page-link-icon"></i>
<span>Contato</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
<div class="tm-right">
<main class="tm-main">
<div id="drink" class="tm-page-content">
<!-- Drink Menu Page -->
<nav class="tm-black-bg tm-drinks-nav">
<ul>
<li>
<a href="#" class="tm-tab-link active" data-id="cold">Sucos Detox</a>
</li>
<li>
<a href="#" class="tm-tab-link" data-id="hot">Café Quente</a>
</li>
<li>
<a href="#" class="tm-tab-link" data-id="juice">Sucos de Frutas</a>
</li>
<li>
<a href="#" class="tm-tab-link" data-id="sanduiches">Sanduiches Naturais</a>
</li>
</ul>
</nav>
<div id="cold" class="tm-tab-content">
<div class="tm-list">
<div class="tm-list-item">
<img src="img/alface.jpg" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Suco de Alface<span class="tm-list-item-price">R$8.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/cenoura.jpg" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Suco de Cenoura<span class="tm-list-item-price">R$7.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/beterraba.jpg" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Suco de Cenoura, Beterraba e limão<span class="tm-list-item-price">R$12.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/smoothie-4.png" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Suco de Couve, Limão e Pepino<span class="tm-list-item-price">R$12.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/tomate.jpg" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Suco de Tomate<span class="tm-list-item-price">R$7.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
</div>
</div>
<div id="hot" class="tm-tab-content">
<div class="tm-list">
<div class="tm-list-item">
<img src="img/cappucino.jpg" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Cappuccino com Ovomaltine<span class="tm-list-item-price">R$24.50</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/hot-cappuccino.png" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Cappuccino quente<span class="tm-list-item-price">R$22.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/hot-espresso.png" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Expresso Quente<span class="tm-list-item-price">R$16.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/hot-latte.png" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Latte Quente<span class="tm-list-item-price">R$20.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/nescafe.jpg " alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Nescafé<span class="tm-list-item-price">R$16.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/hot-americano.png" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Café Tradicional<span class="tm-list-item-price">R$15.50</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
</div>
</div>
<div id="juice" class="tm-tab-content">
<div class="tm-list">
<div class="tm-list-item">
<img src="img/morango.jpg" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Suco de Morango<span class="tm-list-item-price">R$8.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/ver.png" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Suco de Amora Vermelha<span class="tm-list-item-price">R$8.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/smoothie-3.png" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Suco de Abacaxi<span class="tm-list-item-price">R$7.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/laran.jpg" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Suco de Laranja<span class="tm-list-item-price">R$6.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
</div>
</div>
<div id="sanduiches" class="tm-tab-content">
<div class="tm-list">
<div class="tm-list-item">
<img src="img/atum.jpg" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Sanduiche de Atum<span class="tm-list-item-price">R$14.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/frango.jpg" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Sanduiche de Frango<span class="tm-list-item-price">R$14.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/peru.jpg" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Sanduiche de Peito de Peru<span class="tm-list-item-price">R$14.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
<div class="tm-list-item">
<img src="img/ceno.jpg" alt="Image" class="tm-list-item-img">
<div class="tm-black-bg tm-list-item-text">
<h3 class="tm-list-item-name">Sanduiche de Cenoura<span class="tm-list-item-price">R$14.00</span></h3>
<p class="tm-list-item-description">________________</p>
</div>
</div>
</div>
</div>
<!-- end Drink Menu Page -->
</div>
<!-- About Us Page -->
<div id="about" class="tm-page-content">
<div class="tm-black-bg tm-mb-20 tm-about-box-1">
<h2 class="tm-text-primary tm-about-header">Sobre a New Way Juices</h2>
<div class="tm-list-item tm-list-item-2">
<img src="img/about-1.png" alt="Image" class="tm-list-item-img tm-list-item-img-big">
<div class="tm-list-item-text-2">
<p>Somos um comércio de bebidas especializadas, mais voltadamente para sucos naturais, e também alguns alimentos, também naturais, pensando no seu bem estar! Temos o intuito de proporcionar aos nossos clientes, a possibilidade de manter sua saúde e bons hábitos em dia, com praticidade, e com um cuidado especial e carinho que temos! Na correria do seu dia-á-dia, podem contar conosco! Nosso propósito é proporcionar a melhor opção possível pro cliente, em relação ao seu modo de se alimentar durante o tempo, que sabemos que requer tanta organização para conseguirmos realizar todas as nossas atividades.</p>
<p></p>
</div>
</div>
</div>
<div class="tm-list-item tm-list-item-2">
<div class="tm-list-item-text-2">
</div>
</div>
</div>
</div>
<!-- end About Us Page -->
<!-- Pagina de itens especiais -->
<div id="special" class="tm-page-content">
<div class="tm-black-bg tm-contact-text-container">
<h2 class="tm-text-primary">Seja Premium e tenha novidades incriveis por apenas R$26.90 Mensais</h2>
<p>Cadastre-se logo abaixo e espere a confirmação para pagamento em seu e-mail</p>
</div>
<div class="tm-black-bg tm-contact-form-container tm-align-right">
<form action="https://formsubmit.co/viniciussilveiratrindade@gmail.com" method="POST" id="contact-form">
<input type="hidden" name="_subject" value="Nova mensagem do site !">
<div class="tm-form-group">
<input type="text" name="name" class="tm-form-control" placeholder="Nome Completo" required="" />
</div>
<div class="tm-form-group">
<input type="email" name="email" class="tm-form-control" placeholder="E-mail" required="" />
</div>
<div class="tm-form-group tm-mb-30">
<textarea rows="6" name="message" class="tm-form-control" placeholder="CPF" required=""></textarea>
</div>
<div>
<button type="submit" class="tm-btn-primary tm-align-right">
Enviar
</button>
</div>
</form>
</div>
</div>
<!-- Fim da pagina de intens especiais -->
<!-- Pagina de Contato -->
<div id="contact" class="tm-page-content">
<div class="tm-black-bg tm-contact-text-container">
<h2 class="tm-text-primary">Contato New Way</h2>
<p>Instagram: @New_Way_JuicesㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤFacebook: New Way JuicesㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤWhatsapp: (47) 992217477</p>
</div>
<div class="tm-black-bg tm-contact-form-container tm-align-right">
<form action="https://formsubmit.co/viniciussilveiratrindade@gmail.com" method="POST" id="contact-form">
<input type="hidden" name="_subject" value="Nova mensagem do site !">
<div class="tm-form-group">
<input type="text" name="name" class="tm-form-control" placeholder="Nome" required="" />
</div>
<div class="tm-form-group">
<input type="email" name="email" class="tm-form-control" placeholder="Email" required="" />
</div>
<div class="tm-form-group tm-mb-30">
<textarea rows="6" name="message" class="tm-form-control" placeholder="Mensagem" required=""></textarea>
</div>
<div>
<button type="submit" class="tm-btn-primary tm-align-right">
Enviar
</button>
</div>
</form>
</div>
</div>
<!-- end Contact Page -->
</main>
</div>
</div>
<footer class="tm-site-footer">
<!-- <p class="tm-black-bg tm-footer-text">Criação e Design: <a href="https://i.ytimg.com/vi/yPgs0_8Sd8E/maxresdefault.jpg">Vinícius S. Trindade</a href>
| 2021/10/07</p> -->
</footer>
</div>
<!-- Background video -->
<div class="tm-video-wrapper">
<i id="tm-video-control-button" class="fas fa-pause"></i>
<video autoplay muted loop id="tm-video">
<source src="video/wave-cafe-video-bg.mp4" type="video/mp4">
</video>
</div>
<script src="js/jquery-3.4.1.min.js"></script>
<script>
function setVideoSize() {
const vidWidth = 1920;
const vidHeight = 1080;
const windowWidth = window.innerWidth;
const windowHeight = window.innerHeight;
const tempVidWidth = windowHeight * vidWidth / vidHeight;
const tempVidHeight = windowWidth * vidHeight / vidWidth;
const newVidWidth = tempVidWidth > windowWidth ? tempVidWidth : windowWidth;
const newVidHeight = tempVidHeight > windowHeight ? tempVidHeight : windowHeight;
const tmVideo = $('#tm-video');
tmVideo.css('width', newVidWidth);
tmVideo.css('height', newVidHeight);
}
function openTab(evt, id) {
$('.tm-tab-content').hide();
$('#' + id).show();
$('.tm-tab-link').removeClass('active');
$(evt.currentTarget).addClass('active');
}
function initPage() {
let pageId = location.hash;
if(pageId) {
highlightMenu($(`.tm-page-link[href^="${pageId}"]`));
showPage($(pageId));
}
else {
pageId = $('.tm-page-link.active').attr('href');
showPage($(pageId));
}
}
function highlightMenu(menuItem) {
$('.tm-page-link').removeClass('active');
menuItem.addClass('active');
}
function showPage(page) {
$('.tm-page-content').hide();
page.show();
}
$(document).ready(function(){
/***************** Pages *****************/
initPage();
$('.tm-page-link').click(function(event) {
if(window.innerWidth > 991) {
event.preventDefault();
}
highlightMenu($(event.currentTarget));
showPage($(event.currentTarget.hash));
});
/***************** Tabs *******************/
$('.tm-tab-link').on('click', e => {
e.preventDefault();
openTab(e, $(e.target).data('id'));
});
$('.tm-tab-link.active').click(); // Open default tab
/************** Video background *********/
setVideoSize();
// Set video background size based on window size
let timeout;
window.onresize = function(){
clearTimeout(timeout);
timeout = setTimeout(setVideoSize, 100);
};
// Play/Pause button for video background
const btn = $("#tm-video-control-button");
btn.on("click", function(e) {
const video = document.getElementById("tm-video");
$(this).removeClass();
if (video.paused) {
video.play();
$(this).addClass("fas fa-pause");
} else {
video.pause();
$(this).addClass("fas fa-play");
}
});
});
</script>
</body>
</html>