add basic html
This commit is contained in:
parent
5205aa4f9b
commit
07d473f275
6 changed files with 37 additions and 1 deletions
6
index.js
6
index.js
|
@ -1,5 +1,9 @@
|
|||
#!bin/node
|
||||
|
||||
var packageJson = require('./package.json');
|
||||
'use strict';
|
||||
|
||||
const packageJson = require('./package.json');
|
||||
|
||||
console.log(`Starbugs version ${packageJson.version} running.`);
|
||||
|
||||
require('./server/')();
|
||||
|
|
7
server/index.js
Normal file
7
server/index.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
function init() {
|
||||
|
||||
}
|
||||
|
||||
module.exports = init;
|
8
server/web/assets/css/styles.css
Normal file
8
server/web/assets/css/styles.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow: hidden;
|
||||
}
|
BIN
server/web/assets/img/favicon.png
Normal file
BIN
server/web/assets/img/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 245 B |
17
server/web/assets/index.html
Normal file
17
server/web/assets/index.html
Normal 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
server/web/assets/js/main.js
Normal file
0
server/web/assets/js/main.js
Normal file
Loading…
Add table
Add a link
Reference in a new issue