diff --git a/client/src/components/activity/Activity.tsx b/client/src/components/activity/Activity.tsx index 2fb2aa5db..0dad7f3f3 100644 --- a/client/src/components/activity/Activity.tsx +++ b/client/src/components/activity/Activity.tsx @@ -37,6 +37,7 @@ import { ClumpedActivitySession, } from "types/tachi"; import { InnerQuestSectionGoal } from "components/targets/quests/Quest"; +import ProfilePicture, { ProfilePictureSmall } from "components/user/ProfilePicture"; // Records activity for a group of users on a GPT. Also used for single users. export default function Activity({ @@ -298,6 +299,9 @@ function ScoresActivity({
setShow(!show)}>
+ + +
setShow(!show)}>
+ + +
+ + + completed the{" "}
setShow(!show)}>
+ + +
+ + + {" "} achieved{" "} ); } + +export function ProfilePictureSmall({ + user, + src, + toGPT = "", +}: { + user: UserDocument | string; + src?: string; + + /** + * When clicking this this profile, should it take you to a UGPT page? + */ + toGPT?: string; +}) { + if (typeof user === "string") { + return ( + + {`${user}'s + + ); + } + + return ( + + {`${user.username}'s + + ); +}