From 20c45e267689f191a78e2831f847c94c0626e115 Mon Sep 17 00:00:00 2001 From: Admin Date: Fri, 6 Mar 2026 20:17:57 +0500 Subject: [PATCH] Mobile hero: move CTAs to full-width row below cover; fix chapter dates still showing on mobile --- ui/src/routes/books/[slug]/+page.svelte | 255 ++++++++++++++---------- 1 file changed, 151 insertions(+), 104 deletions(-) diff --git a/ui/src/routes/books/[slug]/+page.svelte b/ui/src/routes/books/[slug]/+page.svelte index 5ae845d..09bd267 100644 --- a/ui/src/routes/books/[slug]/+page.svelte +++ b/ui/src/routes/books/[slug]/+page.svelte @@ -172,117 +172,164 @@ {/if} -
- - {#if data.book.cover} - {data.book.title} - {/if} - - -
- -
-

{data.book.title}

- {#if !data.inLib} - - not in library - - {/if} -
- - - {#if data.book.author} -

{data.book.author}

+
+ +
+ + {#if data.book.cover} + {data.book.title} {/if} - -
- {#if data.book.status} - {data.book.status} - {/if} - {#each genres as genre} - {genre} - {/each} -
- - - {#if data.book.summary} -
-

- {data.book.summary} -

- {#if data.book.summary.length > 220} - + {/if} +
+ {/if} + + + - {/if} - - -
- - {#if data.lastChapter} - - Continue ch.{data.lastChapter} - - {/if} - - - {#if chapterList.length > 0} - - {data.inLib ? 'Start from ch.1' : 'Preview ch.1'} - - {/if} - - - {#if data.inLib} - - {/if}
+ + +
+ {#if data.lastChapter} + + Continue ch.{data.lastChapter} + + {/if} + {#if chapterList.length > 0} + + {data.inLib ? 'Start from ch.1' : 'Preview ch.1'} + + {/if} + {#if data.inLib} + + {/if} +
@@ -355,7 +402,7 @@ {#if (chapter as { date_label?: string }).date_label} - + · {(chapter as { date_label?: string }).date_label} {/if} {#if isCurrent}