feat: change icon for pinned posts

This commit is contained in:
Xyphyn committed 2023-08-27 12:38:07 -07:00
1 parent 104a2ebade
commit 7490a7d1fd
3 files changed
+19 -13

No files matched your search

@@ -10,6 +10,7 @@
Icon,
InformationCircle,
LockClosed,
Megaphone,
Trash,
} from 'svelte-hero-icons'
import { getInstance } from '$lib/lemmy.js'
@@ -94,9 +95,9 @@
</Badge>
{/if}
{#if featured}
<Badge label="Pinned" color="green">
<Icon src={InformationCircle} mini size="14" />
Pinned
<Badge label="Featured" color="green">
<Icon src={Megaphone} mini size="14" />
Featured
</Badge>
{/if}
</div>