feat: followers/following links on remote profile; render remote post content as HTML
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m39s
test / unit (pull_request) Failing after 10m48s
test / integration (pull_request) Failing after 16m54s
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m39s
test / unit (pull_request) Failing after 10m48s
test / integration (pull_request) Failing after 16m54s
This commit is contained in:
@@ -133,6 +133,31 @@ export function RemoteUserProfile({
|
||||
</Link>
|
||||
</Button>
|
||||
|
||||
{(actor.followersUrl || actor.followingUrl) && (
|
||||
<div className="mt-3 flex gap-3 text-sm">
|
||||
{actor.followersUrl && (
|
||||
<Link
|
||||
href={actor.followersUrl}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-muted-foreground hover:text-foreground hover:underline"
|
||||
>
|
||||
Followers
|
||||
</Link>
|
||||
)}
|
||||
{actor.followingUrl && (
|
||||
<Link
|
||||
href={actor.followingUrl}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-muted-foreground hover:text-foreground hover:underline"
|
||||
>
|
||||
Following
|
||||
</Link>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{actor.alsoKnownAs && (
|
||||
<p className="mt-2 text-xs text-muted-foreground">
|
||||
Also known as:{" "}
|
||||
|
||||
Reference in New Issue
Block a user