css change and others

This commit is contained in:
zyqunix 2025-05-11 20:48:35 +02:00
parent 18f63aff63
commit 021a3789a5
No known key found for this signature in database
GPG key ID: 134A8DEEA83B80E6
3 changed files with 9 additions and 5 deletions

View file

@ -118,7 +118,7 @@ footer {
.language-item {
display: block;
background-color: #3b3b3b;
background-color: #2b2b2b;
padding: 10px 15px;
border-radius: 8px;
transition: background-color 0.3s, transform 0.2s;
@ -127,7 +127,7 @@ footer {
}
.language-item:hover {
background-color: #4d4d4d;
background-color: #3b3b3b;
transform: translateY(-5px);
}

View file

@ -58,8 +58,12 @@ function lan() {
const borderColor = statusColors[data.discord_status] || statusColors.offline;
pfpElem.style.borderColor = borderColor;
statusElem.innerHTML = `<strong class="quote">"${status ? status.state : "No Custom Status"}"</strong> - zyqunix`;
if (status) {
statusElem.innerHTML = `<strong class="quote">"${status.state}"</strong> - zyqunix`;
} else {
statusElem.innerHTML = `<strong class="quote">Empty void. Nothingness.</strong>`;
}
if (gameActivity) {
activityNameElem.innerHTML = `<strong>Playing</strong> ${gameActivity.name}: ${gameActivity.details}, ${gameActivity.state}`;

View file

@ -9,7 +9,7 @@
{
"name": "JavaScript",
"url": "https://www.javascript.com/",
"tooltip": "Its syntax pisses me off sometimes",
"tooltip": "Fun language the cleanest syntax after C",
"img": "https://search.im-in.space/image_proxy?url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F6%2F6a%2FJavaScript-logo.png%2F640px-JavaScript-logo.png&h=bc8b69a465219df76ce937bf1c6e32deda0d982f1fa0bf41d13f51b58ccef960"
},
{