From 79c09d67532b7b25c8678092da5d5affb8c3b36e Mon Sep 17 00:00:00 2001 From: Aidan Date: Sat, 1 Feb 2025 23:52:48 -0500 Subject: [PATCH] cleanup minification, fix last update badge, lint, update contact info and content --- README.md | 6 ++++-- src/about.html | 8 ++++---- src/about.min.html | 1 - src/cloud.html | 8 ++++---- src/cloud.min.html | 1 - src/contact.html | 20 +++++++++++++------- src/contact.min.html | 1 - src/design.html | 8 ++++---- src/design.min.html | 1 - src/index.html | 8 ++++---- src/index.min.html | 1 - src/js/main.min.js | 1 - src/js/music.min.js | 1 - src/js/status.min.js | 1 - src/ping.min.html | 1 - src/projects.html | 8 ++++---- src/projects.min.html | 1 - src/status.html | 10 +++++----- src/status.min.html | 1 - 19 files changed, 42 insertions(+), 45 deletions(-) delete mode 100644 src/about.min.html delete mode 100644 src/cloud.min.html delete mode 100644 src/contact.min.html delete mode 100644 src/design.min.html delete mode 100644 src/index.min.html delete mode 100644 src/js/main.min.js delete mode 100644 src/js/music.min.js delete mode 100644 src/js/status.min.js delete mode 100644 src/ping.min.html delete mode 100644 src/projects.min.html delete mode 100644 src/status.min.html diff --git a/README.md b/README.md index 0eaff0d..75a3ebb 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ # aidxnFUNretro -[![Last Update](https://img.shields.io/badge/last_update-20_Dec_2024-blue)](#) + +[![Last Update](https://img.shields.io/badge/last_update-1_Feb_2024-blue)](https://git.pontusmail.org/aidan/aidxnFUNretro) [![License: CC0-1.0](https://img.shields.io/badge/License-CC0_1.0-lightgrey.svg)](http://creativecommons.org/publicdomain/zero/1.0/) This repository includes all of the files for the retro version of my website. It's always up to date with the servers hosting it. -# License +## License + This code is released into the public domain, so you are free to use it as you wish! Take the code and use it wherever you please. diff --git a/src/about.html b/src/about.html index 9ac7ddc..1bdb340 100644 --- a/src/about.html +++ b/src/about.html @@ -7,8 +7,8 @@ - - + +
@@ -72,7 +72,7 @@

You can learn more about my opinions on cloud platforms on this page. It's not shown on the sidebar, as I don't think many people would be interested. So, if you're reading this, enjoy your access to a "secret" page.

- - + + \ No newline at end of file diff --git a/src/about.min.html b/src/about.min.html deleted file mode 100644 index 93bb745..0000000 --- a/src/about.min.html +++ /dev/null @@ -1 +0,0 @@ -about | aidxn
Loading animation
\ No newline at end of file diff --git a/src/cloud.html b/src/cloud.html index f1e5733..934b43e 100644 --- a/src/cloud.html +++ b/src/cloud.html @@ -7,8 +7,8 @@ - - + +
@@ -64,7 +64,7 @@
- - + + \ No newline at end of file diff --git a/src/cloud.min.html b/src/cloud.min.html deleted file mode 100644 index dd0a69f..0000000 --- a/src/cloud.min.html +++ /dev/null @@ -1 +0,0 @@ -cloud | aidxn
Loading animation
\ No newline at end of file diff --git a/src/contact.html b/src/contact.html index a913009..fa9f7ca 100644 --- a/src/contact.html +++ b/src/contact.html @@ -7,8 +7,8 @@ - - + +
@@ -44,18 +44,24 @@

Contact

This one can be a hard one for most people, as I'm not a fan of modern social media, albeit I give in here and there.

If you're looking for my email, simply replace the brackets with the character it's referencing, like so: test[at]test[dot]com becomes test@test.com. This is in order to prevent bots from contacting me!

+

For the best chance of a response, please send me a message on Telegram. If you've made a pull request on one of my repos, I will most likely respond by the next day. If you've sent me an email, I will most likely respond within three days or less.

+

I'm a busy person

+

I do a lot of things during the day and I'm not always able to respond to messages right away. Please be patient and remember not to demand things from me... Somehow this is an issue for people :(

+

For the best chance of a response, please send me a message on Telegram. If you've made a pull request on one of my repos, I will most likely respond by the next day. If you've sent me an email, I will most likely respond within three days or less.

+

A note about calling and texting

+

I have a phone number listed above. Please do not call or text me unless you absolutely need to. I will likely not respond, or use an automated recording system to handle your call. No, I haven't provided you my real phone number. I may be able to respond to your call/text, just know this is not checked/used often.

+

If you need to get in touch with me, please send me a message on Telegram or an email.

- - + + diff --git a/src/contact.min.html b/src/contact.min.html deleted file mode 100644 index 14f8b84..0000000 --- a/src/contact.min.html +++ /dev/null @@ -1 +0,0 @@ -contact | aidxn
Loading animation
\ No newline at end of file diff --git a/src/design.html b/src/design.html index 2fcb9d7..cdded01 100644 --- a/src/design.html +++ b/src/design.html @@ -7,8 +7,8 @@ - - + +
@@ -45,7 +45,7 @@

This page is coming soon!

- - + + \ No newline at end of file diff --git a/src/design.min.html b/src/design.min.html deleted file mode 100644 index 14298e7..0000000 --- a/src/design.min.html +++ /dev/null @@ -1 +0,0 @@ -design | aidxn
Loading animation
\ No newline at end of file diff --git a/src/index.html b/src/index.html index 1ba2ebb..ff372ce 100644 --- a/src/index.html +++ b/src/index.html @@ -7,8 +7,8 @@ - - + +
@@ -63,7 +63,7 @@

With this project, I have aimed to adhere to modern HTML5 standards, while emulating the experience of a proper mid-2000s design. Sadly, I wasn't around for when HTML4 was more widespread.

- - + + \ No newline at end of file diff --git a/src/index.min.html b/src/index.min.html deleted file mode 100644 index 2c01f76..0000000 --- a/src/index.min.html +++ /dev/null @@ -1 +0,0 @@ -home | aidxn
Loading animation
\ No newline at end of file diff --git a/src/js/main.min.js b/src/js/main.min.js deleted file mode 100644 index 500ab0f..0000000 --- a/src/js/main.min.js +++ /dev/null @@ -1 +0,0 @@ -let currentDT="";function displayTime(){let e=new Date,t=e.getDate(),n=e.toLocaleString("default",{month:"long"}),o=e.getFullYear(),i=e.toLocaleString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"});currentDT=`${t} ${n}, ${o} ${i}`,document.getElementById("date").innerHTML=currentDT,setTimeout(displayTime,1e3)}function onReady(e){let t=window.setInterval((function(){void 0!==document.getElementsByTagName("body")[0]&&(window.clearInterval(t),e.call(this))}),1e3)}function show(e,t){document.getElementById("loading").style.display=t?"block":"none",document.getElementById("page").style.display="block"}displayTime(),onReady((function(){show("page",!0),show("loading",!1)})); \ No newline at end of file diff --git a/src/js/music.min.js b/src/js/music.min.js deleted file mode 100644 index 9586040..0000000 --- a/src/js/music.min.js +++ /dev/null @@ -1 +0,0 @@ -const albumlabel=document.getElementById("albumLabel"),albumart=document.getElementById("album-art"),song=document.getElementById("song"),artist=document.getElementById("artist"),album=document.getElementById("album");async function getLatestSong(){try{const t=await fetch("https://lastfm-last-played.biancarosa.com.br/aidxn_/latest-song");if(t.ok){const e=await t.json();e.track["@attr"]?e.track["@attr"].nowplaying?albumlabel.textContent="Now Playing:":(console.log("[WARN] Invalid value in now playing status, or something else messed up"),albumlabel.textContent="Last Listen:"):albumlabel.textContent="Last Listen:",albumart.src=e.track.image[1]["#text"],song.textContent=e.track.name,artist.textContent=e.track.artist["#text"],album.textContent=e.track.album["#text"]}else console.log(`Error: ${t.status}`)}catch(t){console.log(`Error: ${t.message}`)}}!async function(){await getLatestSong()}(); \ No newline at end of file diff --git a/src/js/status.min.js b/src/js/status.min.js deleted file mode 100644 index 111c110..0000000 --- a/src/js/status.min.js +++ /dev/null @@ -1 +0,0 @@ -async function ping(t){const n=performance.now();try{await fetch(t);return performance.now()-n}catch(n){return console.error(`Error pinging ${t}:`,n),1/0}}async function testPing(){const t=await Promise.all(["https://old.aidxn.fun/ping.html","https://kantor.aidxn.fun/ping"].map((async t=>{const n=await ping(t);if("https://old.aidxn.fun/ping.html"===t){document.getElementById("website").textContent=`[ONLINE - ${n} ms]`}if("https://kantor.aidxn.fun/ping"===t){const t=document.getElementById("status1");t.textContent=`[ONLINE - ${n} ms]`,t.className="text-green-500 font-bold"}return{url:t,time:n}})));t.sort(((t,n)=>t.time-n.time)),console.log("Fastest server:",t[0].url),t.forEach((t=>{console.log(`${t.url}: ${t.time.toFixed(2)} ms`)}));const n=t[0].url;"https://old.aidxn.fun/ping.html"===n&&(oldText=website.textContent,website.textContent=oldText+" [FASTEST]"),"https://kantor.aidxn.fun/ping"===n&&(oldText=status1.textContent,status1.textContent=oldText+" [FASTEST]")}window.onload=()=>{testPing()}; \ No newline at end of file diff --git a/src/ping.min.html b/src/ping.min.html deleted file mode 100644 index ed53c21..0000000 --- a/src/ping.min.html +++ /dev/null @@ -1 +0,0 @@ -pong \ No newline at end of file diff --git a/src/projects.html b/src/projects.html index 17e5c7d..aef53dd 100644 --- a/src/projects.html +++ b/src/projects.html @@ -7,8 +7,8 @@ - - + +
@@ -94,7 +94,7 @@
- - + + diff --git a/src/projects.min.html b/src/projects.min.html deleted file mode 100644 index 8601616..0000000 --- a/src/projects.min.html +++ /dev/null @@ -1 +0,0 @@ -projects | aidxn
Loading animation
\ No newline at end of file diff --git a/src/status.html b/src/status.html index 0bb86a5..2783cf0 100644 --- a/src/status.html +++ b/src/status.html @@ -7,8 +7,8 @@ - - + +
@@ -52,8 +52,8 @@

[UNKNOWN - LOADING ms] kantor.aidxn.fun (Oracle Cloud - Germany - backend server)

- - - + + + \ No newline at end of file diff --git a/src/status.min.html b/src/status.min.html deleted file mode 100644 index fe9cbef..0000000 --- a/src/status.min.html +++ /dev/null @@ -1 +0,0 @@ -status | aidxn
Loading animation
\ No newline at end of file