mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: add recent pastes page with data fetching and display logic
This commit is contained in:
@@ -22,7 +22,11 @@
|
||||
|
||||
<div class="top-0 left-0 z-100 h-15 w-full bg-neutral-900">
|
||||
<div class="mx-auto flex h-15 w-[95%] max-w-7xl items-center py-2">
|
||||
<a href={resolve('/')} class="text-xl font-bold text-white hover:text-neutral-300">Sharpbin</a>
|
||||
<div>
|
||||
<a href={resolve('/')} class="text-xl font-bold text-white hover:text-neutral-300">Sharpbin</a
|
||||
>
|
||||
<a href={resolve('/recent')} class="ml-6 text-white hover:text-neutral-300">Recent Pastes</a>
|
||||
</div>
|
||||
{#if $user}
|
||||
<div class="ml-auto flex items-center space-x-4">
|
||||
{#if $user.roles.includes(1) || $user.roles.includes(255)}
|
||||
|
||||
Reference in New Issue
Block a user