|
|
@@ -80,7 +80,12 @@
|
|
|
</svelte:head>
|
|
|
|
|
|
{#if isLoading}
|
|
|
- <div in:fade class="text-center py-6 text-gray-500 dark:text-gray-300">Loading...</div>
|
|
|
+ <div in:fade class="flex justify-center items-center py-10">
|
|
|
+ <svg class="animate-spin h-8 w-8 text-blue-500 dark:text-blue-300" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
|
+ <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
|
|
|
+ <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8v8H4z"></path>
|
|
|
+ </svg>
|
|
|
+ </div>
|
|
|
{:else}
|
|
|
<div in:fade class="space-y-6">
|
|
|
<div class="flex justify-end mb-4">
|