diff --git a/ui/src/routes/+page.svelte b/ui/src/routes/+page.svelte index 63876e0..2d566a4 100644 --- a/ui/src/routes/+page.svelte +++ b/ui/src/routes/+page.svelte @@ -151,9 +151,19 @@ ontouchstart={onSwipeStart} ontouchend={onSwipeEnd} > + + {#if heroBook.book.cover} + {#key heroIndex} + + {/key} + {/if} + class="w-32 sm:w-44 shrink-0 self-stretch overflow-hidden block relative z-[1]"> {#if heroBook.book.cover} {#key heroIndex} {heroBook.book.title} -

{m.home_continue_reading()}

diff --git a/ui/src/routes/books/[slug]/+page.svelte b/ui/src/routes/books/[slug]/+page.svelte index 151108e..e62ad0b 100644 --- a/ui/src/routes/books/[slug]/+page.svelte +++ b/ui/src/routes/books/[slug]/+page.svelte @@ -757,25 +757,26 @@
- + {#if book.cover} {/if} - + + -
+
-
+
{#if book.cover} {book.title} {/if} @@ -783,7 +784,7 @@
-

{book.title}

+

{book.title}

{#if !data.inLib} handleNovelClick(novel.slug)} - class="group flex flex-col rounded-lg overflow-hidden bg-(--color-surface-2) border transition-colors relative - {isLoading ? 'border-(--color-brand)/60' : 'border-(--color-border) hover:border-zinc-500'}" + class="group flex flex-col rounded-lg overflow-hidden bg-(--color-surface-2) border transition-all relative + {isLoading ? 'border-(--color-brand)/60' : 'border-(--color-border) hover:border-(--color-brand)/50 hover:bg-(--color-surface-3) hover:shadow-lg hover:shadow-black/20 hover:-translate-y-0.5'}" >