From f06414839ce5bc66b85754b4b4924616661a239b Mon Sep 17 00:00:00 2001 From: Dmitry Pokidov <124110+dooman87@users.noreply.github.com> Date: Sun, 25 Feb 2024 21:52:16 +1100 Subject: [PATCH] Get Swag action --- config/actions.ts | 8 ++++++++ config/conference.ts | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config/actions.ts b/config/actions.ts index 3b341be5..943aa108 100644 --- a/config/actions.ts +++ b/config/actions.ts @@ -19,6 +19,14 @@ export default function getConferenceActions(conference: Conference, dates: Date }) } + if (dates.RegistrationClosed) { + actions.push({ + Category: 'swag', + Title: 'Get Swag', + Url: conference.Socials.RedBubble, + }) + } + if (dates.AgendaPublished) { let agendaTitle = 'View the agenda' if (dates.IsComplete) { diff --git a/config/conference.ts b/config/conference.ts index 191314bc..45825eba 100644 --- a/config/conference.ts +++ b/config/conference.ts @@ -25,7 +25,7 @@ const currentInstance = date.getFullYear() const firstInstance = 2015 const registrationOpenFrom = zonedTimeToUtc('2023-09-15T12:00:00', tz) const registrationOpenWave2From = zonedTimeToUtc('2023-10-15T08:00:00', tz) -const registrationOpenUntil = null +const registrationOpenUntil = zonedTimeToUtc('2024-02-23T00:00:00', tz) const presentationSubmissionsOpenFrom = zonedTimeToUtc('2023-09-01T08:00:00', tz) const presentationSubmissionsOpenUntil = zonedTimeToUtc('2023-11-01T23:59:59', tz) const votingOpenFrom = zonedTimeToUtc('2023-11-08T00:00:00', tz)