diff --git a/index.html b/index.html
index 7b939a0b..eb1c0267 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
-
Roguelike Celebration 2024
+ Roguelike Celebration
diff --git a/server/src/endpoints/toggleSpeakerStatus.ts b/server/src/endpoints/toggleSpeakerStatus.ts
index 078521e1..90eae207 100644
--- a/server/src/endpoints/toggleSpeakerStatus.ts
+++ b/server/src/endpoints/toggleSpeakerStatus.ts
@@ -5,7 +5,8 @@ import { UnlockableBadgeMap } from '../badges'
const toggleSpeakerStatus: AuthenticatedEndpointFunction = async (user: User, inputs: any, log: LogFn) => {
const userIdToToggle: string = inputs.userId
- const isForPastYear = inputs.year !== '2024'
+ const thisYear: string = `${(new Date()).getFullYear()}`
+ const isForPastYear = inputs.year !== thisYear
if (!userIdToToggle) {
return {
diff --git a/src/components/GoHomeView.tsx b/src/components/GoHomeView.tsx
index da1bdb70..438ea22d 100644
--- a/src/components/GoHomeView.tsx
+++ b/src/components/GoHomeView.tsx
@@ -1,10 +1,12 @@
import React from 'react'
export default function GoHomeView () {
+ const thisYear: string = `${(new Date()).getFullYear()}`
+
return (
A magical force repels you from the entrance
-
Roguelike Celebration is currently closed! Check the schedule to see when our doors will be open again.
+
Roguelike Celebration is currently closed! Check the schedule to see when our doors will be open again.
We look forward to celebrating again with you soon :)
)
diff --git a/src/components/LoggedOutView.tsx b/src/components/LoggedOutView.tsx
index 48735b90..3226a2cd 100644
--- a/src/components/LoggedOutView.tsx
+++ b/src/components/LoggedOutView.tsx
@@ -23,10 +23,12 @@ const uiConfig = {
}
export default function LoggedOutView () {
+ const thisYear: string = `${(new Date()).getFullYear()}`
+
return (
- Welcome to Roguelike Celebration 2024!
+ Welcome to Roguelike Celebration {thisYear}!