From dd117f31220669007edd8b27b1b857f76cadab97 Mon Sep 17 00:00:00 2001
From: Bingus_Violet "), faqHTML.indexOf("
Some questions that, nobody has ever actually asked, but I'm gonna act like they have because its fun!
+Well, believe it or not, there's no javascript involved!!!! :D
Or well no client side javascript anyway...
Using a wonderful program called lanyard, my website is connected to a websocket that sends a signal every time my discord updates (E.G. My status changes... or I open a game...)
+Then, it uses the new info to dynamically generate this page!
The more technically advanced of you can check it out on Codeberg, but be warned, it's coded TERRIBLY. I didn't really wanna use a library so i coded it all myself, and there's no actual system, just pure chaos :/
Actually, i'm not really sure
+ Originally I think this site started out because I saw people had these cool "carrd" sites and stuff
+ in their bio and wanted to make something close to carrd but made by myself.
Nowadays, though, this site is used more as a learning opportunity! + I try to do new, experimental, wacky things here, and use them in projects later.
+For example, my Youtube Converter, Univerter, I was only able to make because I already learnt how to make + dynamically generated HTML. (Univerter, as I am writing this, has no dynamically generated HTML, but it used to!) +
+")) + + html = html.replace("{FAQ}", addedHTML) + html = html.replace("{MASTODON_FEED}", mastoData.HTML) var now = new Date() diff --git a/resources/mainPage.html b/resources/mainPage.html index 4a594ac..695bede 100644 --- a/resources/mainPage.html +++ b/resources/mainPage.html @@ -34,8 +34,9 @@
diff --git a/static/faq/index.html b/static/faq/index.html new file mode 100644 index 0000000..a3f1faf --- /dev/null +++ b/static/faq/index.html @@ -0,0 +1,39 @@ + + + +
+ + + + + + + + + + + +
+ + +
+