add basic html

This commit is contained in:
Asraelite 2016-03-21 12:47:45 +00:00
parent 5205aa4f9b
commit 07d473f275
6 changed files with 37 additions and 1 deletions

View file

@ -1,5 +1,9 @@
#!bin/node #!bin/node
var packageJson = require('./package.json'); 'use strict';
const packageJson = require('./package.json');
console.log(`Starbugs version ${packageJson.version} running.`); console.log(`Starbugs version ${packageJson.version} running.`);
require('./server/')();

7
server/index.js Normal file
View file

@ -0,0 +1,7 @@
'use strict';
function init() {
}
module.exports = init;

View file

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

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>

View file