Add chat sidebar

This commit is contained in:
Jon Staab
2024-10-03 17:04:00 -07:00
parent 749185190b
commit 7ffd02b736
9 changed files with 187 additions and 31 deletions
+14
View File
@@ -0,0 +1,14 @@
<script lang="ts">
import {deriveProfile} from '@welshman/app'
import ProfileCircle from "@app/components/ProfileCircle.svelte"
export let pubkeys
</script>
<div class="flex pr-3">
{#each pubkeys.slice(0, 15) as pubkey (pubkey)}
<div class="z-feature -mr-3 inline-block">
<ProfileCircle class="w-8 h-8" {pubkey} {...$$props} />
</div>
{/each}
</div>