forked from impress/impress.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·533 lines (384 loc) · 22.9 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
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
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
<!doctype html>
<!--
Welcome to the light side of the source, young padawan.
One step closer to learn something interesting you are...
____
_.' : `._
.-.'`. ; .'`.-.
__ / : ___\ ; /___ ; \ __
,'_ ""--.:__;".-.";: :".-.":__;.--"" _`,
:' `.t""--.. '<@.`;_ ',@:` ..--""j.' `;
`:-.._J '-.-'L__ `-- ' L_..-;'
"-.__ ; .-" "-. : __.-"
L ' /.------.\ ' J
"-. "--" .-"
__.l"-:_JL_;-";.__
.-j/'.; ;"""" / .'\"-.
.' /:`. "-.: .-" .'; `.
.-" / ; "-. "-..-" .-" : "-.
.+"-. : : "-.__.-" ;-._ \
; \ `.; ; : : "+. ;
: ; ; ; : ; : \:
; : ; : ;: ; :
: \ ; : ; : ; / ::
; ; : ; : ; : ;:
: : ; : ; : : ; : ;
;\ : ; : ; ; ; ;
: `."-; : ; : ; / ;
; -: ; : ; : .-" :
:\ \ : ; : \.-" :
;`. \ ; : ;.'_..-- / ;
: "-. "-: ; :/." .' :
\ \ : ;/ __ :
\ .-`.\ /t-"" ":-+. :
`. .-" `l __/ /`. : ; ; \ ;
\ .-" .-"-.-" .' .'j \ / ;/
\ / .-" /. .'.' ;_:' ;
:-""-.`./-.' / `.___.'
\ `t ._ /
"-.t-._:'
-->
<!--
So you'd like to know how to use impress.js?
You've made the first, very important step -- you're reading the source code.
And that's how impress.js presentations are built -- with HTML and CSS code.
Believe me, you need quite decent HTML and CSS skills to be able to use impress.js effectively.
And what is even more important, you need to be a designer, too, because there are no default
styles for impress.js presentations, there is no default or automatic layout for them.
You need to design and build it by hand.
So...
Would you still like to know how to use impress.js?
-->
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=1024" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>Restaurantify.me | What is Restaurantify?</title>
<meta name="description" content="Restaurantify Presentation Made with Impress.JS" />
<meta name="author" content="Bartek Szopka" />
<link href="http://fonts.googleapis.com/css?family=Open+Sans:regular,semibold,italic,italicsemibold|PT+Sans:400,700,400italic,700italic|PT+Serif:400,700,400italic,700italic" rel="stylesheet" />
<!--
Impress.js doesn't depend on any external stylesheet. Script adds all styles it needs for
presentation to work.
This style below contains styles only for demo presentation. Browse it to see how impress.js
classes are used to style presentation steps, or how to apply fallback styles, but I don't want
you to use them directly in your presentation.
Be creative, build your own. We don't really want all impress.js presentations to look the same,
do we?
When creating your own presentation get rid of this file. Start from scratch, it's fun!
-->
<link href="css/impress-demo.css" rel="stylesheet" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
</head>
<body>
<!--
That's the wrapper for your presentation steps. In this element all the impress.js magic happens.
It doesn't have to be a `<div>`. Only `id` is important here as that's how the script find it.
It's worth to notice the `impress-not-supported` class. This class means, that browser doesn't
support features required by impress.js, so you can apply some fallback styles in your CSS.
It's not necessary to add it manually on this element. If the script detects that browser is not
good enough it will add this class, but keeping it in HTML means that users without JavaScript
will also get fallback styles.
The class name on this element also depends on currently active presentation step. More details about
it can be found below, when `hint` element is being described.
-->
<div id="impress" class="impress-not-supported">
<div class="fallback-message">
<p>Your browser <b>doesn't support the features required</b> by impress.js, so you are presented with a simplified version of this presentation.</p>
<p>For the best experience please use the latest <b>Chrome</b>, <b>Safari</b> or <b>Firefox</b> browser. Upcoming version 10 of Internet Explorer <i>should</i> also handle it.</p>
</div>
<!--
Here is where interesting thing start to happen.
Each step of the presentation should be an element inside the `#impress` with a class name
of `step`. These step elements are positioned, rotated and scaled by impress.js, and
the 'camera' shows them on each step of the presentation.
Positioning information is passed through data attributes.
In the example below we only specify x and y position of the step element with `data-x="-1000"`
and `data-y="-1500` attributes. This means that **the center** of the element (yes, the center)
will be positioned in point x = -1000px and y = -1500px of the presentation 'canvas'.
It will not be rotated or scaled.
-->
<!-- <div id="bored" class="step slide" data-x="-1000" data-y="-1500">
<q>Aren't you just <b>bored</b> with all those slides-based presentations?</q>
</div>-->
<div id="start" class="big step slide" data-x="-1000" data-y="-5000" data-rotate-y="130">
<h1><span class="logo">Restaurantify<span class="me">.me</span></span></h1>
<p>
Mujtaba Badat, Ricky Gu, Pouyan Taghipour
</p>
<br><br>
<p> This presentation is made with <br> Impress.JS, HTML5, and CSS3 </p>
</div>
<div id="Jill" class="step slide" data-x="-1000" data-y="-1500">
<center><img src="img/Jill.jpg" alt="Jill" /></center>
<p>This is Jill, a hard-working professional in her mid 20's.</p>
</div>
<!--
The `id` attribute of the step element is used to identify it in the URL, but it's optional.
If it is not defined, it will get a default value of `step-N` where N is a number of slide.
So in the example below it'll be `step-2`.
The hash part of the url when this step is active will be `#/step-2`.
You can also use `#step-2` in a link, to point directly to this particular step.
Please note, that while `#/step-2` (with slash) would also work in a link it's not recommended.
Using classic `id`-based links like `#step-2` makes these links usable also in fallback mode.
-->
<div id="Organic-Food" class="step slide" data-x="-2000" data-y="-1500">
<q>Jill absolutely <strong>loves</strong> organic foods.</q>
<center><img src="img/organic_meal.jpg" alt="Organic Meal" /></center>
</div>
<div id="Jill-Dilemma" class="step slide" data-x="-3000" data-y="-1500">
<q>Unfortunately, between her job, friends, and everything else going on in her life, Jill has no time to cook <strong>homemade food</strong> with the <strong>organic ingredients</strong> she loves.</q>
</div>
<div id="Pauline" class="step slide" data-x="1000" data-y="-1500">
<center><img src="img/Pauline.jpg" alt="Pauline" /></center>
<q>Meet Pauline, an amazing mother and cook that specializes in delicious organic meals.</q>
</div>
<div id="Pauline-2" class="step slide" data-x="2000" data-y="-1500">
<q>Pauline is a pro in the kitchen. However, she decided not to pursue a professional career to stay home with her son.</q>
</div>
<div id="Pauline-3"class="step slide" data-x="3000" data-y="-1500">
<q>The recession has put pressure on Pauline to get a job. She would really love to be able to make money without leaving home.</q>
</div>
<!--
This is an example of step element being scaled.
Again, we use a `data-` attribute, this time it's `data-scale="4"`, so it means that this
element will be 4 times larger than the others.
From presentation and transitions point of view it means, that it will have to be scaled
down (4 times) to make it back to it's correct size.
-->
<div id="help" class="step big" data-x="0" data-y="-2000" data-scale="1">
<div id="connect">
<center>
<img src="img/Jill.jpg" alt="Jill" />
<p>How can we help Jill and Pauline?</p>
<img src="img/Pauline.jpg" alt="Pauline" />
</center>
</div>
</div>
<div id="title" class="step" data-x="0" data-y="1000" data-rotate-x="-90" data-scale="5">
<h1>Restaurantify!</h1>
</div>
<!--
This element introduces rotation.
Notation shouldn't be a surprise. We use `data-rotate="90"` attribute, meaning that this
element should be rotated by 90 degrees clockwise.
-->
<div id="its" class="step" data-x="850" data-y="3500" data-rotate="90" data-scale="5">
<p><span class="logo">Restaurantify<span class="me">.me</span></span> allows Jill to get the <strong>home made food</strong> she wants. At the same time, Pauline can make extra money from her <strong>online home-based restaurant</strong>.
</p>
</div>
<!--
And now it gets really exiting! We move into third dimension!
Along with `data-x` and `data-y`, you can define the position on third (Z) axis, with
`data-z`. In the example below we use `data-z="-3000"` meaning that element should be
positioned far away from us (by 3000px).
-->
<div id="win-win" class="step tiny" data-x="2825" data-y="2325" data-z="-3000" data-rotate="300" data-scale="1">
<p>That's a <b>win-win</b>!</p>
</div>
<div id="solution" class="step" data-x="2825" data-y="2325">
<p>Jill can fit the food she loves into her busy schedule.</p>
<br/>
<p>Pauline can run her business while taking care of her home.</p>
</div>
<div id="ing" class="step" data-x="3500" data-y="-2850" data-rotate-y="170" data-scale="4">
<p>How does <span class="logo">Restaurantify<span class="me">.me</span></span> make money?</p>
</div>
<div id="business model" class="step" data-x="7000" data-y="-300" data-scale="6">
<p>We use a business model that has been proven to work by companies such as <strong>Airbnb</strong> and <strong>Shopify</strong></p>
</div>
<div id="subscription model" class="big step" data-x="12000" data-y="-300" data-scale="6">
<p>Vendors will pay a <strong>monthly fee</strong> to host their restaurant</p>
<b>AND</b>
<p>a <strong>transaction fee</strong> for every item they sell.</p>
</div>
<div id="Users" class="step" data-x="6300" data-y="2000" data-rotate="20" data-scale="4">
<p>How will Jill find <span class="logo">Restaurantify<span class="me">.me</span></span>?</p>
</div>
<div id="pauline-tell" class="step" data-x="6000" data-y="4000" data-scale="5">
<p>We're going to get <strong>Pauline</strong> to tell her!</p>
</div>
<!--
And the last one shows full power and flexibility of impress.js.
You can not only position element in 3D, but also rotate it around any axis.
So this one here will get rotated by -40 degrees (40 degrees anticlockwise) around X axis and
10 degrees (clockwise) around Y axis.
You can of course rotate it around Z axis with `data-rotate-z` - it has exactly the same effect
as `data-rotate` (these two are basically aliases).
-->
<div id="pauline-jill-win-win" class="step" data-x="6200" data-y="5000" data-z="-100" data-rotate-x="-40" data-rotate-y="10" data-scale="2">
<p>We will give vendors such as Pauline the resources and knowledge they need to successfully market their online store to ideal customers.</p>
</div>
<div id="win win 2" class="tiny step" data-x="7000" data-y="4000" data-z="-4000" data-rotate="300" data-scale="1">
<p>That's another <b>win-win</b>!</p>
</div>
<div id="vendor-marketin-win-win" class="step" data-x="8200" data-y="5000" data-z="-100" data-rotate-x="-40" data-rotate-y="10" data-scale="2">
<p>Since individual vendors are responsible for the marketing of their own store, our vendors help build the traffic to our website.</p>
<br/>
<p>Pauline is happy because we give her the tools and marketing resources to promote her restaurant.</p>
</div>
<!--
<div id="Find-Vendors" class="step" data-x="6300" data-y="3000" data-rotate="20" data-scale="4">
<p>How will Pauline find restaurantify.me?</p>
</div>
-->
<div id="competition-1" class="step" data-x="10000" data-y="5000">
<p>Who else is trying to solve the same problem as us?</p>
</div>
<div id="competition-2" class="step" data-x="12000" data-y="5000">
<p>The idea originally started in France with <strong>super-marmite.com</strong></p>
</div>
<div id="competition-3" class="step" data-x="14000" data-y="5000">
<p>Their success in France recently encouraged a few websites to try the same idea in the United States, the biggest being Gobble.com</p>
</div>
<div id="competition-4" class="big step" data-x="16000" data-y="5000">
<p>Currently, there is no clear market leader. The home-based online restaurant world is <b>wide</b> open...</p>
</div>
<div id="competition-5" class="step big" data-x="18000" data-y="5000" data-scale="2">
<p>...but we want to <b>change</b> that!</p>
</div>
<div id="why-us" class="step" data-x="18500" data-y="6000" data-rotate-x="90">
<p>What <strong>distinguishes</strong> us?</p>
</div>
<div id="underlying-magic-1" class="step" data-x="20000" data-y="6000" data-rotate="5">
<p>Ruby on Rails allows us to be <strong>agile</strong></p>
</div>
<div id="underlying-magic-2" class="big step" data-x="20000" data-y="6500" data-rotate="5">
<p>Amazon's Cloud allows us to be <b>scalable</b></p>
</div>
<div id="underlying-magic-3" class="step" data-x="20000" data-y="7000" data-rotate="5">
<p>and <strong>machine learning</strong> allows us to be constantly improving our user experience</p>
</div>
<div id="team-1" class="big step" data-x="20000" data-y="10000" data-z="1000" data-rotate="150">
<p>Our product is cool, but our biggest asset is our</p>
<b>team</b>
</div>
<div id="team-2" class="team step" data-x="20000" data-y="11000" data-z="3000" data-rotate="50" data-scale="6">
<h1>Mujtaba Badat</h1>
<br/>
<q><strong>Sales and marketing</strong> whiz by day, <strong>programmer</strong> by night</q>
</div>
<div id="team-3" class="team step" data-x="24000" data-y="11000" data-z="4000" data-rotate="50" data-scale="3">
<h1>Ricky Gu</h1>
<br/>
<q><strong>Product visionary</strong> - An engineer who can <strong>design</strong> things beautifully and hack things <strong>rapidly</strong></q>
</div>
<div id="team-4" class="team step" data-x="26000" data-y="11000" data-z="5000" data-rotate="50" data-scale="1">
<h1>Pouyan Taghipour</h1>
<br/>
<q><strong>Machine learning guru</strong> holding two masters; <strong>algorithms</strong> are his friend</q>
</div>
<!--
So to make a summary of all the possible attributes used to position presentation steps, we have:
* `data-x`, `data-y`, `data-z` -- they define the position of **the center** of step element on
the canvas in pixels; their default value is 0;
* `data-rotate-x`, `data-rotate-y`, 'data-rotate-z`, `data-rotate` -- they define the rotation of
the element around given axis in degrees; their default value is 0; `data-rotate` and `data-rotate-z`
are exactly the same;
* `data-scale` -- defines the scale of step element; default value is 1
-->
<div id="end" class="big step" data-x="-5000" data-y="5000" data-rotate-x="0" data-scale="5">
<h1><span class="logo">Restaurantify<span class="me">.me</span></span></h1>
<br/>
<p>Beta launch on March 18th 2012</p>
</div>
</div>
<!--
Hint is not related to impress.js in any way.
But it can show you how to use impress.js features in creative way.
When the presentation step is shown (selected) it's element get's the class of "active" and `#impress` root
element get's the class based on active step id `step-ID` (where ID is the step id)... It probably is not
so clear because of all these IDs in here, so for example when the first step (the one with id of `bored`)
is active, `#impress` element get a class of `step-bored`.
This class is used by this hint below. Check CSS file to see how it's shown with delayed CSS animation.
...
And when it comes to this piece of JavaScript below ... kids, don't do this at home ;)
It's just a quick and dirty workaround to get different content for touch devices.
In a real world it should be at least placed in separate JS file ... and the touch content should be
probably just hidden somewhere in HTML, not hard-coded in the script.
Just sayin' ;)
-->
<div class="hint">
<p>Use a spacebar or arrow keys to navigate</p>
</div>
<script>
if ("ontouchstart" in document.documentElement) {
document.querySelector(".hint").innerHTML = "<p>Tap on the left or right to navigate</p>";
}
</script>
<!-- Polyfills by Remy Sharp @rem -->
<script src="lib/classList.js"></script>
<script src="lib/dataset.js"></script>
<!--
Last, but not least.
To make all described above really work, you need to include impress.js in the page.
I strongly encourage to minify it first.
In here I just include full source of the script to make it more readable.
You also need to call a `impress()` function to initialize impress.js presentation.
And you should do it in the end of your document. Not only because it's a good practice, but also
because it should be done when the whole document is ready.
Of course you can wrap it in any kind of "DOM ready" event, but I was too lazy to do so ;)
-->
<script src="js/impress.js"></script>
<script>impress();</script>
<!--
The `impress()` function also gives you access to API to control the presentation.
Just store the result of the call:
var api = impress();
and you will get three functions you can call:
`api.next()` - moves to next step of the presentation,
`api.prev()` - moves to previous step of the presentation
`api.goto( stepElement ) - moves the presentation to given step element (the DOM element of the step).
You can also simply call `impress()` again to get the API, so `impress().next()` is also allowed.
Don't worry, it wont initialize the presentation again.
For some example uses of this API check the last part of the source of impress.js where the API
is used in event handlers.
-->
<!-- social, tracking etc, ignore -->
<!-- <div style="position: fixed; bottom: 10px; left: 10px;">
<iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=bartaz&repo=impress.js&type=watch&count=true"
allowtransparency="true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
<iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=bartaz&repo=impress.js&type=fork&count=true"
allowtransparency="true" frameborder="0" scrolling="0" width="95px" height="20px"></iframe>
<a href="http://twitter.com/share" class="twitter-share-button" data-text="impress your audience with impress.js - a #prezi inspired CSS3 presentation framework by @bartaz" data-url="http://bartaz.github.com/impress.js" data-related="bartaz"></a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-9117370-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script> -->
</body>
</html>
<!--
Now you know more or less everything you need to build your first impress.js presentation, but before
you start...
Oh, you've already cloned the code from GitHub?
You have it open in text editor?
Stop right there!
That's not how you create awesome presentations. This is only a code. Implementation of the idea that
first needs to grow in your mind.
So if you want to build great presentation take a pencil and piece of paper. And turn off the computer.
Sketch, draw and write. Brainstorm your ideas on a paper. Try to build a mind-map of what you'd like
to present. It will get you closer and closer to the layout you'll build later with impress.js.
Get back to the code only when you have your presentation ready on a paper. It doesn't make sense to do
it earlier, because you'll only waste your time fighting with positioning of useless points.
If you think I'm crazy, please put your hands on a book called "Presentation Zen". It's all about
creating awesome and engaging presentations.
Think about it. 'Cause impress.js may not help you, if you have nothing interesting to say.
-->
<!--
Are you still reading this?
For real?
I'm impressed! Feel free to let me know that you got that far (I'm @bartaz on Twitter), 'cause I'd like
to congratulate you personally :)
But you don't have to do it now. Take my advice and take some time off. Make yourself a cup of coffee, tea,
or anything you like to drink. And raise a glass for me ;)
Cheers!
-->