-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
163 lines (134 loc) · 6 KB
/
index.html
File metadata and controls
163 lines (134 loc) · 6 KB
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
<!DOCTYPE HTML>
<html>
<head>
<title>Save Freddy</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="assets/css/styleYoutube.css" />
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<!-- Header -->
<header id="header">
<!-- Logo -->
<h1 id="logo">Save Freddy</h1>
<!-- Nav -->
<nav id="nav">
<ul>
<li><a href="#intro">Intro</a></li>
<li><a href="#one">Who's Freddy?</a></li>
<li><a href="#reanimation">Reanimate Freddy!</a></li>
<li><a href="#morale">Why?</a></li>
</ul>
</nav>
</header>
<!-- Intro -->
<section id="intro" class="main style1 dark fullscreen">
<div id="fullScreenVideo"></div>
<div class="content container 75%">
<header>
<h2>Save Freddy!</h2>
</header>
<p>Welcome to SaveFreddy!<br> A page to sensibilize you on the importance of not having a zombie as a friend. <!-- or how to partecipate at Koding's hackathon with a project made 12 hrs before the deadline, because 3 out of 5 persons of your team dropped you. -->
<br>by <a href="http://lenotta.com">Lenotta Team (ex MagentaTeam)</a> for Koding Hackaton.
</div>
<a href="#one" class="button style2 down anchored overEverything">Next</a>
</section>
<!-- One -->
<section id="one" class="main style2 right dark fullscreen">
<div class="imageContainer">
</div>
<div class="content box style2" style="margin-left: -25%">
<header>
<h2>Who's Freddy?</h2>
</header>
<p>Freddy is your friend. He usually drinks a lot of sweet beverages and eats at fast foods, he doesn't like gymnastic and he loves to stay on the couch watching tv. Freddy is also your super athletic friend, who runs 35km per day and wear one of these technologic trackers. Freddy could be everyone.</p>
</div>
<a href="#warning" class="button style2 down anchored">Next</a>
</section>
<section id="warning" class="slide centeredContent">
<div class="saveMessage">
<h2>Oh no!</h2><br><p>Your friend Freddy just fell on the floor. He's pallid and is holding his left harm.<br>It seems like he is having an<br><b>heart attack</b>!<br><br><b>GO AND SAVE HIM</b><br>from becoming a zombie</p>
<a href="#reanimation" class="button style3 down anchored overEverything">Next</a>
</div>
</section>
<!-- Reanimation -->
<section id="reanimation" class="slide">
<div id="myProgress">
<div id="myBar"></div>
</div>
<div class="boxes" id="breathBox">
<canvas id="breath">
</canvas>
</div>
<div class="boxes" id="hearthBox">
<div id="heartMessage"></div>
<div id="heartCounter"></div>
</div>
<div id="explanation" class="centeredContent">
<div class="saveMessage">
<h2>Do you remember CPR?</h2>
<h3>Here is a quick recap:</h3>
<ul>
<li>30 massages at about 2 massages per second ( use the spacebar )</li>
<li>2 breaths ( blow in the mic )</li>
</ul>
<p>Sometimes it works on non-dead too...</p>
<button onclick="game.startGame()">SAVE FREDDY!</button>
</div>
</div>
<div id="aed" class="centeredContent reallyHide">
<div class="saveMessage">
<h2>Click the AED to reanimate Freddy</h2>
<img onclick="slideToGoodFinal()" src="assets/svg/adeGreen.svg" height="200"/>
</div>
</div>
</section>
<!-- Bolt -->
<section id="bolt" class="slide reallyHide">
<!-- Bolt -->
</section>
<!-- Finals -->
<section id="finalGood" class="slide centeredContent reallyHide">
<div class="saveMessage">
<h2>YOU SAVED FREDDY!</h2>
<p>He didn't like brains anyway...</p>
</div>
<a href="#morale" class="button style2 down anchored overEverything">Next</a>
</section>
<section id="finalBad" class="slide centeredContent reallyHide">
<div class="saveMessage">
<p>Looks like you didn't remember CPR that well and</p>
<h2>FREDDY NOW WANTS TO EAT<br>BRAAAAAINS!</h2>
<p>You might find him more... attractive now...</p>
<a href="#reanimation"><button >Try Again</button></a>
</div>
</section>
<!-- Moral -->
<section id="morale" class="slide centeredContent">
<div class="saveMessage">
<p>Learning few little steps of the <b>CPR</b> procedure, and remembering them, can <b>save a Freddy's life</b>.<br> Freddy could be anyone, your friend, a stranger in the street, a kid at the beach.<br> It's just a matter of seconds, that can change someone's life. </p>
<br><br>
<h2>Be responsible.<br> Stay ready to save your beloved Freddy from becoming a zombie.</h2>
</div>
</section>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.poptrox.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
<script src="assets/js/main.js"></script>
<script src="assets/js/jquery.youtubebackground.js"></script>
<script src="assets/js/freddy.js"></script>
</script>
<a href="#finalGood" id="finalGoodLink" class="hide" ></a>
<a href="#finalBad" id="finalBadLink" class="hide" ></a>
</body>
</html>