web: Add logo image

Former-commit-id: b7c5404a7e0b8db8c652b1b2f4bbaf12287860af
This commit is contained in:
Michel Heily 2020-04-13 20:12:08 +03:00
parent db04bdf341
commit 20a675dbb0
2 changed files with 8 additions and 1 deletions

View file

@ -10,6 +10,12 @@
background-color: #675ea7; background-color: #675ea7;
font-family: "Courier New", Courier, monospace; font-family: "Courier New", Courier, monospace;
} }
#logo {
text-align: center;
align-items: center;
justify-content: center;
}
#menu { #menu {
background-color: #423c6c; background-color: #423c6c;
display: flexbox; display: flexbox;
@ -86,6 +92,7 @@
<div id="canvas-container"> <div id="canvas-container">
<pre id="fps"></pre> <pre id="fps"></pre>
<canvas id="screen" width="240px" , height="160px"></canvas> <canvas id="screen" width="240px" , height="160px"></canvas>
<img id="logo" width="240px" src="icon.svg"></img>
</div> </div>
<script src="./bootstrap.js"></script> <script src="./bootstrap.js"></script>
</body> </body>

View file

@ -9,6 +9,6 @@ module.exports = {
}, },
mode: "development", mode: "development",
plugins: [ plugins: [
new CopyWebpackPlugin(['index.html']) new CopyWebpackPlugin(['index.html', '../../../assets/icon.svg'])
], ],
}; };