aboutsummaryrefslogtreecommitdiff
path: root/src/lib/List/Manga/CleanMangaList.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-25 08:51:16 -0800
committerFuwn <[email protected]>2024-01-25 08:51:16 -0800
commita425a29347f8a80d475ba25eb9cca3b38158443b (patch)
tree024f1da95758336fcc5c2d2a86ce60ecf421c6a8 /src/lib/List/Manga/CleanMangaList.svelte
parentfeat: more fluid skeleton ui (diff)
downloaddue.moe-a425a29347f8a80d475ba25eb9cca3b38158443b.tar.xz
due.moe-a425a29347f8a80d475ba25eb9cca3b38158443b.zip
feat: move everything to skeletion loading ui
Diffstat (limited to 'src/lib/List/Manga/CleanMangaList.svelte')
-rw-r--r--src/lib/List/Manga/CleanMangaList.svelte6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/List/Manga/CleanMangaList.svelte b/src/lib/List/Manga/CleanMangaList.svelte
index e14e03f0..399ae68e 100644
--- a/src/lib/List/Manga/CleanMangaList.svelte
+++ b/src/lib/List/Manga/CleanMangaList.svelte
@@ -15,9 +15,9 @@
} from '$lib/Media/Cover/hoverCover';
import { onMount } from 'svelte';
import proxy from '$lib/Utility/proxy';
- import Loading from '$lib/Utility/Loading.svelte';
import root from '$lib/Utility/root';
import locale from '$stores/locale';
+ import Skeleton from '$lib/Skeleton.svelte';
export let media: Media[];
export let cleanCache: () => void;
@@ -58,7 +58,7 @@
{#if rateLimited}
{#await serviceStatusResponse}
- <Loading type="service status" percent={33} card={false} />
+ <Skeleton card={false} count={1} height="0.9rem" list />
{:then status}
{#if status}
{#if status.status === 503}
@@ -71,7 +71,7 @@
<Error />
{/if}
{:else}
- <Loading type="service status" percent={66} card={false} />
+ <Skeleton card={false} count={1} height="0.9rem" list />
{/if}
{:catch}
<a href="https://due.moe">due.moe</a>'s manga data source is currently unreachable. Please check