add empty-state progress loader

main
Yanick Champoux 2024-02-04 14:55:08 -05:00
parent 2c219ae4cc
commit 3d6d8e8001
1 changed files with 9 additions and 1 deletions

View File

@ -28,7 +28,15 @@
>. >.
</p> </p>
{#await data.games then games} {#await data.games}
<div class="medium-height middle-align center-align">
<div class="center-align">
<progress class="circle"></progress>
<h5>gathering games...</h5>
</div>
</div>
{:then games}
<GameList {games} /> <GameList {games} />
{/await} {/await}
</article> </article>