Optimize!

This commit is contained in:
bingus_violet 2024-01-12 14:53:53 +00:00
parent def91cfa87
commit 1aa8264ad0

View file

@ -18,7 +18,7 @@ var lanyardData = undefined
var discData = null var discData = null
const activityImages = { const activityImages = {
"ULTRAKILL": "https://thumbor-production-0e82.up.railway.app/unsafe/512x512/https://fs.violets-purgatory.dev/ULTRAKILL/etc/DiscordIcon.webp" "ULTRAKILL": "https://fs.violets-purgatory.dev/ULTRAKILL/etc/DiscordIcon.webp"
} }
var mastoData = { var mastoData = {
@ -160,7 +160,7 @@ function pageUpdate() {
if (activity.type == 2) { if (activity.type == 2) {
addedHTML += ` addedHTML += `
<div class="chip activity col-md-6 testing"> <div class="chip activity col-md-6 testing">
<img src="https://thumbor-production-0e82.up.railway.app/unsafe/${get_img()}" title="${activity.assets.large_text || activity.assets.small_text}"> <img src="https://thumbor-production-0e82.up.railway.app/unsafe/512x512/${get_img()}" title="${activity.assets.large_text || activity.assets.small_text}">
<p> <p>
Listening to <span style="color: limegreen;">${activity.name}</span> Listening to <span style="color: limegreen;">${activity.name}</span>
<br> Song: ${activity.details || " "} <br> Song: ${activity.details || " "}