misc: add settings pages

This commit is contained in:
Xyphyn committed 2023-08-13 13:00:00 -07:00
1 parent 7e76b1684c
commit f493f19c60
12 files changed
+270 -148

No files matched your search

@@ -0,0 +1,16 @@
<script lang="ts">
import Avatar from '$lib/components/ui/Avatar.svelte'
import type { Community } from 'lemmy-js-client'
export let community: Community
</script>
<div class="flex flex-row gap-3 items-center">
<Avatar width={48} url={community.icon} alt={community.name} />
<div class="flex flex-col gap-0">
<h1 class="font-bold text-xl">{community.title}</h1>
<span class="dark:text-zinc-400 text-slate-600 text-sm">
!{community.name}@{new URL(community.actor_id).hostname}
</span>
</div>
</div>