Add roles

This commit is contained in:
Jon Staab
2026-06-22 13:36:57 -07:00
parent fd4e7a9f2d
commit 7ec5a28d1f
42 changed files with 1169 additions and 384 deletions
+3 -2
View File
@@ -5,14 +5,15 @@
export type Props = {
pubkey: string
singleLine?: boolean
url?: string
}
const {pubkey, url}: Props = $props()
const {pubkey, url, singleLine}: Props = $props()
const profile = deriveProfile(pubkey, removeUndefined([url]))
</script>
{#if $profile}
<ContentMinimal event={{content: $profile.about || "", tags: []}} />
<ContentMinimal event={{content: $profile.about || "", tags: []}} {singleLine} />
{/if}