This commit is contained in:
MLH
2025-01-25 19:09:12 +01:00
parent 7479f34b80
commit 274603b600

View File

@ -45,7 +45,7 @@ const themeConfigs = {
js: 'seasonals/autumn.js',
containerClass: 'autumn-container'
},
eastern: {
easter: {
css: 'seasonals/easter.css',
js: 'seasonals/easter.js',
containerClass: 'easter-container'
@ -81,7 +81,7 @@ function determineCurrentTheme() {
if (month === 0 || month === 1) return 'snowfall'; // snow january, february
// if (month === 0 || month === 1) return 'snowstorm'; // snow january, february
if ((month === 2 && day >= 25) || (month === 3 && day <= 25)) return 'eastern'; // easter march 25 - april 25
if ((month === 2 && day >= 25) || (month === 3 && day <= 25)) return 'easter'; // easter march 25 - april 25
//NOT IMPLEMENTED YET
//if (month >= 2 && month <= 4) return 'spring'; // spring march, april, may