diff --git a/packages/app/src/SnortUtils/index.ts b/packages/app/src/SnortUtils/index.ts index a78bdb5d8..64a478c87 100644 --- a/packages/app/src/SnortUtils/index.ts +++ b/packages/app/src/SnortUtils/index.ts @@ -469,7 +469,7 @@ export function kvToObject(o: string, sep?: string) { } export function defaultAvatar(input: string) { - return `https://robohash.v0l.io/${input}.png`; + return `https://robohash.v0l.io/${input}.png${IsHalloween() ? "?set=set2" : ""}`; } export function isFormElement(target: HTMLElement): boolean { @@ -479,3 +479,8 @@ export function isFormElement(target: HTMLElement): boolean { return false; } + +export const IsHalloween = () => { + const now = new Date(); + return now.getMonth() === 9 && now.getDate() >= 17; +};