diff --git a/src/lib/components/lemmy/community/CommunityHeader.svelte b/src/lib/components/lemmy/community/CommunityHeader.svelte index dda0b535..4600a29f 100644 --- a/src/lib/components/lemmy/community/CommunityHeader.svelte +++ b/src/lib/components/lemmy/community/CommunityHeader.svelte @@ -95,13 +95,10 @@ {/snippet} {#if moderators.length > 0} - + {#snippet title()} - {$t('cards.community.moderators')} +
{/snippet} ({ @@ -114,7 +111,7 @@ dark:border-zinc-800 border-slate-300 border-opacity-50 text-slate-700 dark:text />
{/if} -
+
{#if $profile?.jwt} {#snippet prefix()} + {richURL.hostname} {/if} diff --git a/src/lib/components/markdown/Markdown.svelte b/src/lib/components/markdown/Markdown.svelte index 58ae6d4e..24f277ab 100644 --- a/src/lib/components/markdown/Markdown.svelte +++ b/src/lib/components/markdown/Markdown.svelte @@ -88,8 +88,6 @@ - - {#if banner || avatar} -
- -
-
- -
+
+ {#if banner} + User banner {/if} -
+
@@ -102,27 +89,47 @@
{#if bio}
-
- -
+ + {#snippet title(open)} + {#if bio.split('\n')?.[0]?.startsWith('#') || open} + {$t('nav.menu.about')} + {:else} +
+ {bio.split('\n')?.[0].slice(0, 75)} +
+ {/if} +
+
+ {$t('form.post.readMore')} +
+ {/snippet} + +
{/if}
-
+
{#if stats.length > 0} -
+
{#each stats as stat} -
-
+
+
{stat.name}
-
+
{#if stat.format ?? true} - +