feat: change the way placeholders work
This commit is contained in:
1 parent
8aa62b046e
commit
e86d436c86
12 files changed
+121
-96
No files matched your search
@@ -12,10 +12,12 @@
|
||||
|
||||
{#if posts.length == 0}
|
||||
<div class="h-full grid place-items-center">
|
||||
<Placeholder>
|
||||
<Icon src={ArchiveBox} size="32" solid slot="icon" />
|
||||
<span slot="title">No posts</span>
|
||||
<Button href="/communities" class="mt-4" slot="action">
|
||||
<Placeholder
|
||||
icon={ArchiveBox}
|
||||
title="No posts"
|
||||
description="There are no posts that match this filter."
|
||||
>
|
||||
<Button href="/communities">
|
||||
<Icon src={Plus} size="16" mini slot="icon" />
|
||||
<span>Follow some communities</span>
|
||||
</Button>
|
||||
|
||||
Reference in new issue
Block a user