diff --git a/index.js b/index.js index 1a48655..f1f3f66 100644 --- a/index.js +++ b/index.js @@ -86,8 +86,6 @@ function pageUpdate() { for (let index = 0; index < lanyardData.activities.length; index++) { const activity = lanyardData.activities[index]; - console.log(activity) - if (!debounce && activity.type != 4) { addedHTML += `


What I'm up to:

` debounce = true @@ -116,7 +114,8 @@ function pageUpdate() {

Listening to ${activity.name} -
Album: "${activity.details}" +
Song: "${activity.details}" +
Album: "${activity.assets.large_text}"
Artist: "${activity.state}"

@@ -166,6 +165,13 @@ function pageUpdate() { html = html.replace("{LANYARD_FULL}", addedHTML) + addedHTML = "" + + var socialsHTML = fs.readFileSync(path.join(__dirname, 'static/socials/index.html')).toString() + addedHTML += socialsHTML.substr(socialsHTML.indexOf("

"), socialsHTML.indexOf("")) + + html = html.replace("{SOCIALS}", addedHTML) + fs.writeFileSync(path.join(__dirname, 'static/index.html'), html) console.log("Updated!") diff --git a/resources/mainPage.html b/resources/mainPage.html index 12db0d4..f9afc70 100644 --- a/resources/mainPage.html +++ b/resources/mainPage.html @@ -48,11 +48,9 @@ server-side, so enjoy :D
P.S. Your really cool, I look up to people like u :> (Atleast, assuming you disabled javascript urself...)

{LANYARD_FULL} + {SOCIALS} - - - diff --git a/static/socials/index.html b/static/socials/index.html index 48c609e..9d27d3f 100644 --- a/static/socials/index.html +++ b/static/socials/index.html @@ -18,20 +18,21 @@ Home -

Socials -
-

-
+


Socials

+

Here's where you can find me most... if you wanted to do that for some reason?

+
+

Chat Applications:

-

Matrix: @bingus_violet:catgirl.cloud

+ Matrix: @bingus_violet:​catgirl.cloud

Revolt: BingusViolet#5573

Discord: bingus_violet

+

Social media:

Fedi: @Bingus_Violet@tech.lgbt