🎩 Elevates ui components

This commit is contained in:
Rune Harlyk
2024-06-08 18:02:58 +02:00
committed by Rune Harlyk
parent 421c7a908b
commit 7005ae7e15
3 changed files with 6 additions and 7 deletions
+4 -5
View File
@@ -5,12 +5,11 @@
</script>
<div>
{#if !$socket}
<div class="flex flex-col h-full justify-center items-center">
<Spinner/>
<div class="absolute left-0 flex flex-col w-screen h-screen justify-center items-center backdrop-blur-sm z-10">
<Spinner/>
<h2>Waiting for connection</h2>
</div>
{:else}
<Controls />
<slot/>
{/if}
<Controls />
<slot/>
</div>