Skip to content

Commit

Permalink
Merge branch 'mycustoms' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealOne78 authored Aug 14, 2024
2 parents 6ad9ca3 + 3191191 commit 9ca889f
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 21 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ You should have received a copy of the MIT license. If not, you can get one from
* /resources/fonts/VT323-Regular.ttf - by Peter Hull, licensed under the Open Font License, taken from https://fonts.google.com/specimen/VT323
* /resources/img/itemImg/96BYTHT.jpg - taken from -UNKNOWN-
* /resources/img/itemImg/anewwall.png - taken from -UNKNOWN-
* /resources/img/itemImg/e699cce5b24e1671a12fd45d0dcbf50e.jpg - taken from https://gelbooru.com/index.php?page=post&s=view&id=7620978
* /resources/img/itemImg/Mirai Nikki half-moon - Phonkha x zecki Slaughter.gif - taken from https://youtu.be/kZj4WAhyHTI
* /resources/img/itemImg/morpho.jpg - taken from https://github.com/szorfein/dotfiles/
* /resources/img/itemImg/wadim-kashin-monday.jpg - taken from https://art.alphacoders.com/arts/view/84301
* /resources/img/itemImg/pipkin_pippa_by_ecjhonny_deykvrn-375w-2x.jpg - taken from https://www.deviantart.com/ecjhonny/art/Pipkin-Pippa-904607699
* /resources/img/itemImg/wallhaven-137qmv.png - taken from https://wallhaven.cc/w/137qmv
* /resources/img/itemImg/wallhaven-1k136g.jpg - taken from https://wallhaven.cc/w/1k136g
* /resources/img/itemImg/wallhaven-28wrdx.jpg - taken from https://wallhaven.cc/w/28wrdx
Expand Down Expand Up @@ -56,12 +59,13 @@ You should have received a copy of the MIT license. If not, you can get one from
* /resources/img/itemImg/wallhaven-x88m3l.png - taken from https://wallhaven.cc/w/x88m3l
* /resources/img/itemImg/wallhaven-ymom6x.jpg - taken from https://wallhaven.cc/w/ymom6x
* /resources/img/itemImg/wallhaven-z8ylgj.jpg - taken from https://wallhaven.cc/w/z8ylgj
* /resources/img/itemImg/244895-aliya06.png - taken from https://www.1zoom.me/pt/wallpaper/244895/z1227.1/

```bash
.
├── homepage.html
├── LICENSE.MIT
├── README.md
├── homepage.html
└── resources
├── css
│   └── main.css
Expand All @@ -71,9 +75,13 @@ You should have received a copy of the MIT license. If not, you can get one from
│   ├── icons
│   │   └── favico.svg
│   ├── itemImg
│   │   ├── 244895-aliya06.png
│   │   ├── 96BYTHT.jpg
│   │   ├── anewwall.png
│   │   ├── e699cce5b24e1671a12fd45d0dcbf50e.jpg
│   │   ├── Mirai Nikki half-moon - Phonkha x zecki Slaughter.gif
│   │   ├── morpho.jpg
│   │   ├── pipkin_pippa_by_ecjhonny_deykvrn-375w-2x.jpg
│   │   ├── wadim-kashin-monday.jpg
│   │   ├── wallhaven-137qmv.png
│   │   ├── wallhaven-1k136g.jpg
Expand Down Expand Up @@ -112,5 +120,5 @@ You should have received a copy of the MIT license. If not, you can get one from
└── script
└── script.js

8 directories, 45 files
8 directories, 49 files
```
18 changes: 12 additions & 6 deletions homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,19 @@
</form>
<div class="itemTitle">Quick access:</div><!-- Quick access -->
<div>
* TheRealOne78: <a href="https://therealone78.ddns.net">therealone78.ddns.net</a><br>
* Youtube: <a href="https://youtube.com">youtube.com</a><br>
* Odysee: <a href="https://odysee.com/">odysee.com</a><br>
<!--* TheRealOne78: <a href="https://therealone78.ddns.net">therealone78.ddns.net</a><br>-->
* Youtube: <a href="http://yt.lol:9010">yt.lol:9010</a> | <a href="https://youtube.com">youtube.com</a><br>
* Gentoo Overlays: <a href="https://gpo.zugaina.org/">gpo.zugaina.org</a><br>
* David's Game Server: <a href="http://advguild.myftp.org/Games/Playing.php">advguild.myftp.org/Games/Playing.php</a><br>
* GitHub: <a href="https://github.com">github.com</a> | <a href="https://gist.github.com">gist.github.com</a><br>
* Gentoo's websites: <a href="https://packages.gentoo.org">packages.gentoo.org</a> | <a href="https://wiki.gentoo.org">wiki.gentoo.org</a><br>
* ChatGPT: <a href="https://chat.openai.com">chat.openai.com</a><br>
* Gentoo Linux: <a href="https://www.gentoo.org">www.gentoo.org</a> | <a href="https://wiki.gentoo.org">wiki.gentoo.org</a><br>
* Arch Linux: <a href="https://archlinux.org/">archlinux.org</a> | <a href="https://wiki.archlinux.org/">wiki.archlinux.org</a><br>
<div class="itemTitle">UniTBv:</div><!-- UNITBV -->
<div>
* IESC: <a href="https://iesc.unitbv.ro">iesc.unitbv.ro</a> | Orar: <a href="https://iesc.unitbv.ro/studenti/consultă-orarul.html">studenti/consultă-orarul.html</a><br>
* Intranet: <a href="https://intranet.unitbv.ro">intranet.unitbv.ro</a> | Decont: <a href="https://intranet.unitbv.ro/Facultate/Decontare-abonamente-transport">Facultate/Decontare-abonamente-transport</a><br>
* E-Learning: <a href="https://elearning.unitbv.ro">elearning.unitbv.ro</a><br>
</div>
</div>
<div class="itemTitle">Fun fact:</div><!-- Fun fact -->
<div id="funfact">
Expand All @@ -67,7 +73,7 @@
</div>
<div class="imgContainer">
<img id="img" src="./resources/img/loading.svg" class="itemImg" width="80%" height="auto">
<div class="itemTitle welcome-msg">Irasshaimase <b>Guest</b>!<span class="infinite-cursor"></span></div>
<div class="itemTitle welcome-message">Irasshaimase <b>TheRealOne78</b>!<span class="infinite-cursor"></span></div>
</div>
</div>
<script src="./resources/script/script.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion resources/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ a:hover {
}

#img {
padding: 15px 0;
margin: 15px 0;
}

#funfact {
Expand Down
Binary file added resources/img/itemImg/244895-aliya06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 57 additions & 12 deletions resources/script/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
const imgPathArr = [
"./resources/img/itemImg/96BYTHT.jpg",
"./resources/img/itemImg/anewwall.png",
"./resources/img/itemImg/e699cce5b24e1671a12fd45d0dcbf50e.jpg",
"./resources/img/itemImg/Mirai Nikki half-moon - Phonkha x zecki Slaughter.gif",
"./resources/img/itemImg/morpho.jpg",
"./resources/img/itemImg/pipkin_pippa_by_ecjhonny_deykvrn-375w-2x.jpg",
"./resources/img/itemImg/wadim-kashin-monday.jpg",
"./resources/img/itemImg/wallhaven-137qmv.png",
"./resources/img/itemImg/wallhaven-1k136g.jpg",
Expand Down Expand Up @@ -59,7 +62,8 @@ const imgPathArr = [
"./resources/img/itemImg/wallhaven-we63vp.png",
"./resources/img/itemImg/wallhaven-x88m3l.png",
"./resources/img/itemImg/wallhaven-ymom6x.jpg",
"./resources/img/itemImg/wallhaven-z8ylgj.jpg"
"./resources/img/itemImg/wallhaven-z8ylgj.jpg",
"./resources/img/itemImg/244895-aliya06.png"
]

const fortuneArr = [
Expand Down Expand Up @@ -144,22 +148,63 @@ const fortuneArr = [
<!--https://facts.net/did-you-know-facts/ - fair use -->"
]


const morbidFortuneArr = [
"You are a life failure.\n\
<!--ChatGPT-->",

"You are a useless piece of shit.\n\
<!--ChatGPT-->",

"Your parents failed to abort you.\n\
<!--ChatGPT-->",
]

/* Get a random path from imgPathArr and set it in HTML */
const randImgPath = imgPathArr[Math.floor(Math.random() * imgPathArr.length)]
document.getElementById("img").src = randImgPath;

/* Get a random path from fortuneArr and set it in HTML */
const randFortune = fortuneArr[Math.floor(Math.random() * fortuneArr.length)]
document.getElementById("funfact").innerHTML = randFortune;
if(randImgPath != "./resources/img/itemImg/Mirai Nikki half-moon - Phonkha x zecki Slaughter.gif") {
/* Get a random fortuneArr and set it in HTML */
const randFortune = fortuneArr[Math.floor(Math.random() * fortuneArr.length)]
document.getElementById("funfact").innerHTML = randFortune;

/* Pre-defined terminal-like HEX colors */
const textColorArr = [ "#ffffff", "#0037DA", "#3A96DD", "#13A10E", "#881798", "#C50F1F", "#C19C00", "#ffcadc"]


/* Get a random HEX color from textColorArr */
const textColor = Math.floor(Math.random() * textColorArr.length)

/* Set the body text color as textColor */
document.body.style.color = textColorArr[textColor]

/* Set other text color as textColor, just to be safe */
document.querySelectorAll("a").forEach(a => a.style.color = textColorArr[textColor])
}

else { /* MORBID */
/* Get a random morbidFortuneArr and set it in HTML */
const randMorbidFortune = morbidFortuneArr[Math.floor(Math.random() * morbidFortuneArr.length)]
document.getElementById("funfact").innerHTML = randMorbidFortune;

/* Set background color to an unsettling red color */
document.documentElement.style.background = "#B30E08"
document.body.style.background = "#B30E08"

/* Get a random HEX color from textColorArr */
const textColor = "#000000"

/* Set the body text color as textColor */
document.body.style.color = textColor


/* Pre-defined terminal-like HEX colors */
const textColorArr = [ "#ffffff", "#0037DA", "#3A96DD", "#13A10E", "#881798", "#C50F1F", "#C19C00" ]
/* Set other text color as textColor, just to be safe */
document.querySelectorAll("a").forEach(a => a.style.color = textColor)

/* Get a random HEX color from textColorArr */
const textColor = Math.floor(Math.random() * textColorArr.length)
document.querySelectorAll(".welcome-message").forEach(itemTitle => itemTitle.innerHTML = "Ḑ̴̅i̶̼̊e̷̢͆ ̶͖̽<b>T̴͎̏h̶̦͑e̷̬̎R̵̥̆è̵͓a̶͎̽l̸̻͛Ỏ̴̦ṉ̶̌ȇ̶̟7̴̧̾8̴̰́</b>!̶̚ͅ")

/* Set the body text color as textColor */
document.body.style.color = textColorArr[textColor]
document.querySelectorAll(".infinite-cursor").forEach(itemTitle => itemTitle.style.remove())

/* Set other text color as textColor, just to be safe */
document.querySelectorAll("a").forEach(a => a.style.color = textColorArr[textColor])
document.title = "Death awaits you..."
}

0 comments on commit 9ca889f

Please sign in to comment.