Update splashscreen, fix loading anim not going away

This commit is contained in:
Prayag Prajapati committed 2023-02-22 21:04:02 +05:30
1 parent 8170c4a2d8
commit c73774a3b2
2 files changed
+12 -11

No files matched your search

+11 -11
View File
@@ -13,10 +13,10 @@
<body> <body>
<main> <main>
<img src="./assetsStatic/LogoBig.png" alt="" srcset=""> <img src="./assetsStatic/LogoBig.png" alt="" srcset="">
<div class="loading">
<div class="indicator"></div>
</div>
</main> </main>
<div class="loading">
<div class="indicator"></div>
</div>
<div class="background"></div> <div class="background"></div>
<style> <style>
html, html,
@@ -39,8 +39,7 @@
height: calc(100vh + 5em); height: calc(100vh + 5em);
background-image: url("./assetsStatic/meshbackground.png"); background-image: url("./assetsStatic/meshbackground.png");
background-size: cover; background-size: cover;
filter: blur(1em) brightness(0.3); filter: brightness(0.3);
/* background-position: center; */
} }
main { main {
@@ -62,12 +61,13 @@
} }
.loading { .loading {
position: relative; position: fixed;
width: 50%; bottom: 0;
background: left: 0;
hsl(255, 100%, 4%); width: 100vw;
; background: hsla(255, 100%, 4%, 0.5);
height: 4px; z-index: 1;
height: 14px;
overflow: hidden; overflow: hidden;
} }
+1
View File
@@ -186,6 +186,7 @@ function App() {
} }
} else { } else {
navigate("/setup/server"); navigate("/setup/server");
setChecking(false);
} }
}); });
}; };