design: use new entityheader in community pages

This commit is contained in:
Xylight committed 2024-07-18 19:48:08 -07:00
1 parent 008f224055
commit c3e8fbb6a8
8 files changed
+154 -133

No files matched your search

@@ -9,6 +9,7 @@
export let name: boolean = true
export let avatarSize: number = 24
export let showInstance: boolean = $userSettings.showInstances.community
export let displayName: boolean = true
</script>
<a
@@ -29,7 +30,9 @@
{#if name}
<span class="flex gap-0 items-center max-w-full min-w-0 flex-shrink">
<span class="font-medium username-text">{community.title}</span>
<span class="font-medium username-text">
{displayName ? community.title : community.name}
</span>
{#if showInstance}
<span
class="text-slate-500 dark:text-zinc-500 font-normal