Browse Source

Experiment with showing logo while loading. For #849

pull/850/head
Gabe Kangas 5 years ago
parent
commit
5dc5de815c
  1. 4
      webroot/index.html
  2. 8
      webroot/styles/app.css

4
webroot/index.html

@ -72,7 +72,9 @@ @@ -72,7 +72,9 @@
</head>
<body class="scrollbar-hidden bg-gray-300 text-gray-800">
<div id="app"></div>
<div id="app">
<img id="loading-logo" src="/logo">
</div>
<script type="module">
import { h, render } from '/js/web_modules/preact.js';

8
webroot/styles/app.css

@ -17,6 +17,14 @@ html { @@ -17,6 +17,14 @@ html {
scrollbar-width: none;
}
#loading-logo {
margin-top: 10%;
margin-left: auto;
margin-right: auto;
width: 30%;
opacity: 0.2;
}
a:hover {
text-decoration: underline;
}

Loading…
Cancel
Save