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

Welcome to Violet's EVIL PurgatoryCommit {COMMIT_COUNT}

+

Welcome to Violet's PurgatoryCommit {COMMIT_COUNT}

Make sure to check out this project on Forgejo!

-

I know, pretty spooky right


{Violet}

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

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.

+

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.