summaryrefslogtreecommitdiff
path: root/WebInterface/NodeJSServer
diff options
context:
space:
mode:
authorTrueKuehli <rctcoaster2000@hotmail.de>2018-09-30 16:05:22 +0200
committerTrueKuehli <rctcoaster2000@hotmail.de>2018-09-30 16:05:22 +0200
commit63233700cdbe55b440f6651baa2a515d8e33e6aa (patch)
tree86c8c9ed811eafff20c65dc75010a957d6948e33 /WebInterface/NodeJSServer
parentc0a4272fcc15da322b3b63fb0a3e211e786504e0 (diff)
Added about and play pages
Play Page will be where the games will take place
Diffstat (limited to 'WebInterface/NodeJSServer')
-rw-r--r--WebInterface/NodeJSServer/dist/about/index.html39
-rw-r--r--WebInterface/NodeJSServer/dist/play/index.html0
-rw-r--r--WebInterface/NodeJSServer/webpack.config.js6
3 files changed, 43 insertions, 2 deletions
diff --git a/WebInterface/NodeJSServer/dist/about/index.html b/WebInterface/NodeJSServer/dist/about/index.html
new file mode 100644
index 0000000..0caefb2
--- /dev/null
+++ b/WebInterface/NodeJSServer/dist/about/index.html
@@ -0,0 +1,39 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="DSA-Bot Web Client">
+ <meta name="author" content="Timon Scholz">
+ <meta name="theme-color" content="#546e7a">
+ <title>Helden Online</title>
+ <link rel="icon" href="ressources/Logo768.png">
+ <link rel="stylesheet" href="../style/about.css">
+ <!-- <link rel="manifest" href="manifest.webmanifest"> -->
+ <link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Condensed" rel="stylesheet">
+ </head>
+ <body>
+ <div class="backdrop">
+ <div class="header-bar">
+ <div class="menu-icon" id="show-menu"></div>
+ <h1 class="header">Helden Online</h1>
+ </div>
+ <div class="menu-actions hidden" id="menu">
+ <a class="menu-option active" id="listing-tab" href="./">Spiele-Liste</a>
+ <a class="menu-option" id="github-tab" href="https://github.com/TrueDoctor/DiscoBot" target="_blank">Projekt auf GitHub</a>
+ <a class="menu-option" id="about-tab" href="." target="_blank">About</a>
+ </div>
+ </div>
+ <div class="container" id="front-layer">
+
+ <!-- TODO: About content here -->
+
+ <div class="copyright-container">
+ <p>Front-End © 2018 Timon Scholz</p>
+ <p>Back-End © 2018 Dennis Kobert</p>
+ </div>
+ </div>
+ <script src="../script/about.js"></script>
+ </body>
+</html>
diff --git a/WebInterface/NodeJSServer/dist/play/index.html b/WebInterface/NodeJSServer/dist/play/index.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/WebInterface/NodeJSServer/dist/play/index.html
diff --git a/WebInterface/NodeJSServer/webpack.config.js b/WebInterface/NodeJSServer/webpack.config.js
index c587000..f3635f7 100644
--- a/WebInterface/NodeJSServer/webpack.config.js
+++ b/WebInterface/NodeJSServer/webpack.config.js
@@ -4,10 +4,12 @@ const nodeExternals = require('webpack-node-externals');
module.exports = {
mode: 'production',
entry: {
- index: './src/index.js'
+ index: './src/index.js',
+ about: './src/about.js',
+ play: './src/play.js'
},
output: {
filename: '[name].js',
- path: path.resolve(__dirname, './dist')
+ path: path.resolve(__dirname, './dist/script')
}
};