website/index.html
2024-03-06 23:40:01 -08:00

77 lines
2.9 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="Gen's Website" />
<meta
property="og:description"
content="A little bit of information about me :3"
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://genshibe.github.io" />
<title>Gen's Website</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main>
<h1>Hi, I'm Gen!</h1>
<h2>
I use
<a href="https://en.pronouns.page/@genshibe">any pronouns :3</a>
</h2>
<hr />
<h2>I'm a 19 year old...</h2>
<ul>
<li>Transit enthusiast &#128653;</li>
<li>Photographer &#128248;</li>
<li>Student &#129489;&#8205;&#127891;</li>
<li>Canadian &#127464;&#127462;</li>
<li>Hong Konger 🇭🇰</li>
<li>
Maintainer at
<a
class="catppuccin"
href="https://github.com/catppuccin/userstyles"
>Catppuccin</a
>
</li>
</ul>
<hr />
<footer>
<div class="socials">
<a href="https://discord.com/users/217892728875253760"
>Discord</a
>
<a href="https://www.instagram.com/spotter_gen/"
>Instagram</a
>
<a href="mailto:genshibe@gmail.com">Email</a>
</div>
<span
>Last updated at <span class="last-updated"></span> | ©️
Licensed under GPL V3 |
<a href="https://github.com/GenShibe/genshibe.github.io/"
>Open source</a
></span
>
<select class="theme-selector">
<option value="latte">Latte</option>
<option value="frappe">Frappé</option>
<option value="macchiato">Macchiato</option>
<option value="mocha">Mocha</option>
</select>
</footer>
</main>
<script>
window.addEventListener("DOMContentLoaded", () => {
const selector = document.querySelector(".theme-selector");
selector.value = localStorage.getItem("theme") || window.matchMedia('(prefers-color-scheme: light)').matches ? "latte" : "frappe";
document.documentElement.setAttribute("theme", selector.value);
selector.addEventListener("change", function () {
localStorage.setItem("theme", this.value);
document.documentElement.setAttribute("theme", this.value);
});
});
</script>
</body>
</html>