misc: design tweaks
This commit is contained in:
1 parent
51344294ff
commit
c922d5e143
6 files changed
+20
-19
No files matched your search
@@ -68,10 +68,12 @@
|
||||
{/if}
|
||||
<PostFeed posts={data.posts.posts} />
|
||||
</section>
|
||||
<Pageination
|
||||
page={data.page}
|
||||
on:change={(p) => searchParam($page.url, 'page', p.detail.toString())}
|
||||
/>
|
||||
<div class="mt-auto">
|
||||
<Pageination
|
||||
page={data.page}
|
||||
on:change={(p) => searchParam($page.url, 'page', p.detail.toString())}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<aside class="hidden xl:block">
|
||||
{#await data.streamed.site}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
{/if}
|
||||
{:else}
|
||||
<Placeholder>
|
||||
<Icon src={ClipboardDocumentCheck} size="32" slot="icon" />
|
||||
<Icon src={ClipboardDocumentCheck} size="48" slot="icon" />
|
||||
<span slot="title">No applications</span>
|
||||
<span slot="description">You're all caught up for now.</span>
|
||||
</Placeholder>
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
<Placeholder>
|
||||
<Icon src={QuestionMarkCircle} solid size="32" slot="icon" />
|
||||
<span slot="title">No taglines</span>
|
||||
<div slot="action" class=" mt-4 w-full flex flex-col gap-2">
|
||||
<div slot="action" class="mt-4 max-w-xl w-full flex flex-col gap-2">
|
||||
<form
|
||||
class="flex flex-col gap-2 w-full"
|
||||
on:submit|preventDefault={() => {
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
import Pageination from '$lib/components/ui/Pageination.svelte'
|
||||
import MultiSelect from '$lib/components/input/MultiSelect.svelte'
|
||||
import { profile } from '$lib/auth.js'
|
||||
import Placeholder from '$lib/components/ui/Placeholder.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
@@ -81,16 +82,14 @@
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<div class="flex flex-col gap-4 list-none my-4">
|
||||
<div class="flex flex-col gap-4 list-none my-4 h-full">
|
||||
{#if !data.data || (data.data?.length ?? 0) == 0}
|
||||
<div
|
||||
class="text-slate-600 dark:text-zinc-400 flex flex-col justify-center items-center py-8 gap-2"
|
||||
>
|
||||
<Icon src={EnvelopeOpen} size="48" />
|
||||
<div>
|
||||
<h1 class="font-bold text-3xl">Inbox empty</h1>
|
||||
<p class="mt-2 text-center">You're all caught up!</p>
|
||||
</div>
|
||||
<div>
|
||||
<Placeholder>
|
||||
<Icon src={EnvelopeOpen} size="48" slot="icon" />
|
||||
<span slot="title">Inbox empty</span>
|
||||
<span slot="description">You're all caught up!</span>
|
||||
</Placeholder>
|
||||
</div>
|
||||
{:else}
|
||||
{#each data.data as item}
|
||||
|
||||
Reference in new issue
Block a user