From 0426ed9ed01bcb439641433fa6f65b07f77fe996 Mon Sep 17 00:00:00 2001 From: ~willow Date: Wed, 13 May 2026 03:43:35 +0000 Subject: removed duplicated index pages and made toggleable html elements instead --- 404.html | 26 +--------------------- about/index.html | 61 ---------------------------------------------------- index.html | 36 +++++++++++++++++++++++++++++-- maxwell/index.html | 63 ------------------------------------------------------ script.js | 14 ++++++++++++ 5 files changed, 49 insertions(+), 151 deletions(-) delete mode 100644 about/index.html delete mode 100644 maxwell/index.html create mode 100644 script.js diff --git a/404.html b/404.html index 19e5f3a..082e630 100644 --- a/404.html +++ b/404.html @@ -19,33 +19,9 @@ -

$ ls

-

- about.txt - maxwell.txt - git/ -

-

$ 404

404: command not found

-

$

+

$ ls

- - diff --git a/about/index.html b/about/index.html deleted file mode 100644 index 6b8de72..0000000 --- a/about/index.html +++ /dev/null @@ -1,61 +0,0 @@ - - - Willow's Whimsical Space - - - - - - -
-
-
-           \    /o|| _    / _          
-            \/\/ |||(_)\/\/_>          
-                          __           
-\    /|_ o._ _  _o _ _.| (_ ._  _. _ _ 
- \/\/ | ||| | |_>|(_(_|| __)|_)(_|(_(/_
-                            |          
-			
-
- -

$ ls

-

- about.txt - maxwell.txt - git/ -

- -

$ cat about.txt

-

- Hi, I'm Willow! Welcome to my Whimsical Space! - I am currently a jazz piano student in college working on my associate's degree, - but I'm also interested in many other subjects. - I plan on pursuing my interest in physics and computer programming after I get my aforementioned degree. - As you've already read, I have three good main interests, and while I'm currently pursuing a career in one (music), - the others remain as mere hobbies - this website being a product of it. - I also have several other services hosted by my own homelab of sorts. - Due to being a pretty substantial privacy advocate, - these services serve to replace all that I've used in the past from large tech companies. -

- -

$

- - - - diff --git a/index.html b/index.html index a57301b..73797c6 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ +
@@ -21,11 +22,42 @@

$ ls

- about.txt - maxwell.txt + about.txt + maxwell.txt git/

+ + + +

$

diff --git a/maxwell/index.html b/maxwell/index.html deleted file mode 100644 index 4a827df..0000000 --- a/maxwell/index.html +++ /dev/null @@ -1,63 +0,0 @@ - - - Willow's Whimsical Space - - - - - - -
-
-
-           \    /o|| _    / _          
-            \/\/ |||(_)\/\/_>          
-                          __           
-\    /|_ o._ _  _o _ _.| (_ ._  _. _ _ 
- \/\/ | ||| | |_>|(_(_|| __)|_)(_|(_(/_
-                            |          
-			
-
- -

$ ls

-

- about.txt - maxwell.txt - git/ -

- -

$ cat maxwell.txt

-
-   _,-=@~ARgy_          
-  4"^y:g@@$@@@$y______y=
- ^`:y$@@@@@$@@@ggg@@@@F 
-`  4@g@@@@@M@@@@@@E@@@L 
-  :@@@@@@@@:$y~5@F~9@@$ 
-  `4@@@@@@@y~AF!"@@F~P$ 
-`' `$@@@@@@@@_` `~`   $ 
- ' ."9@M@@@@@L        @ 
-     `_@@@ga@@@s   _yf  
-        4@@@@@@@y 4@F   
-         `''~5BBF~      
-		
- -

$

- - - - diff --git a/script.js b/script.js new file mode 100644 index 0000000..1334088 --- /dev/null +++ b/script.js @@ -0,0 +1,14 @@ +const ids = ["about", "maxwell"]; + +function toggle(toggled_id) { + var toggled_element = document.getElementById(toggled_id); + if (toggled_element.style.display === "none") { + for (id of ids) { + var element = document.getElementById(id); + element.style.display = "none"; + } + toggled_element.style.display = "block"; + } else { + toggled_element.style.display = "none"; + } +} -- cgit