{#if profile}
{#if profile.banner}
Profile banner { (e.target as HTMLImageElement).style.display = 'none';}} />
{/if}
{#if profile.picture} Profile avatar { (e.target as HTMLImageElement).src = '/favicon.png'; }} /> {/if} {@render userBadge(toNpub(event.pubkey) as string, profile.displayName || profile.name || event.pubkey)}
{#if profile.name}
Name:
{profile.name}
{/if} {#if profile.displayName}
Display Name:
{profile.displayName}
{/if} {#if profile.about}
About:
{profile.about}
{/if} {#if profile.website} {/if} {#if profile.lud16}
Lightning Address:
{/if} {#if profile.nip05}
NIP-05:
{profile.nip05}
{/if} {#each identifiers as id}
{id.label}:
{#if id.link}{id.value}{:else}{id.value}{/if}
{/each}
{#if profile.lud16}
{@render userBadge(toNpub(event.pubkey) as string, profile?.displayName || profile.name || event.pubkey)}

{profile.lud16}

Scan the QR code or copy the address

{#if lnurl}

{:else}

Couldn't generate address.

{/if}
{/if}
{/if}