diff --git a/src/lib/components/PostSection.svelte b/src/lib/components/PostSection.svelte index cabda05f..81c892b5 100644 --- a/src/lib/components/PostSection.svelte +++ b/src/lib/components/PostSection.svelte @@ -418,7 +418,7 @@ $: {
-
+
@@ -471,7 +471,7 @@ $: {
-

+

{posts?.title}

diff --git a/src/routes/community/+page.svelte b/src/routes/community/+page.svelte index 2097b9eb..b16bddcd 100644 --- a/src/routes/community/+page.svelte +++ b/src/routes/community/+page.svelte @@ -10,6 +10,8 @@ import SkeletonLoading from '$lib/components/SkeletonLoading.svelte'; import InfiniteLoading from '$lib/components/InfiniteLoading.svelte'; import communityBanner from '$lib/images/community_banner.jpg'; + import * as Avatar from "$lib/components/shadcn/avatar/index.js"; + export let data; export let form; @@ -609,18 +611,17 @@ $: {
{#each discordData?.members?.slice(0,5) as item, index} {#if index < 4} -
-
- -
-
- {/if} + + + CN + + {/if} {#if index >=4} -
-
- +{discordData?.members?.length -4} -
+ +
+ +{discordData?.members?.length - 4}
+
{/if} {/each}