Select Git revision
script.js 1.30 KiB
function work() {
document.getElementById("description").innerHTML =
'I said, I love opensource. And all my projects are opensource under different licences. You can take a look at them at <a href="https://git.randomchars.net/">Randomchars Gitlab instance</a>. You can publish your opensource projects there too ^^';
document.getElementById("about").classList.remove("current");
document.getElementById("work").classList.add("current");
}
function about() {
document.getElementById("about").classList.add("current");
document.getElementById("work").classList.remove("current");
document.getElementById("description").innerHTML =
"Beside being a web designer/developer, I am a photography hobbyist, a travel/adventure lover and a superbike dreamer. I don't think I am as good in photography as I am in web design but I love photography and traveling. When I am not working I love hanging around with my camera and capture some good snaps. Landscape and kids photography is something I really find myself enjoying.";
}
window.onload = async function () {
await fetch("https://freenitori.jp/api/user/774718136532205578")
.then((response) => response.json())
.then(
(json) =>
(document.getElementById("discord").innerHTML =
" " + json.name + "#" + json.discriminator)
);
};