diff --git a/src/lib/components/ui/EndPlaceholder.svelte b/src/lib/components/ui/EndPlaceholder.svelte
index bb6ea723..0b1019b5 100644
--- a/src/lib/components/ui/EndPlaceholder.svelte
+++ b/src/lib/components/ui/EndPlaceholder.svelte
@@ -12,7 +12,7 @@
none: '',
sm: 'mt-3 mb-1 px-3',
md: 'mt-4 mb-2',
- lg: 'mt-5 mb-3',
+ lg: 'mt-6 mb-2',
}
const colors = {
@@ -50,7 +50,7 @@
clazz,
]}
>
-
+
{@render children?.()}
{#if children}
@@ -55,12 +55,12 @@
{#if back}
diff --git a/src/routes/communities/+page.svelte b/src/routes/communities/+page.svelte
index ab8e7d68..9ea857b8 100644
--- a/src/routes/communities/+page.svelte
+++ b/src/routes/communities/+page.svelte
@@ -17,6 +17,7 @@
import { expoOut } from 'svelte/easing'
import { fly } from 'svelte/transition'
import SearchBar from '../search/SearchBar.svelte'
+ import EndPlaceholder from '$lib/components/ui/EndPlaceholder.svelte'
let { data } = $props()
@@ -96,9 +97,7 @@
{/each}
{:else}
-
+
{#if data.communities.value.length == 0}
+
{$t('routes.search.top')}
-
+
@@ -138,9 +137,9 @@
{/if}
{#if data.communities.value.slice(showTop ? 3 : 0).length > 0}
-
+
{$t('routes.search.other')}
-
+
{/if}
{#if data.communities.value}
{@const sliced = data.communities.value.slice(showTop ? 3 : 0)}