diff --git a/constants.json b/constants.json index 8d930e5..12a9149 100644 --- a/constants.json +++ b/constants.json @@ -121,6 +121,13 @@ "color": "red", "caseInsensitive": true }, + { + "words": [ + "EVIL" + ], + "color": "red", + "bold": true + }, { "words": [ "Spooky's Jump Scare Mansion" @@ -134,7 +141,8 @@ ".html", "Shortcat", "Valve", - "Spooky", + "Spooky Month", + "spooky", "The Ironclad", "Search Party" ], diff --git a/randomThemer.js b/randomThemer.js index deaf20a..4954739 100644 --- a/randomThemer.js +++ b/randomThemer.js @@ -1,7 +1,8 @@ function rain() { var html = "" - html += ` ` + html += `` + html += `
` var amount = 7 @@ -57,77 +58,27 @@ function rain() { return html } -function purpleMagic() { +function halloween() { var html = "" - html += ` ` - html += `
` - - var amount = 15 - - for (let index = 0; index < amount; index++) { - html += `
` - } - html += "" - html += "
" + html += `` return html } -function code() { - return '' // ' -} - -var events = [] -events = events.concat(Array(10).fill("")) -events.push(rain()) - -events = events.concat(Array(10).fill("")) -events.push(purpleMagic()) - module.exports = { returnTheme: function() { var time = new Date() - return events[time.getDate() % events.length] + + if (time.getMonth() + 1 == 10) { + return halloween() + } + + else if (time.getDate() % 10 == 0) { + return rain() + } + + return "" }, } \ No newline at end of file diff --git a/static/index.html b/static/index.html index 2c57d44..8dc42c8 100644 --- a/static/index.html +++ b/static/index.html @@ -17,21 +17,22 @@ - Violet's Purgatory + Violet's EVIL Purgatory - - + + - + {WEATHER_MODIFIER} -

Welcome to Violet's PurgatoryCommit {COMMIT_COUNT}

+

Welcome to Violet's EVIL PurgatoryCommit {COMMIT_COUNT}

Make sure to check out this project on Forgejo!

+

I know, pretty spooky right


{Violet}

@@ -53,7 +54,7 @@
-

Hi, I'm Violet! a 15 year old web and game developer. I make dynamic websites with server-side rendering, so no Javascript needed! I'm currently making games in the Godot Engine, and my dynamic sites in NodeJS.

+

Hi, I'm Violet! an EVIL 15 year old web and game developer. I make dynamic websites with server-side rendering, so no Javascript needed! I'm currently making games in the Godot Engine, and my dynamic sites in NodeJS.