-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpitch.html
481 lines (452 loc) · 19.6 KB
/
pitch.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
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
<!doctype html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-169182020-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-169182020-1');
</script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- SEO -->
<title>theCucumber.app</title>
<meta name="description" content="">
<!-- URL CANONICAL -->
<link rel="canonical" href="https://www.thecucumber.app/">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,700,700i%7CMaitree:200,300,400,600,700&subset=latin-ext" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet" type="text/css"/>
<!-- CSS WebSlides -->
<link rel="stylesheet" type='text/css' media='all' href="static/css/webslides.css">
<!-- Optional - CSS SVG Icons (Font Awesome) -->
<link rel="stylesheet" type='text/css' media='all' href="static/css/svg-icons.css">
<!-- SOCIAL CARDS (ADD YOUR INFO) -->
<!-- FACEBOOK -->
<meta property="og:url" content="https://thecucumber.app/"> <!-- YOUR URL -->
<meta property="og:type" content="article">
<meta property="og:title" content="WebSlides — Making HTML Presentations Easy"> <!-- EDIT -->
<meta property="og:description" content="We provide a sophisticated analytics platform to help you improve your conversions and rocket grow your business."> <!-- EDIT -->
<meta property="og:updated_time" content="2020-04-22T09:41:00"> <!-- EDIT -->
<meta property="og:image" content="static/images/share-webslides.jpg"> <!-- EDIT -->
<!-- TWITTER -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@webslides"> <!-- EDIT -->
<meta name="twitter:creator" content="@jlantunez"> <!-- EDIT -->
<meta name="twitter:title" content="The cucumber app"> <!-- EDIT -->
<meta name="twitter:description" content="We provide a sophisticated analytics platform to help you improve your conversions and rocket grow your business."> <!-- EDIT -->
<meta name="twitter:image" content="static/images/share-webslides.jpg"> <!-- EDIT -->
<!-- FAVICONS -->
<link rel="shortcut icon" sizes="16x16" href="static/images/favicons/favicon-16x16.png">
<link rel="shortcut icon" sizes="32x32" href="static/images/favicons/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="57x57" href="static/images/favicons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="static/images/favicons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="static/images/favicons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="static/images/favicons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="static/images/favicons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="static/images/favicons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="static/images/favicons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="static/images/favicons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="static/images/favicons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="static/images/favicons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="static/images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="static/images/favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="static/images/favicons/favicon-16x16.png">
<link rel="manifest" href="static/images/favicons/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="static/images/favicons/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<!-- Android -->
<meta name="mobile-web-app-capable" content="yes">
<!-- <meta name="theme-color" content="#333333"> -->
</head>
<body>
<header class="header-nav header-custom" role="banner">
<nav role="navigation" class="nav-custom">
<p class="logo">
<a href="./index.html" onclick="if (window.frameElement) { parent.closePitch(); return false}" title="theCucumber.app">
<span class="text-logo">theCucumber.app</span>
</a>
</p>
<ul class="text-apple">
<li>
<a class="btn-login" href="https://dashboard.thecucumber.app/login" onclick="if (window.frameElement) { parent.login(); return false}" title="Login">
<strong> Login</strong>
</a>
</li>
<li>
<a class="btn-register" href="https://dashboard.thecucumber.app/register" onclick="if (window.frameElement) { parent.register(); return false}" title="Register">
<strong>Register</strong>
</a>
</li>
<li id="btn-close-pitch" style="display: none">
<a onclick="parent.closePitch()" style="cursor:pointer;">
<strong>❌</strong>
</a>
</li>
</ul>
</nav>
</header>
<main role="main">
<article id="webslides" class="vertical">
<!-- slides=01 -->
<section>
<div class="wrap">
<div class="content-center">
<h1 class="text-apple text-md"> Better digital habits. Better workplaces.</h1>
<span class="text-logo text-lg">theCucumber.app</span>
<div class="text-apple text-xs text-os">Mac | Windows</div>
<img class="size-60" src="./static/images/animated-only-monitor-200-10-450.png" alt="theCucumber.app" id="slide1_scroll_to" >
</div>
</div>
</section>
<!-- slides=02 -->
<section class="bg-gradient-v fullscreen">
<div class="card-50">
<figure><img src="./static/images/eye-closed.jpg" alt="man with eyes closed" /></figure>
<div class="flex-content" id="slide2_scroll_to">
<div class="wrap fadeInUp slow">
<div class="size-100 aligncenter fadeInUp slow">
<h2 class="text-apple">Digital Eye Strain negatively <br> impacts 71% of employees.</h2>
<p class="text-apple text-intro">
Yet eye strain remains one of <br> the most overlooked health issues <br> in the workplace.
</p>
</div>
</div>
</div>
</section>
<!-- slides=03 -->
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="./static/images/neck-pain.jpg"
alt="Productivity and focus in the blink of an eye" />
</figure>
<div class="flex-content" id="slide3_scroll_to">
<div class="wrap fadeInUp slow">
<p>
<div class="text-apple text-sm">Eye-strain</div>
<div class="text-apple text-md">Migraines</div>
<div class="text-apple text-lg">Backpain</div>
</p>
<p class="text-apple text-xlg">
Bad digital work habits are <br>
<strong>bad for business.</strong>
</p>
</div>
</div>
</div>
</section>
<!-- slides=04 -->
<section class="bg-trans-dark">
<span class="background" style="background-image:url('./static/images/woman-in-red-long-sleeve-shirt-sitting-on-chair.jpg')"></span>
<div class="wrap">
<ul class="flexblock features features-dark">
<li>
<div>
<h2>
<span>70.6%</span>
</h2>
of employees say digital eye strain impacted their ability to work.
</div>
</li>
<li>
<div>
<h2>
<span>191-208</span>
</h2>
days annually per employee working less productively.
</div>
</li>
</ul>
<ul class="flexblock features features-dark">
<li>
<div>
<h2>
<span>29%</span>
</h2>
decrease in productivity. (loss of $799 USD/worker in Japan in 2011)
</div>
</li>
<li>
<div>
<h2>
<span>30%</span>
</h2>
decrease in quality of life.
</div>
</li>
</ul>
</div>
</section>
<!-- slides=05 -->
<section class="background-right" style="background-image:url('./static/images/monitor-half-long.png'); background-size: 45%; background-position: right;">
<span ></span>
<div class="card-30">
<div class="flex-content">
<div class="wrap">
<div class="alignright size-50 fadeInUp slow">
<h2 class="text-apple">
It’s time to <span class="text-green">refocus.</span>
</h2>
<p class="text-apple text-sm">
Improve focus and productivity in a blink of an eye.
</p>
<p>
<div class="text-apple text-md">Schedule micro-breaks.</div>
<div class="text-apple text-md">Synchronized team breaks.</div>
<div class="text-apple text-md">Presentation pauses.</div>
<div class="text-apple text-md">Blink alarm.</div>
</p>
</div>
</div>
</div>
</div>
</section>
<!-- slides=06 -->
<section class="slide-bottom">
<span class="background" style="background-image:url('./static/images/happy-employee.jpg')"></span>
<div class="wrap">
<div class="alignright bg-trans-gradient fadeInUp slow" style="padding:2rem">
<h2 class="text-apple">Your team will <strong>feel</strong> the <strong>difference</strong></h2>
<p class="text-apple">It only takes regular 20-second micro-breaks to <br> prevent eye-strain and improve focus.</p>
<p class="text-apple text-intro">The benefits start within 4 weeks.</p>
</div>
</div>
</section>
<!-- slides=07 -->
<section class="slide-bottom">
<span class="background" style="background-image:url('./static/images/work-remote-crop.jpg');background-position: calc(100%+510px);"></span>
<div class="wrap">
<div class="alignright size-40 bg-trans-gradient fadeInUp slow">
<div class="wrap"></div>
<h1 class="text-apple">Work <strong>better</strong> from <strong>anywhere</strong></h1>
<p class="text-apple text-intro">Synchronized breaks for all team members. In-house and remote.</p>
</div>
</div>
</section>
<!-- slides=08 -->
<section class="bg-gradient-v fullscreen">
<div class="card-50">
<figure>
<img src="./static/images/start-your-exercise.jpg"
alt="employees exercising" />
</figure>
<div class="flex-content" id="slide8_scroll_to">
<div class="wrap fadeInUp slow">
<h2 class="text-apple">No excuses</h2>
<p class="text-apple text-intro">
<strong>No Skip</strong> gets your team moving towards better digital habits, today.
</p>
</div>
</div>
</div>
</section>
<!-- slides=09 -->
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="./static/images/increase-workers-productivity.jpg"
alt="Increase workers productivity" style="object-position: right;" />
</figure>
<div class="flex-content" id="slide9_scroll_to">
<div class="wrap">
<div class="alignright fadeInUp slow">
<h2 class="text-apple"> Made for managers, leaders, gamechangers</h2>
<p class="text-apple">
Because great digital practices create better, more productive workplaces.
</p>
</div>
</div>
</div>
</div>
</section>
<!-- slides=10 -->
<section class="slide-bottom">
<span class="background light background-contain background-top" style="background-image:url('./static/images/happy-work-team.jpg')"></span>
<div class="wrap">
<div class="alignright bg-trans-gradient fadeInUp slow text-right">
<h2 class="text-apple">Your team will thank you</h2>
<p class="text-apple">
Try <span class="text-logo">theCucumber.app</span> today
</p>
</div>
</div>
</section>
</article>
</main>
<!-- Required -->
<script src="static/js/webslides.js"></script>
<script>
// https://stackoverflow.com/questions/30943662/check-if-element-is-partially-in-viewport
function isElementXPercentInViewport(el, percentVisible) {
var
rect = el.getBoundingClientRect(),
windowHeight = (window.innerHeight || document.documentElement.clientHeight);
return !(
Math.floor(100 - (((rect.top >= 0 ? 0 : rect.top) / +-(rect.height / 1)) * 100)) < percentVisible ||
Math.floor(100 - ((rect.bottom - windowHeight) / rect.height) * 100) < percentVisible
)
}
var slide = true;
var nextSlideTimer;
var slidesShown = {}
var changeSlidesDurationMs = 8000;
document.body.addEventListener('ws:init', function (e) {
// Go to next slide (since slide-change is not fired)
if (nextSlideTimer !== undefined) {
clearTimeout(nextSlideTimer)
}
if (slide) {
nextSlideTimer = setTimeout(function(){
window.ws.goNext()
}, changeSlidesDurationMs);
}
var hash = window.location.hash
if (hash) {
if (hash.includes("slide=1")) {
var sel = document.getElementById('slide1_scroll_to');
if (!isElementXPercentInViewport(sel, 100)) {
x = setTimeout(function(){
sel.scrollIntoView({behavior: "smooth"});
clearTimeout(x)
}, 1000);
}
} else if (hash.includes("slide=2")) {
var sel = document.getElementById('slide2_scroll_to');
if (!isElementXPercentInViewport(sel, 100)) {
x = setTimeout(function(){
sel.scrollIntoView({behavior: "smooth"});
clearTimeout(x)
}, 1000);
}
} else if (hash.includes("slide=3")) {
var sel = document.getElementById('slide3_scroll_to');
if (!isElementXPercentInViewport(sel, 100)) {
x = setTimeout(function(){
sel.scrollIntoView({behavior: "smooth"});
clearTimeout(x)
}, 1300);
}
} else if (hash.includes("slide=8")) {
var sel = document.getElementById('slide8_scroll_to');
if (!isElementXPercentInViewport(sel, 100)) {
x = setTimeout(function(){
sel.scrollIntoView({behavior: "smooth"});
clearTimeout(x)
}, 1300);
}
} else if (hash.includes("slide=9")) {
var sel = document.getElementById('slide9_scroll_to');
if (!isElementXPercentInViewport(sel, 100)) {
x = setTimeout(function(){
sel.scrollIntoView({behavior: "smooth"});
clearTimeout(x)
}, 1300);
}
}
}
});
window.ws = new WebSlides({
changeOnClick: true,
loop: false,
});
window.ws.el.addEventListener('ws:slide-change', function (e) {
var noOfSlides = event.detail.slides;
var currentSlide = event.detail.currentSlide;
// Check if in landscape mode, we need to slide down to show text
var sel = document.getElementById('slide' + currentSlide + '_scroll_to');
switch(currentSlide) {
case 1:
if (!isElementXPercentInViewport(sel, 100)) {
x = setTimeout(function(){
sel.scrollIntoView({behavior: "smooth"});
clearTimeout(x)
}, 1000);
}
break;
case 2:
if (!isElementXPercentInViewport(sel, 100)) {
x = setTimeout(function(){
sel.scrollIntoView({behavior: "smooth"});
clearTimeout(x)
}, 1000);
}
break;
case 3:
if (!isElementXPercentInViewport(sel, 100)) {
x = setTimeout(function(){
sel.scrollIntoView({behavior: "smooth"});
clearTimeout(x)
}, 1300);
}
break;
case 8:
if (!isElementXPercentInViewport(sel, 100)) {
x = setTimeout(function(){
sel.scrollIntoView({behavior: "smooth"});
clearTimeout(x)
}, 1300);
}
break;
case 9:
if (!isElementXPercentInViewport(sel, 100)) {
x = setTimeout(function(){
sel.scrollIntoView({behavior: "smooth"});
clearTimeout(x)
}, 1300);
}
break;
}
slidesShown[currentSlide] = true;
// Go to next slide
if (nextSlideTimer !== undefined) {
clearTimeout(nextSlideTimer)
}
if (slide) {
nextSlideTimer = setTimeout(function(){
window.ws.goNext()
}, changeSlidesDurationMs);
}
if (Object.keys(slidesShown).length >= noOfSlides - 1) {
if (window.frameElement) {
// We are inside an iframe
var to = setTimeout(function(){
parent.closePitch();
clearTimeout(to)
}, 5000);
}
}
});
// flash the navigation menu
window.onload = function() {
var header = document.querySelector("header[role='banner']");
header.style.opacity = 1;
setTimeout(function() {
header.style.opacity = 0;
header.style.opacity = 0;
header.onmouseover = function() {
header.style.opacity = 1;
}
header.onmouseleave = function() {
header.style.opacity = 0;
}
header.ontouchenter = function() {
header.style.opacity = 1;
}
header.ontouchleave = function() {
header.style.opacity = 0;
}
}, 3000);
}
// Reveal red cross if page is in a iframe
if (window.frameElement) {
let x = document.getElementById('btn-close-pitch');
x.style.removeProperty('display')
}
</script>
<script type="text/javascript" defer>document.body.dispatchEvent(new Event('ws:init'));</script>
</body>
</html>