All novels loaded
{/if} {/if} + + +{#if showScrollTop} + +{/if}diff --git a/ui/src/routes/+layout.svelte b/ui/src/routes/+layout.svelte index 676474a..6c055a0 100644 --- a/ui/src/routes/+layout.svelte +++ b/ui/src/routes/+layout.svelte @@ -208,48 +208,69 @@ libnovel + {#if data.user} - - Library - - - Discover - + + + Library + + + Discover + +
{:else}Admin
+ (menuOpen = false)} + class="px-3 py-2.5 rounded-lg text-sm font-medium transition-colors {page.url.pathname.startsWith('/admin/scrape') ? 'bg-zinc-800 text-zinc-100' : 'text-zinc-400 hover:bg-zinc-800 hover:text-zinc-100'}" + > + Scrape tasks + + (menuOpen = false)} + class="px-3 py-2.5 rounded-lg text-sm font-medium transition-colors {page.url.pathname.startsWith('/admin/audio') ? 'bg-zinc-800 text-zinc-100' : 'text-zinc-400 hover:bg-zinc-800 hover:text-zinc-100'}" + > + Audio cache + + {/if} + +All novels loaded
{/if} {/if} + + +{#if showScrollTop} + +{/if}