diff --git a/app/(api)/_actions/emails/emailTemplates/2026HackerInviteTemplate.ts b/app/(api)/_actions/emails/emailTemplates/2026HackerInviteTemplate.ts new file mode 100644 index 00000000..35f1a2fc --- /dev/null +++ b/app/(api)/_actions/emails/emailTemplates/2026HackerInviteTemplate.ts @@ -0,0 +1,85 @@ +export const HACKER_EMAIL_SUBJECT = + '[ACTION REQUIRED] Your Ticket to HackDavis 2026!'; + +export default function hackerInviteTemplate( + fname: string, + titoUrl: string, + hubInviteUrl: string +) { + const HEADER_IMAGE_URL = `${process.env.BASE_URL}/email/2026_header.png`; + const FOOTER_IMAGE_URL = `${process.env.BASE_URL}/email/2026_footer.png`; + const DISCORD_SERVER_URL = 'https://discord.gg/wc6QQEc'; + const CLAIM_TITO_TICKET_DEADLINE = 'May 6th, 11:59pm PDT'; + const DOE_DATE = 'May 9th, 2026'; + const DOE = 'May 9 - 10, 2026'; + const DOE_LOCATION = 'University Credit Union Center, UC Davis'; + + return ` + +
+ + +β¦ ${DOE} β¦ ${DOE_LOCATION}
+ +Hi ${fname}, you're in!
+We can't wait to see the amazing ideas youβll bring. Before you arrive, there are a few things youβll need to complete. π
+COMPLETE BEFORE THE EVENT
+1οΈβ£ Claim your Ticket by ${CLAIM_TITO_TICKET_DEADLINE}
+You must claim a ticket to attend β no ticket, no entry. Check in on your friends too and make sure everyone has theirs.
+π Tito Ticket: ${titoUrl}
+Do NOT share your unique link with anyone else.
+2οΈβ£ Create a HackDavis Hub Account by ${DOE_DATE}
+HackDavis Hub is where you'll find exciting information like prizes, workshops, starter kit, demo tips, live judging info and more!
+π Hub Invite: ${hubInviteUrl}
+Use this unique link to create your account. Do NOT share it with anyone else.
+3οΈβ£ Join our Discord server
+All event communication happens here. After joining, follow #read-me-first to get your Hacker role and unlock day-of channels.
+π Discord Server: ${DISCORD_SERVER_URL}
+Please feel free to reach out if you have any questions or concerns. We can't wait to see what you build!
+Thank you,
The HackDavis Team
Hi ${fname},
+Thank you so much for your interest in HackDavis 2026. We appreciate your enthusiasm and patience throughout this process.
+Unfortunately, due to overwhelming interest and limited capacity, weβre no longer able to accommodate hackers currently on the waitlist. We know this is disappointing, and weβre just as bummed out as you are.
+If you have any questions, concerns, or comments, please reach out to hello@hackdavis.io.
+Warmly,
The HackDavis Team
β¦ ${DOE} β¦ ${DOE_LOCATION}
+ +Hi ${fname}, you're in!
+Congrats β youβre off the waitlist! We can't wait to see the amazing ideas youβll bring. Before you arrive, there are a few things youβll need to complete. π
+COMPLETE BEFORE THE EVENT
+1οΈβ£ Claim your Ticket by ${CLAIM_TITO_TICKET_DEADLINE}
+You must claim a ticket to attend β no ticket, no entry. Check in on your friends too and make sure everyone has theirs.
+π Tito Ticket: ${titoUrl}
+Do NOT share your unique link with anyone else.
+2οΈβ£ Create a HackDavis Hub Account by ${DOE_DATE}
+HackDavis Hub is where you'll find exciting information like prizes, workshops, starter kit, demo tips, live judging info and more!
+π Hub Invite: ${hubInviteUrl}
+Use this unique link to create your account. Do NOT share it with anyone else.
+3οΈβ£ Join our Discord server
+All event communication happens here. After joining, follow #read-me-first to get your Hacker role and unlock day-of channels.
+π Discord Server: ${DISCORD_SERVER_URL}
+Please feel free to reach out if you have any questions or concerns. We can't wait to see what you build!
+Thank you,
The HackDavis Team
Hi ${fname},
+Thank you for applying! Unfortunately, due to a high volume of applications, you have been waitlisted for HackDavis 2026.
+We are unable to offer you admission currently, but spots may open up later! Just hang in there, we will get back to you about a change in your status as soon as possible.
+If you have any questions, concerns, or comments, please reach out to hello@hackdavis.io.
+Warmly,
The HackDavis Team