-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (42 loc) · 1.62 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="description" content="Senior software engineer from Östersund, Sweden">
<title>Droidrage AB</title>
<link rel="stylesheet" href="app.css">
<script type="text/javascript">
window.addEventListener("hashchange", setPageProps);
window.addEventListener("DOMContentLoaded", setPageProps);
const metaDescriptions = {
"home": "Senior software engineer from Östersund, Sweden",
"whoami": "Born in Jämtland, and lives near Östersund, Sweden",
"contact": "You can find me on social medias or by emailing me",
"tech": "I specialize in golang and cloud services, but can dabble with most technologies",
"droidrage": "Want to know what Droidrage stands for? :)",
}
function setPageProps(evt) {
const page = document.location.hash.replace("#", "")
if (page.length > 0) {
document.title = "Droidrage AB - " + page
}
document.querySelector('meta[name="description"]').setAttribute("content", metaDescriptions[page]);
}
</script>
</head>
<body>
<div class="container">
<div class="display-frame">
<div class="display">
<div class="display-content">
<div class="terminal-output"></div>
</div>
</div>
</div>
</div>
<script fetchpriority="high" type="text/javascript" src="app.js"></script>
<script data-goatcounter="https://droidrage.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
</body>
</html>