mirror of
https://codeberg.org/vlw/victorwesterlund.com.git
synced 2025-09-13 19:13:42 +02:00
Combined both script.js and legacy.js into a single <script> tag on index.html. The page uses less than 15 sloc of JS excluding the Service Worker.
60 lines
2.6 KiB
HTML
60 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="Full-stack web developer from Stockholm, Sweden.">
|
|
<meta name="theme-color" content="#ffffff">
|
|
<link href="assets/img/favicon.png" rel="icon">
|
|
<link href="assets/css/style.css" rel="stylesheet">
|
|
<title>Victor Westerlund</title>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<div id="intro">
|
|
<div class="inner">
|
|
<div class="block">
|
|
<div class="logo"></div>
|
|
<h1><span>victor westerlund</span></h1>
|
|
<h2><span>full-stack web developer</span></h2>
|
|
</div>
|
|
<div class="block">
|
|
<p><span>I create things with code, and usually design things for humans to interact with my code. I'm also a true wannabe jack of all trades; and a coffee-loving non-coffee snob.</span></p>
|
|
<p><span><strong>hello@victorwesterlund.com</strong></span>​(<a href="https://storage.googleapis.com/public.victorwesterlund.com/publickey.gpg" target="_blank">PGP Key</a>)</p>
|
|
</div>
|
|
<div class="block">
|
|
<nav>
|
|
<!--<a href="#">contact</a>-->
|
|
<a href="https://github.com/VictorWesterlund" target="_blank">github</a>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="myface">
|
|
<picture>
|
|
<source media="(min-width: 900px)" srcset="assets/img/myface/highres.webp" type="image/webp">
|
|
<source media="(min-width: 300px)" srcset="assets/img/myface/mediumres.webp" type="image/webp">
|
|
<source media="(min-width: 900px)" srcset="assets/img/myface/highres.png" type="image/png">
|
|
<source media="(min-width: 300px)" srcset="assets/img/myface/mediumres.png" type="image/png">
|
|
<img srcset="assets/img/myface/fallback.jpg" type="image/jpeg">
|
|
</picture>
|
|
</div>
|
|
</main>
|
|
<script>
|
|
// Promote IE to Edge
|
|
if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) {
|
|
window.location = 'microsoft-edge:' + window.location;
|
|
setTimeout(function() {
|
|
window.location = 'https://go.microsoft.com/fwlink/?linkid=2135547';
|
|
},1);
|
|
}
|
|
|
|
// Register SW if supported by browser
|
|
if(navigator.serviceWorker) {
|
|
navigator.serviceWorker.register("sw.js",{
|
|
scope: "/"
|
|
});
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|