diff --git a/src/lib/components/lemmy/community/CommunityCard.svelte b/src/lib/components/lemmy/community/CommunityCard.svelte index 640b087d..7ab24086 100644 --- a/src/lib/components/lemmy/community/CommunityCard.svelte +++ b/src/lib/components/lemmy/community/CommunityCard.svelte @@ -39,6 +39,8 @@ } from 'svelte-hero-icons' import { publishedToDate } from '$lib/components/util/date.js' import CommunityLink from './CommunityLink.svelte' + import Expandable from '$lib/components/ui/Expandable.svelte' + import LabelStat from '$lib/components/ui/LabelStat.svelte' export let community_view: CommunityView export let moderators: CommunityModeratorView[] = [] @@ -206,53 +208,50 @@ - - - - -
- - - - - - - - - - - - -
- {#if moderators && moderators.length > 0} -
- Moderators -
- {#each moderators as moderator} - - - - - {moderator.moderator.name} - - {/each} + +
+ + About + + + + + Stats +
+ +
-
- {/if} - + + + {#if moderators && moderators.length > 0} + + Moderators +
+ {#each moderators as moderator} + + + + + {moderator.moderator.name} + + {/each} +
+
+ {/if} +
diff --git a/src/lib/components/ui/Expandable.svelte b/src/lib/components/ui/Expandable.svelte index 74eb32f1..22e5aac4 100644 --- a/src/lib/components/ui/Expandable.svelte +++ b/src/lib/components/ui/Expandable.svelte @@ -5,7 +5,7 @@ - +