Skip to content

Commit 2becf7c

Browse files
jsollycursoragent
andauthored
Add Back to home at the end of each shelf (#75)
After Other shelves, offer a clear exit to the pie-chart home so readers who finish a shelf do not have to scroll back to the header. Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent fb8504c commit 2becf7c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/components/app/ShelfView.svelte

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,16 @@
221221
{/each}
222222
</ul>
223223
</nav>
224+
225+
<div class="mt-10 border-t pt-6 sm:mt-12">
226+
<Button
227+
size="lg"
228+
variant="outline"
229+
class="w-full sm:h-11 sm:text-base"
230+
href="/"
231+
>
232+
Back to home
233+
</Button>
234+
</div>
224235
</div>
225236
{/if}

0 commit comments

Comments
 (0)