misc: Change the way buttons are handled

This commit is contained in:
Xyphyn committed 2023-07-19 13:43:18 -07:00
1 parent d8ac0d807a
commit e243848e17
30 files changed
+215 -152

No files matched your search

+9 -1
View File
@@ -20,6 +20,7 @@
Icon,
PencilSquare,
} from 'svelte-hero-icons'
import Button from '$lib/components/input/Button.svelte'
export let data: {
user: GetPersonDetailsResponse
@@ -60,7 +61,14 @@
{item.post.name}
</span>
</div>
<Link href="/post/{item.post.id}#{item.comment.id}">Jump</Link>
<Button
color="secondary"
href="/post/{item.post.id}#{item.comment.id}"
size="sm"
class="self-start"
>
Jump
</Button>
</div>
<div class="list-none">
<Comment