UX: show loading icon if images are being loaded

This commit is contained in:
Pieter Vander Vennet 2025-01-17 16:01:40 +01:00
parent d7509c8d6f
commit 32993df92a
7 changed files with 97 additions and 57 deletions

View file

@ -0,0 +1,11 @@
<script lang="ts">
import Loading from "./Loading.svelte"
</script>
<div class="relative w-60 h-80">
<div class="animate-pulse w-full h-full bg-gray-400">
</div>
<div class="w-full h-full absolute top-0 flex items-center justify-center">
<Loading />
</div>
</div>