1
0

Initial commit!

This commit is contained in:
2025-06-04 01:01:42 -05:00
commit fdc835aa45
36 changed files with 1157 additions and 0 deletions

40
xeno.js Normal file
View File

@ -0,0 +1,40 @@
// JS file for random Xeno images + pride Xeno!
var imageArray = [
"siteimg/deioxpk-b2e38b76-f126-4d2c-bf24-91713dbfa3d0smol2.png",
"siteimg/deioxpy-efac1e6d-aeda-4ed9-bfe6-29f2e0a33f13smol.png",
"https://cdn.technolog.network/img/xeno/kittyrosiefull%20(Medium).png",
"https://cdn.technolog.network/img/xeno/xenohappysit.png",
"https://cdn.technolog.network/img/xeno/jhayarr1_smol.png"
]
var xenoPrideImg = "siteimg/xenopan_50pcrop.png";
var xenoXmasImg = "siteimg/deioxpk-xmas1_smol.png"
var num = Math.floor(Math.random() * (imageArray.length));
const month = new Date().getMonth();
if (month == 2) { // June - LGBTQ+ Pride
console.log("Month is June - LGBTQ+ Pride!")
document.xeno.src = xenoPrideImg;
document.xeno.title = "Have proud pansexual hors. - Art by Vivian Reed VA";
} else if (month == 12) { // December
console.log("Month is December - Crimmis")
document.xeno.src = xenoXmasImg;
document.xeno.title = "Have festive hors. - Art by LimeDazzle";
} else {
document.xeno.title = "Have hors.";
var chosennum = num;
console.log("Chosen num is " + chosennum + " - " + imageArray[chosennum]);
document.xeno.src = imageArray[chosennum];
// document.xeno.src = imageArray[num];
if (chosennum == 0 || chosennum == 1) {
document.xeno.title += " - Art by LimeDazzle";
document.xeno.width = "550";
} else if (chosennum == 2) {
document.xeno.title += " - Art by KittyRosie";
document.xeno.width = "550";
} else if (chosennum == 4){
document.xeno.title += " - Art by CrescendCinnamon";
document.xeno.width = "300";
}
}