misc: add titles to community and search page
This commit is contained in:
1 parent
2463bf3740
commit
8484ff5ed7
2 files changed
+14
-2
No files matched your search
@@ -16,6 +16,7 @@
|
|||||||
import Pageination from '$lib/components/ui/Pageination.svelte'
|
import Pageination from '$lib/components/ui/Pageination.svelte'
|
||||||
import { searchParam } from '$lib/util.js'
|
import { searchParam } from '$lib/util.js'
|
||||||
import { addSubscription } from '$lib/lemmy/user.js'
|
import { addSubscription } from '$lib/lemmy/user.js'
|
||||||
|
import Link from '$lib/components/input/Link.svelte'
|
||||||
|
|
||||||
export let data
|
export let data
|
||||||
|
|
||||||
@@ -26,7 +27,17 @@
|
|||||||
<title>Communities</title>
|
<title>Communities</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<div class="flex flex-col sm:flex-row gap-4">
|
<h1 class="text-2xl font-bold">Communities</h1>
|
||||||
|
<p class="text-slate-600 dark:text-zinc-400 mt-2">
|
||||||
|
Can't find a community on your home instance? Go to the <Link
|
||||||
|
href="/search"
|
||||||
|
highlight
|
||||||
|
>
|
||||||
|
search
|
||||||
|
</Link> page, and search with this syntax:
|
||||||
|
<code>!community@instance.com</code>
|
||||||
|
</p>
|
||||||
|
<div class="flex flex-col sm:flex-row gap-4 mt-4">
|
||||||
<MultiSelect
|
<MultiSelect
|
||||||
options={['Subscribed', 'Local', 'All']}
|
options={['Subscribed', 'Local', 'All']}
|
||||||
selected={$page.url.searchParams.get('type') ?? 'All'}
|
selected={$page.url.searchParams.get('type') ?? 'All'}
|
||||||
|
|||||||
@@ -36,7 +36,8 @@
|
|||||||
<title>Search</title>
|
<title>Search</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<div class="flex flex-row flex-wrap sm:justify-between items-center gap-4">
|
<h1 class="font-bold text-2xl">Search</h1>
|
||||||
|
<div class="flex flex-row flex-wrap sm:justify-between items-center gap-4 mt-4">
|
||||||
<MultiSelect
|
<MultiSelect
|
||||||
options={['All', 'Posts', 'Comments', 'Communities', 'Users']}
|
options={['All', 'Posts', 'Comments', 'Communities', 'Users']}
|
||||||
selected={$page.url.searchParams.get('type') ?? 'All'}
|
selected={$page.url.searchParams.get('type') ?? 'All'}
|
||||||
|
|||||||
Reference in new issue
Block a user