diff --git a/src/app/(mentor)/mentor/projects/[id]/page.tsx b/src/app/(mentor)/mentor/projects/[id]/page.tsx index 9a26169..2cd094f 100644 --- a/src/app/(mentor)/mentor/projects/[id]/page.tsx +++ b/src/app/(mentor)/mentor/projects/[id]/page.tsx @@ -344,6 +344,25 @@ function ProjectDetailContent({ projectId }: { projectId: string }) { + {(() => { + const emails = (project.teamMembers ?? []) + .map((m) => m.user.email) + .filter((e): e is string => !!e) + if (emails.length === 0) return null + const mailto = `mailto:${emails.join(',')}?subject=${encodeURIComponent( + `MOPC Mentorship — ${project.title}`, + )}` + return ( +
+ +
+ ) + })()} {/* Team Lead */} {teamLead && (