mirror of
https://github.com/github-tijlxyz/khatru-pyramid.git
synced 2025-07-22 13:15:28 +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 {
|
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(
|
Span(profile.ShortName()).Attr(
|
||||||
"npub", profile.Npub(),
|
"npub", profile.Npub(),
|
||||||
"name", profile.ShortName(),
|
"name", profile.ShortName(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user