-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
25 lines (24 loc) · 1.19 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
<!DOCTYPE html>
<html lang="en"><head>
<title>Theodor Brandt</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<span class="text" style="white-space: pre-line; font-family: monospace">Theodor Brandt
<span aria-hidden="true" class="unspaced">———————————————————</span>
Email<span aria-hidden="true"> . . . <span class="break">. . . </span></span><a id="email" href="/">me<span class="at"></span>brandts.dev</a>
GitHub<span aria-hidden="true">. . . <span class="break">. . . </span></span><a target="_blank" rel="noopener noreferrer" href="https://github.com/urbansson">Urbansson</a>
LinkedIn<span aria-hidden="true">. . <span class="break">. . . </span></span><a target="_blank" rel="noopener noreferrer" href="https://www.linkedin.com/in/theodor-brandt/">Theodor Brandt</a>
</span>
<script>
const emailButton = document.getElementById('email');
emailButton.addEventListener('click', function(e) {
e.preventDefault();
const name = "me"
const domain = "brandts.dev"
window.location.href = `mailto:${name}@${domain}`;
}, false);
</script>
</body>
</html>