personal-website/index.html
2024-09-02 16:27:46 +02:00

97 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="theme-color" content="#ffffff">
<title>Benjamin&rsquo;s Website</title>
<script>
async function getIssues() {
let response = await fetch("https://benjamin.stadlbauer.wien/git/api/v1/repos/Benjamin/personal-website/issues?state=open", {
headers: {
"Accept": "application/json"
}
});
return await response.json();
}
async function fillIssues() {
let issues = [];
try {
issues = await getIssues();
let ul = document.getElementById("issues");
issues.forEach(issue => {
let li = document.createElement("li");
li.appendChild(document.createTextNode(issue.title));
ul.appendChild(li);
})
} catch (ex) {
console.warn("Could not fetch open issues via API");
console.warn(ex);
document.getElementById("open_issues_p").remove()
document.getElementById("issues").remove()
}
}
window.onload = (event) => {
fillIssues();
}
</script>
</head>
<body>
<nav>
<ul>
<li><a href="cv.html">Curriculum vitae</a></li>
<li><a href="/git/explore/repos">Projects</a></li>
</ul>
</nav>
<main>
<h1>Benjamin&rsquo;s Website</h1>
<p>Welcome to my website which is still under construction.</p>
<p>I finished updating my <a href="cv.html">curriculum vitae</a> part of the website, where one will find
some information about my professional background.</p>
<p>I will of course invest more time into this website
<ul>
<li>to make it look more appealing and consistent and</li>
<li>to make it more accessible.</li>
</ul>
</p>
<p id="open_issues_p">
These are the open issues for my website:
<ul id="issues">
</ul>
</p>
<footer>
<h2>About this website</h2>
<p>I started this website as a pet-project
<ul>
<li>to learn about web-development,</li>
<li>to have a personal website where I have links to topics I want to share, especially</li>
<li>to point to self-hosted git-repositories where I am developing my personal projects.</li>
</ul>
So if you have any feedback, thoughts or recommendations regarding this website, my Forgejo platform, my
style
of managing my repositories, or anything regarding coding in general, feel free to have a look at my <a
href="/git/explore/repos">projects</a> where you can create issues with your input.
</p>
</footer>
</main>
</body>
</html>