diff --git a/app/(api)/_actions/emails/emailFormats/2026JudgeHubInviteTemplate.ts b/app/(api)/_actions/emails/emailFormats/2026JudgeHubInviteTemplate.ts new file mode 100644 index 000000000..dc9010166 --- /dev/null +++ b/app/(api)/_actions/emails/emailFormats/2026JudgeHubInviteTemplate.ts @@ -0,0 +1,61 @@ +export default function judgeHubInviteTemplate( + fname: string, + inviteLink: string +) { + return ` + +
+ + +
+ Hi ${fname},
+We are thrilled to welcome you as a judge at HackDavis 2026! We're excited to have your expertise help our hackers bring their ideas to life.
+Here's what you need to do:
+If the button doesn't work, copy and paste this link into your browser:
+ +See you at HackDavis! β¨
+The HackDavis Team
+
+
+ Hi ${fname},
+We are thrilled to welcome you as a mentor at HackDavis 2026! We're excited to have your expertise help our hackers bring their ideas to life.
+Here's what we need from you:
+If the button doesn't work, copy and paste this link into your browser:
+ +After claiming your ticket, you will receive a unique QR code for check-in at the event.
+See you at HackDavis! β¨
+The HackDavis Team
+
+ CSV errors:
+
+ {parseError}
+
+ + {preview.length} judge + {preview.length !== 1 ? 's' : ''} found. Review before sending: +
+| + First Name + | ++ Last Name + | ++ Email + | +
|---|---|---|
| + {judge.firstName} + | ++ {judge.lastName} + | +{judge.email} | +
+ {result.successCount} +
+Sent
++ {result.failureCount} +
+Failed
++ Failed invites +
+CSV errors:
+
+ {parseError}
+
+ + {preview.length} mentor + {preview.length !== 1 ? 's' : ''} found. Configure Tito settings and + review before sending: +
+ +| + First Name + | ++ Last Name + | ++ Email + | +
|---|---|---|
| + {mentor.firstName} + | ++ {mentor.lastName} + | ++ {mentor.email} + | +
+ {configError} +
+ )} + + ++ {result.successCount} +
+Sent
++ {result.failureCount} +
+Failed
++ Failed invites +
++ {loadError} +
+ ); + } + + return ( ++ Send a Tito invite to a single mentor by entering their details + below. +
++ Upload a CSV with columns{' '} + + First Name, Last Name, Email + {' '} + to send Tito invites to multiple mentors at once. +
++ Send a HackDavis Hub invite to a single judge by entering their + details below. +
++ Upload a CSV with columns{' '} + + First Name, Last Name, Email + {' '} + to send Hub invites to multiple judges at once. +
+