From 486203559c80f9b562abca758469ceac6d3d701d Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Sun, 19 Nov 2023 10:27:01 -0600 Subject: [PATCH] bubfickes --- index.js | 7 ++++--- static/socials/index.html | 1 - static/style.css | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index 1eac7f3..f74b943 100644 --- a/index.js +++ b/index.js @@ -60,8 +60,8 @@ function pageUpdate() { var currentHour = currentTime.getHours() if (currentHour >= 8 && currentHour <= 16 && !(currentTime.getDay() == 6 || currentTime.getDay() == 7)) { - addedHTML = `at school` - } else if (currentHour <= 10 && currentHour > 0) { + addedHTML = `busy` + } else if (currentHour <= 9 && currentHour > 0) { addedHTML = `eeping` } else { addedHTML = `active?` @@ -182,7 +182,8 @@ function pageUpdate() { addedHTML = "" var socialsHTML = fs.readFileSync(path.join(__dirname, 'static/socials/index.html')).toString() - addedHTML += socialsHTML.substr(socialsHTML.indexOf("

"), socialsHTML.indexOf("")) + addedHTML += socialsHTML.substring(socialsHTML.indexOf("

"), socialsHTML.indexOf("")) + console.log(addedHTML) html = html.replace("{SOCIALS}", addedHTML) diff --git a/static/socials/index.html b/static/socials/index.html index 5d21694..28f5670 100644 --- a/static/socials/index.html +++ b/static/socials/index.html @@ -57,5 +57,4 @@ - \ No newline at end of file diff --git a/static/style.css b/static/style.css index b8afc54..bb6079a 100644 --- a/static/style.css +++ b/static/style.css @@ -55,8 +55,8 @@ a { padding: 8px; margin: 3px; display: inline-block; - transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1); - transform: scale(0.95) + transform: scale(0.95); + transition: transform 1.25s cubic-bezier(0.075, 0.82, 0.165, 1); } .chip:hover { @@ -64,6 +64,7 @@ a { transform: scale(1); /* font-size: 1.35rem; */ border-color: white; + transition: transform 0.75s cubic-bezier(0.075, 0.82, 0.165, 1); } .activity {