add static file serving

This commit is contained in:
Asraelite 2016-03-21 12:56:32 +00:00
parent d0b5aae8f6
commit 4c6eb86794
6 changed files with 9 additions and 0 deletions

8
public/css/styles.css Normal file
View file

@ -0,0 +1,8 @@
* {
margin: 0;
padding: 0;
}
body {
overflow: hidden;
}

BIN
public/img/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

17
public/index.html Normal file
View file

@ -0,0 +1,17 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<link rel="icon" type="image/png" href="img/favicon.png">
<link rel="stylesheet" type="text/css" href="css/styles.css">
<title>
Starbugs
</title>
<script src="starbugs-min.js"></script>
</head>
<body>
<canvas id="starbugs_canvas">
Sorry, your browser does not currently support HTML5 Canvas.
</canvas>
</body>
</html>

0
public/js/main.js Normal file
View file