added about page

This commit is contained in:
emily 2024-01-23 21:21:08 +01:00
parent 40cdafb312
commit e13bcff0d2
Signed by: emily
GPG key ID: F6F4C66207FCF995
3 changed files with 56 additions and 9 deletions

View file

@ -34,7 +34,7 @@ body{
filter: brightness(75%);
}
#nav-as, #nav-home {
.nav-home, .nav-as, .nav-about {
cursor: pointer;
}

View file

@ -31,10 +31,12 @@ document.getElementById("hint").addEventListener('click', _ => {
}
});
const sites = ['as', 'home'];
const sites = ['as', 'home', 'about'];
sites.forEach((item) => {
document.getElementById(`nav-${item}`).addEventListener('click', _ => {
nav(`${item}`);
document.querySelectorAll(`.nav-${item}`).forEach((a) => {
a.addEventListener('click', _ => {
nav(item);
});
});
});

View file

@ -16,12 +16,12 @@
<h1>K Y O U M A . N E T</h1>
<h2>BE GAY DO CRIME</h2>
<div class="social">
<a id="nav-as">as203819</a> $
<a target="_self" href="https://emily.cat/">blog</a>
<a class="nav-as">as203819</a> $
<a class="nav-about">about</a>
</div>
</div>
<div class="content" id="as" style="display: none">
<pre>
<pre>
________ ________ _______ ________ ________ ________ _____ ________
|\ __ \ |\ ____\ / ___ \ |\ __ \ |\_____ \ |\ __ \ / __ \ |\ ___ \
\ \ \|\ \ \ \ \___|_ /__/|_/ /| \ \ \|\ \ \|____|\ /_ \ \ \|\ \ |\/_|\ \ \ \____ \
@ -59,10 +59,55 @@
| > Duesseldorf, Germany (MyLoc) > AS49585 - CoreRoute (10Gbit/s) | Email......: noc@kyouma.net |
| > AS58299 - Openfactory (10Gbit/s) | Matrix.....: @snaki:kescher.at |
| * LOCIX Duesseldorf (10Gbit/s) | Fedi.......: @snaki@girldick.gay |
| | Blog.......: emily.cat |
| | |
| | |
+-------------------------------------------------------------------------+---------------------------------------+
<a id="nav-home">&lt;- Back</a>
<a class="nav-home">&lt;- Home</a> <a class="nav-about">about -&gt;</a>
</pre>
</div>
<div class="content" id="about" style="display: none">
<pre>
________ ________ ________ ___ ___ _________
|\ __ \ |\ __ \ |\ __ \ |\ \|\ \ |\___ ___\
\ \ \|\ \ \ \ \|\ /_ \ \ \|\ \ \ \ \\\ \ \|___ \ \_|
\ \ __ \ \ \ __ \ \ \ \\\ \ \ \ \\\ \ \ \ \
\ \ \ \ \ \ \ \|\ \ \ \ \\\ \ \ \ \\\ \ \ \ \
\ \__\ \__\ \ \_______\ \ \_______\ \ \_______\ \ \__\
\|__|\|__| \|_______| \|_______| \|_______| \|__|
+-----------------------------------------------------------------------------------------------------------------+
| |
| |
| Hi, I'm emily and you might have guessed it but I hate computers. |
| You can find my coding projects at <a href="https://git.bsd.gay/snaki">git.bsd.gay/snaki</a>. |
| |
| Daily VyOS builds can be found at <a href="vyos/">/vyos</a>. (not sure why this exists) |
| |
| |
| |
| ,-. _,---._ __ / \ |
| / ) .-' `./ / \ |
| ( ( ,' `/ /| |
| \ `-" \'\ / | |
| `. , \ \ / | |
| /`. ,'-`----Y | |
| ( ; | ' |
| | ,-. ,-' | / |
| | | ( | | / |
| ) | \ `.___________|/ |
| `--' `--' |
+-------------------------------------------------------------------------+---------------------------------------+
| | |
| | Contact: |
| | |
| | Email......: noc@kyouma.net |
| | Matrix.....: @snaki:kescher.at |
| | Fedi.......: @snaki@girldick.gay |
| | |
| | |
+-------------------------------------------------------------------------+---------------------------------------+
<a class="nav-home">&lt;- Home</a> <a class="nav-as">as203819 -&gt;</a>
</pre>
</div>
<div class="hint" id="hint">HIT ME FOR SOUND</div>