From 4127ccb975dc88ac79cd1d82f2563f771fc0740f Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 6 May 2024 05:02:49 -0700 Subject: feat(landing): cover mode list demos --- src/lib/Landing.svelte | 94 ++++---------------------------------------------- 1 file changed, 6 insertions(+), 88 deletions(-) (limited to 'src/lib/Landing.svelte') diff --git a/src/lib/Landing.svelte b/src/lib/Landing.svelte index ae8dcca0..9e5df53d 100644 --- a/src/lib/Landing.svelte +++ b/src/lib/Landing.svelte @@ -1,74 +1,15 @@
-
- - -
    - {#each randomManga as manga} - {@const readChapters = Math.floor(Math.random() * (manga.chapters || 0))} - -
  • - `} - use:tooltip - > - - - | - {readChapters}/{manga.chapters || '?'} - - [{Math.floor(Math.random() * ((manga.chapters ?? 0) - readChapters)) + - readChapters + - 1}] -
  • - {/each} -
+
+
@@ -118,31 +59,8 @@ >
-
- - -
    - {#each randomAnime as anime} - {@const watchedEpisodes = Math.floor(Math.random() * (anime.episodes || 0))} - -
  • - `} - use:tooltip - > - - - | - {watchedEpisodes}/{anime.episodes || '?'} - - [{Math.floor(Math.random() * ((anime.episodes ?? 0) - watchedEpisodes)) + - watchedEpisodes + - 1}] -
  • - {/each} -
+
+
-- cgit v1.2.3