From 3849b4ee15c40da98dd43f134bc8f553c398a489 Mon Sep 17 00:00:00 2001 From: draw-n Date: Wed, 11 Sep 2024 18:43:33 -0500 Subject: [PATCH 1/2] added discord link and fixed all dates (#502) * added discord link and fixed all dates * Run Prettier * Fix prettier --------- Co-authored-by: draw-n Co-authored-by: draw-n Co-authored-by: lisaliuu <82255401+lisaliuu@users.noreply.github.com> --- components/hacker/HackerDash.tsx | 2 +- components/hacker/hacking-start/TeamManagement.tsx | 2 +- email/html/accepted.html | 6 +++--- email/html/confirmed.html | 7 ++++--- email/html/reminderToSubmit.html | 2 +- email/html/travelForm.html | 4 ++-- email/templates/accepted.ts | 4 ++-- email/templates/confirmed.ts | 2 +- email/templates/reminderToSubmit.ts | 2 +- scripts/cli-util/modify-hacker.ts | 1 - 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/components/hacker/HackerDash.tsx b/components/hacker/HackerDash.tsx index c6513a72..4471c65d 100644 --- a/components/hacker/HackerDash.tsx +++ b/components/hacker/HackerDash.tsx @@ -792,7 +792,7 @@ export default function HackerDash({ userApplicationStatus, setUserApplicationSt
You have been accepted to VandyHacks!
- + diff --git a/components/hacker/hacking-start/TeamManagement.tsx b/components/hacker/hacking-start/TeamManagement.tsx index 72ccaa6d..e30210c7 100644 --- a/components/hacker/hacking-start/TeamManagement.tsx +++ b/components/hacker/hacking-start/TeamManagement.tsx @@ -146,7 +146,7 @@ const TeamManagement = () => { Team
You can create a team or join a team (1 - 4 people per team). Devpost link must be submitted by 12:30 PM - on October 29th. + on September 29th.
{!teamData && ( <> diff --git a/email/html/accepted.html b/email/html/accepted.html index 1adb40d7..9be6e3a0 100644 --- a/email/html/accepted.html +++ b/email/html/accepted.html @@ -425,7 +425,7 @@ VandyHacks XI: Racing Edition! We enjoyed reading your application and would love to see your ideas come to life during our event on - October 28th-29th! + September 28th-29th! @@ -449,7 +449,7 @@ "> Head over to the application portal
here - and confirm your attendance by October 26th, + and confirm your attendance by September 26th, 12:00 PM CDT. @@ -478,7 +478,7 @@ info@vandyhacks.org. In the meantime, join our - discord server to stay up to date on the latest VH news! diff --git a/email/html/confirmed.html b/email/html/confirmed.html index 7b2a52b0..e0f11454 100644 --- a/email/html/confirmed.html +++ b/email/html/confirmed.html @@ -448,8 +448,8 @@ to our event. We'll be in touch again soon with more information on our opening ceremony, but as a reminder, festivities will start at 12:00 PM - CDT Saturday, October 28th, and wrap up by 5:30 - PM CDT Sunday, October 29th. + CDT Saturday, September 28th, and wrap up by + 5:30 PM CDT Sunday, September 29th. @@ -477,7 +477,8 @@
  • Join our Discord - here diff --git a/email/html/reminderToSubmit.html b/email/html/reminderToSubmit.html index b62aee1a..efc46d41 100644 --- a/email/html/reminderToSubmit.html +++ b/email/html/reminderToSubmit.html @@ -472,7 +472,7 @@ vandyhacks.org - by October 16th, at 11:59pm to have the + by September 16th, at 11:59pm to have the chance to create unique projects, win prizes, attend workshops/speaker events, network with our sponsors, receive cool swag, eat free food, diff --git a/email/html/travelForm.html b/email/html/travelForm.html index 5384a73d..ff776573 100644 --- a/email/html/travelForm.html +++ b/email/html/travelForm.html @@ -498,7 +498,7 @@ To be considered for travel reimbursements you must complete this form by October 13th, 2023 at 11:59 PM US Central + >September 13th, 2024 at 11:59 PM US Central Time. There will be no exceptions to this deadline, so please make sure you plan accordingly. @@ -575,7 +575,7 @@ text-align: left; color: #637381; "> - We look forward to seeing you in October! + We look forward to seeing you in September! diff --git a/email/templates/accepted.ts b/email/templates/accepted.ts index d3c092cf..33a9e181 100644 --- a/email/templates/accepted.ts +++ b/email/templates/accepted.ts @@ -26,9 +26,9 @@ export default async (user: UserData): Promise => ({ Text: { Charset: 'UTF-8', Data: `Hi ${escapeChars(user.name || user.name)}, - Congratulations! You’re invited to be a part of VandyHacks XI: Racing Edition! We enjoyed reading your application and would love to see your ideas come to life during our event on October 28th-29th! + Congratulations! You’re invited to be a part of VandyHacks XI: Racing Edition! We enjoyed reading your application and would love to see your ideas come to life during our event on September 28th-29th! - Head over to the application portal here and confirm your attendance by October 26th, 12:00 PM CDT. + Head over to the application portal here and confirm your attendance by September 26th, 12:00 PM CDT. If you have any questions or concerns, check out our FAQ or reach out to us at info@vandyhacks.org. In the meantime join our discord server to stay up to date on the latest VH news! diff --git a/email/templates/confirmed.ts b/email/templates/confirmed.ts index 7c846fcf..ce095bf8 100644 --- a/email/templates/confirmed.ts +++ b/email/templates/confirmed.ts @@ -28,7 +28,7 @@ export default async (user: UserData): Promise => ({ Data: `Hey ${escapeChars(user.name)}, We're so excited that you'll be joining us for VandyHacks XI: Racing Edition! - This email is just to confirm that you've RSVPed to our event. We'll be in touch again soon with more information on our opening ceremony, but as a reminder, festivities will start at 12:00 PM CDT Saturday, October 28th, and wrap up by 5:30 PM CDT Sunday, October 29th. + This email is just to confirm that you've RSVPed to our event. We'll be in touch again soon with more information on our opening ceremony, but as a reminder, festivities will start at 12:00 PM CDT Saturday, September 28th, and wrap up by 5:30 PM CDT Sunday, September 29th. In the meantime, be sure to complete the following: diff --git a/email/templates/reminderToSubmit.ts b/email/templates/reminderToSubmit.ts index 188fba70..81c157ab 100644 --- a/email/templates/reminderToSubmit.ts +++ b/email/templates/reminderToSubmit.ts @@ -28,7 +28,7 @@ export default async (user: UserData): Promise => ({ Data: `Applications Closing Soon! Hi ${escapeChars(user.name)}, We’ve noticed you’ve created an application with us, but we do not have a record of your submission. We would love to have you join VandyHacks XI: Racing Edition! - Make sure you apply at vandyhacks.org by October 16th, at 11:59pm to have the chance to create unique projects, win prizes, attend workshops/speaker events, network with our sponsors, receive cool swag, eat free food, and so much more! + Make sure you apply at vandyhacks.org by September 16th, at 11:59pm to have the chance to create unique projects, win prizes, attend workshops/speaker events, network with our sponsors, receive cool swag, eat free food, and so much more! Feel free to email us at info@vandyhacks.org if you have any questions Cheers, The VandyHacks Team`, diff --git a/scripts/cli-util/modify-hacker.ts b/scripts/cli-util/modify-hacker.ts index 3c6c9580..feb6d280 100644 --- a/scripts/cli-util/modify-hacker.ts +++ b/scripts/cli-util/modify-hacker.ts @@ -6,7 +6,6 @@ import { promptAction } from '../dev-cli'; import { ApplicationStatus, TeamData, UserData } from '../../types/database'; import { ObjectId } from 'mongoose'; -// TODO: zi /** * Quickly change the application status of hacker. * A hacker has multiple application statuses. From 3f2f527267c9f0035f40891bc889db19c9e8a9f3 Mon Sep 17 00:00:00 2001 From: Lisa Liu <82255401+lisaliuu@users.noreply.github.com> Date: Wed, 11 Sep 2024 18:55:38 -0500 Subject: [PATCH 2/2] Make sure no reimbursement email is being sent (#503) --- pages/api/apply.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/api/apply.ts b/pages/api/apply.ts index ad47b2e1..89ca2e56 100644 --- a/pages/api/apply.ts +++ b/pages/api/apply.ts @@ -37,8 +37,8 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse< { application: application._id, applicationStatus: ApplicationStatus.SUBMITTED } ); - await sendEmail(await submitted(user)); - if (body.applyTravelReimbursement === 'yes') await sendEmail(await travelForm(user)); + // await sendEmail(await submitted(user)); + // if (body.applyTravelReimbursement === 'yes') await sendEmail(await travelForm(user)); return res.send(200); default: