diff --git a/HTML/Bits/Head.html b/HTML/Bits/Head.php similarity index 100% rename from HTML/Bits/Head.html rename to HTML/Bits/Head.php diff --git a/HTML/Bits/Navbar.html b/HTML/Bits/Navbar.php similarity index 100% rename from HTML/Bits/Navbar.html rename to HTML/Bits/Navbar.php diff --git a/HTML/Sarahtonin.html b/HTML/Sarahtonin.php similarity index 85% rename from HTML/Sarahtonin.html rename to HTML/Sarahtonin.php index 0c1a3b2..facc2e7 100644 --- a/HTML/Sarahtonin.html +++ b/HTML/Sarahtonin.php @@ -1,7 +1,7 @@ -
+

Welcome

diff --git a/JS/Script.js b/JS/Script.js index 6b37b99..e69de29 100644 --- a/JS/Script.js +++ b/JS/Script.js @@ -1,26 +0,0 @@ -function includeHTML() { - var z, i, elmnt, file, xhttp; - - console.log("Including HTML.") - - z = document.getElementsByTagName("*"); - for (i = 0; i < z.length; i++) { - elmnt = z[i]; - - file = elmnt.getAttribute("include"); - if (file) { - xhttp = new XMLHttpRequest(); - xhttp.onreadystatechange = function() { - if (this.readyState == 4) { - if (this.status == 200) {elmnt.innerHTML = this.responseText;} - if (this.status == 404) {elmnt.innerHTML = "Page not found.";} - elmnt.removeAttribute("include"); - includeHTML(); - } - } - xhttp.open("GET", file, true); - xhttp.send(); - return; - } - } -} diff --git a/index.html b/index.php similarity index 90% rename from index.html rename to index.php index 4a5acc1..ca56129 100644 --- a/index.html +++ b/index.php @@ -1,7 +1,8 @@ -
+ +

Welcome

@@ -10,11 +11,13 @@ You've arrived at Sarahtonin's homepage. Feel free to browse around as much as you want.

+

If you want to access other links, you probably need to join my tailscale network.
Also, this is simply the homepage. You can use the navbar to the right to navigate around.

+

Have fun snooping! @@ -27,12 +30,15 @@ I'm Sarahtonin. The creator of this very website. It's a bit strange for me to write in first-person, I suppose. No matter, though.

+

I made this website because I'd prefer an easier way to share my socials, and to just introduce myself in a better way.

+

- Speaking of introducing myself, you should probably visit the page about me. + Speaking of introducing myself, you should probably visit the + page about me.

Credits

@@ -44,6 +50,7 @@ by several people. +
  • The font is Fixedsys @@ -52,7 +59,7 @@
  • - - + +