FEAT: Splash Screen

todo: loading status and percent
This commit is contained in:
valerio
2026-03-23 19:57:20 +01:00
parent dd14c84e1f
commit a3bf261682
2 changed files with 82 additions and 31 deletions
+34
View File
@@ -0,0 +1,34 @@
<script>
let { loadingState } = $props();
</script>
<div class="splash">
{#if loadingState == 'loading'}
<div class="spinner">
<pre class="monospace">
▄▄▄▄▄
██▀▀▀▀█▄ █▄ █▄
▀██▄ ▄▀ ▄ ▄██▄██ ▀▀
▀██▄▄ ███▄███▄ ▄███▄ ▄███▄ ██ ████▄ ██ ▄█▀█▄
▄ ▀██▄ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▄█▀
▀██████▀▄██ ██ ▀█▄▀███▀▄▀███▀▄██▄██ ██▄██▄▀█▄▄▄
</pre>
</div>
{/if}
</div>
<style>
.splash {
align-items: center;
justify-content: center;
display: flex;
width: 100%;
height: 100%;
}
.spinner {
}
.monospace {
font-family: monospace;
color: var(--black);
}
</style>