gmem.ca default to human mode, title update

This commit is contained in:
Gabriel Simmer 2024-04-14 23:49:51 +01:00
parent 1bca7fcaf5
commit b33ae55752
Signed by: arch
SSH key fingerprint: SHA256:m3OEcdtrnBpMX+2BDGh/byv3hrCekCLzDYMdvGEKPPQ

View file

@ -4,20 +4,22 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="I'm a silly dog"> <meta name="description" content="I'm a silly dog">
<title>gmem.ca</title> <title>arch.dog</title>
<link rel="stylesheet" href="./styles.css"> <link rel="stylesheet" href="./styles.css">
</head> </head>
<body> <body>
<main> <main>
<form> <form>
<label><input type="checkbox" name="language" /> Dog Mode</label> <label><input type="checkbox" name="language" /> Dog Mode</label>
</form> </form>
<header> <header>
<img src="./avatar.png" alt="A cute golden retriever with a stylish blue hairstyle and glasses"> <img src="./avatar.png" alt="A cute golden retriever with a stylish blue hairstyle and glasses">
<h1>arf arf</h1> <h1>Arch is a dog</h1>
</header> </header>
<p id="social"><i>*wags tail*</i> awoo woof woof <a href="https://floofy.tech/@arch" rel="me">bark</a></p> <p id="social"><i>hi!</i> follow me on the <a href="https://floofy.tech/@arch" rel="me">fedi</a></p>
<p id="fursona"><a href="https://fursona.gmem.ca/gmem.ca">yip arf</a></p> <p id="fursona"><a href="https://fursona.gmem.ca/gmem.ca">check out my fursona</a></p>
<p id="projects"><a href="https://gabrielsimmer.com">check out my projects</a></p>
<p><a href='https://ko-fi.com/N4N4I73HI' target='_blank'> <p><a href='https://ko-fi.com/N4N4I73HI' target='_blank'>
<img height='36' style='border:0px;height:36px;' src='./kofi.png' border='0' alt='Buy Me a Coffee at ko-fi.com' /> <img height='36' style='border:0px;height:36px;' src='./kofi.png' border='0' alt='Buy Me a Coffee at ko-fi.com' />
</a></p> </a></p>
@ -38,6 +40,7 @@
const header = document.querySelector("h1"); const header = document.querySelector("h1");
const social = document.querySelector("#social"); const social = document.querySelector("#social");
const fursona = document.querySelector("#fursona"); const fursona = document.querySelector("#fursona");
const projects = document.querySelector("#projects");
addEventListener("load", (event) => reloaddog()); addEventListener("load", (event) => reloaddog());
checkbox.addEventListener('change', function() { checkbox.addEventListener('change', function() {
@ -53,10 +56,12 @@
header.innerHTML = "arf arf!"; header.innerHTML = "arf arf!";
social.innerHTML = "<i>*wags tail*</i> awoo woof woof <a href=\"https://floofy.tech/@arch\" rel=\"me\">bark</a>" social.innerHTML = "<i>*wags tail*</i> awoo woof woof <a href=\"https://floofy.tech/@arch\" rel=\"me\">bark</a>"
fursona.innerHTML = "<a href=\"https://fursona.gmem.ca/gmem.ca\">yip arf</a>" fursona.innerHTML = "<a href=\"https://fursona.gmem.ca/gmem.ca\">yip arf</a>"
projects.innerHTML = "<a href=\"https://gabrielsimmer.com\">grrr ruff</a>"
} else { } else {
header.innerHTML = "Arch is a dog"; header.innerHTML = "Arch is a dog";
social.innerHTML = "<i>hi!</i> follow me on the <a href=\"https://floofy.tech/@arch\" rel=\"me\">fedi</a>" social.innerHTML = "<i>hi!</i> follow me on the <a href=\"https://floofy.tech/@arch\" rel=\"me\">fedi</a>"
fursona.innerHTML = "<a href=\"https://fursona.gmem.ca/gmem.ca\">check out my fursona</a>" fursona.innerHTML = "<a href=\"https://fursona.gmem.ca/gmem.ca\">check out my fursona</a>"
projects.innerHTML = "<a href=\"https://gabrielsimmer.com\">check out my projects</a>"
} }
} }
</script> </script>