its for when you want to get like notifications for your reposts

feat: make user name / handle / did clickable link

ptr.pet e3fea54b 532f7575

verified
Changed files
+10 -4
webapp
+10 -4
webapp/src/ActivityItem.tsx
···
{props.data.liked ? "❤️" : "💔"}
</span>{" "}
{(profile && (
-
<span
+
<a
font-medium
+
href={`https://bsky.app/profile/${props.data.actor.did}`}
+
target="_blank"
+
hover:underline
text={`${props.isExtension ? "xs" : "sm"} gray-700`}
title={`@${profile!.handle}`}
>
···
(@{profile!.handle})
</span>
)}
-
</span>
+
</a>
)) || (
-
<span
+
<a
font-medium
+
href={`https://bsky.app/profile/${props.data.actor.did}`}
+
target="_blank"
+
hover:underline
text={`${props.isExtension ? "xs" : "sm"} gray-700`}
>
{props.data.actor.did}
-
</span>
+
</a>
)}{" "}
<span text-gray-800>{props.data.liked ? "liked" : "unliked"}</span>{" "}
<a