mirror of
https://github.com/github-tijlxyz/khatru-pyramid.git
synced 2025-04-19 18:31:18 +00:00
open profile links in blank window.
This commit is contained in:
parent
262d64ef40
commit
5a663f7b2f
@ -39,7 +39,7 @@ func userRowComponent(ctx context.Context, profile sdk.ProfileMetadata, loggedUs
|
||||
}
|
||||
|
||||
func userNameComponent(profile sdk.ProfileMetadata) HTMLComponent {
|
||||
return A().Href("nostr:" + profile.Npub()).Children(
|
||||
return A().Href("nostr:" + profile.Npub()).Target("_blank").Children(
|
||||
Span(profile.ShortName()).Attr(
|
||||
"npub", profile.Npub(),
|
||||
"name", profile.ShortName(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user