diff --git a/src/lib/components/SongEntry.svelte b/src/lib/components/SongEntry.svelte new file mode 100644 index 0000000..9418935 --- /dev/null +++ b/src/lib/components/SongEntry.svelte @@ -0,0 +1,87 @@ + + +
+
+ {animeName} + + {displayTypeNumber} +
+ +
+ {songName} + — {artistDisplay} +
+ + {#if showPlayer && fileName} +
+ +
+ {/if} +
diff --git a/src/routes/list/+page.svelte b/src/routes/list/+page.svelte index 3e4fc1e..8b86405 100644 --- a/src/routes/list/+page.svelte +++ b/src/routes/list/+page.svelte @@ -3,6 +3,7 @@ import { onMount } from "svelte"; import { z } from "zod"; import { invalidate } from "$app/navigation"; + import SongEntry from "$lib/components/SongEntry.svelte"; import { db as clientDb } from "$lib/db/client-db"; import { MalAnimeListQuerySchema, @@ -146,32 +147,16 @@