diff --git a/assets/css/mainSite.css b/assets/css/mainSite.css index 85a74ca..1164432 100644 --- a/assets/css/mainSite.css +++ b/assets/css/mainSite.css @@ -3145,4 +3145,21 @@ small { position: fixed; transform: translateY(5px); } +} + +/* xmas hat */ +.xmasHat { + position: fixed; + top: 0; + left: 0; + z-index: 9; + width: 80px; + transform: translate(-5px, -35px); + cursor: pointer; +} + +@media (max-width: 1148px) { + .xmasHat { + transform: translate(40px, -35px); + } } \ No newline at end of file diff --git a/assets/imgs/xmas_hat.png b/assets/imgs/xmas_hat.png new file mode 100644 index 0000000..3c93098 Binary files /dev/null and b/assets/imgs/xmas_hat.png differ diff --git a/assets/js/pageLoader.js b/assets/js/pageLoader.js index c623561..e4e1c53 100644 --- a/assets/js/pageLoader.js +++ b/assets/js/pageLoader.js @@ -391,3 +391,18 @@ function countdown() { timeLeft--; } } + +// if december, force christmas mode (merry christmas mfs) +// or happy holidays, whatever you celebrate :p +// if you celebrate, idk why im being technical as always in code comments no one will ever see lmaoo +if (currentMonth === 12) { + const hat = document.createElement("img"); + hat.src = "/assets/imgs/xmas_hat.png"; + hat.draggable = false; + hat.className = "xmasHat"; + hat.onclick = () => { + window.location.replace("/home"); + } + + document.body.appendChild(hat); +} \ No newline at end of file diff --git a/assets/js/ts_fas_acih.js b/assets/js/ts_fas_acih.js index cd5af14..1b035ab 100644 --- a/assets/js/ts_fas_acih.js +++ b/assets/js/ts_fas_acih.js @@ -29,8 +29,8 @@ const pathName = pageURL.pathname; let isOnDesktopApp = null; // TransSocial Version -let transsocialVersion = "v2024.11.17"; -let transsocialUpdate = "v20241117-1"; +let transsocialVersion = "v2024.12.1"; +let transsocialUpdate = "v2024121-1"; let transsocialReleaseVersion = "pre-alpha"; const notices = document.getElementsByClassName("version-notice"); diff --git a/updates.html b/updates.html index 7575cde..0c6fa53 100644 --- a/updates.html +++ b/updates.html @@ -152,6 +152,14 @@

Trying to find older updates? You may be interested in the InDev tab, since TransSocial is no longer in InDev!

+
+

v2024.12.1_pre-alpha

+

Released: December 1, 2024

+
  • Added Santa hat to header (it's December, I have to)
  • +
    + +
    +

    v2024.11.17_pre-alpha

    Released: November 17, 2024