-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (71 loc) · 2.4 KB
/
Copy pathindex.html
File metadata and controls
73 lines (71 loc) · 2.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Bangers|Lato" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css" />
<link rel="stylesheet" href="style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.16/vue.min.js"></script>
<title>Not Fancy Mario Jump</title>
</head>
<body>
<!-- app -->
<div id="app">
<div class="outer-container">
<h1>Not Fancy Mario Jump</h1>
<div class="coin-counter">
<img src="images/coin.png" alt="mario coin">
<span>{{ count }}</span>
</div>
<div class="inner-container">
<div
:class="['coin', {'appear': isAppear}]"
>
<img src="images/coin.png">
</div>
<div
:class="['block', {'bounce': isBounce}]"
@animationend="removeAnimation"
>
<img src="images/block.png" alt="mario block">
</div>
<div
:class="['mario', {'jump': isJump}]"
@animationend="isJump = false"
>
<img src="images/mario.png" alt="mario">
</div>
<div class="control">
<button
v-on:click.prevent="jump"
>
Jump
</button>
</div>
</div>
</div>
<!-- Social Media Footer -->
<div class="social-media-footer">
<div class="columns is-mobile social-columns">
<div class="column">
<i class="fa fa-twitter" aria-hidden="true"></i>
<a href="https://twitter.com/samantha_ming" target="_blank">samantha_ming</a>
</div>
<div class="column">
<i class="fa fa-facebook" aria-hidden="true"></i>
<a href="https://www.facebook.com/hisamanthaming" target="_blank">hi.samanthaming</a>
</div>
<div class="column">
<i class="fa fa-instagram" aria-hidden="true"></i>
<a href="https://www.instagram.com/samanthaming/" target="_blank">samanthaming</a>
</div>
</div>
</div><!--end social media-->
</div>
<!-- JavaScript -->
<script src="vue.js"></script>
</body>
</html>