-
Notifications
You must be signed in to change notification settings - Fork 4
/
template.html
161 lines (134 loc) · 5.24 KB
/
template.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
<!DOCTYPE html>
<html>
<head>
<title>Snyk presents: Dependency Frost</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@snyksec" />
<meta name="twitter:title" content="Dependency Frost" />
<meta name="twitter:description" content="Can you escape all the vulnerable npm packages? Try your luck with Dependency Frost" />
<meta name="twitter:image" content="https://repository-images.githubusercontent.com/434992547/7e50cdc9-7eb0-48fd-be46-402df235333c" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Dependency Frost" />
<meta property="og:description" content="Can you escape all the vulnerable npm packages? Try your luck with Dependency Frost" />
<meta property="og:url" content="https://dependency-frost.lirantal.repl.co/" />
<meta property="og:image" content="https://repository-images.githubusercontent.com/434992547/7e50cdc9-7eb0-48fd-be46-402df235333c" />
<script defer src="https://use.fontawesome.com/releases/v5.8.1/js/all.js"></script>
<style>
body {
min-height: 100vh;
display: flex;
flex-direction: column;
}
footer {
margin-top: auto;
}
.title {
color: #ffffff;
}
.canvas-holder {
background-color: #21214c;
width: 100%;
text-align:center;
margin: auto;
}
</style>
</head>
<body>
<section class="section m-0 p-0">
<nav class="navbar pt-2 pb-2 is-light has-shadow" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="https://snyk.io">
<img src="/sprites/snyk-logo.png" style="max-height: 2.75rem;">
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="/">
Dependency Frost
</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
More
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="https://learn.snyk.io">
Snyk Learn
</a>
<a class="navbar-item" href="https://snyk.io/blog">
Snyk Blog
</a>
<hr class="navbar-divider">
<a class="navbar-item" href="https://github.com/lirantal/Dependency-Frost">
<span class="icon">
<i class="fab fa-github" aria-hidden="true"></i>
</span>
<span>GitHub</span>
</a>
</div>
</div>
</div>
<div class="navbar-end">
<div class="navbar-item">
<div class="field is-grouped">
<p class="control">
<a class="bd-tw-button button" data-social-network="Twitter" data-social-action="tweet" data-social-target="https://dependency-frost.lirantal.repl.co/" target="_blank" href="https://twitter.com/intent/tweet?text=I am playing Dependency Frost and learning about open source dependencies&hashtags=snyksec&url=https://dependency-frost.lirantal.repl.co/&via=snyksec">
<span class="icon">
<i class="fab fa-twitter" aria-hidden="true"></i>
</span>
<span>
Tweet
</span>
</a>
</p>
<p class="control">
<a class="button is-primary" style="background-color: #0a26b8" href="https://app.snyk.io/login?cta=sign-up&loc=nav&page=homepage">
<span>Scan your dependencies</span>
</a>
</p>
</div>
</div>
</div>
</div>
</nav>
<section class="hero is-info" style="background-color: #007bff;">
<div class="hero-body">
<p class="title">
Dependency Frost
</p>
<p class="subtitle">
Can you escape all the vulnerable npm packages?
</p>
</div>
</section>
<div class="columns">
<div class="column">
<div class="canvas-holder">
<canvas id="game"></canvas>
</div>
</div>
</div>
</section>
<footer class="footer">
<div class="content has-text-centered">
<p class="has-text-centered mt-6">
<a
href="https://github.com/lirantal/Dependency-Frost">
Dependency Frost
</a>
is an open source educational security game created
by
<a href="https://twitter.com/liran_tal">
Liran Tal
</a> 🥑
</p>
<p class="has-text-centered">
credits for media assets to <a href="https://opengameart.org/content/winter-platformer-game-tileset">opengameart.org</a>, <a href="https://craftpix.net/">craftpix.net</a>, <a href="https://opengameart.org/content/dog-run-stand-pee-6frames-46x27">opengameart.org</a>, <a href="https://mixkit.co/free-stock-music">mixkit.co</a>.
</p>
</div>
</footer>
{{kaboom}}
</body>
</html>