This commit is contained in:
john 2024-05-05 13:42:06 +02:00
parent d956d4e341
commit 99e8ef922a
2 changed files with 24 additions and 17 deletions

12
cv.html
View file

@ -7,7 +7,7 @@
</head>
<body>
<header>
<!-- <img class="pfp" alt="an image of john" src="assets/pfp.jpeg"/>-->
<img class="pfp" alt="an image of john" src="assets/pfp.jpeg"/>
<div>
<h1>John Morris</h1>
<p>Software Developer</p>
@ -166,7 +166,7 @@
</li>
</menu>
<aside>
<dl id=details class="details">
<dl id=details class="icon-list">
<dt>
<img
class="icon"
@ -189,7 +189,9 @@
<dt><img class="icon" alt="email" aria-description="email address"
src="assets/icon-email.svg"/></dt>
<dd><a href="mailto:me@johnmorr.is">me@johnmorr.is</a></dd>
<dd>
<a href="mailto:me@johnmorr.is?subject=Re:+Your+application&body=Hey+John,%0A%0ANice+resume+%E2%98%BA%EF%B8%8F.%0AWe'd+love+to+hire+you!">me@johnmorr.is</a>
</dd>
</dl>
<section id="skills">
@ -240,11 +242,11 @@
const year = now.getFullYear()
const month = now.getMonth() + 1
const day = now.getDate()
document.title=`John Morris CV ${year}-${month.toString().padStart(2, '0')}-${day.toString().padStart(2, '0')}`;
document.title = `John Morris CV ${year}-${month.toString().padStart(2, "0")}-${day.toString().padStart(2, "0")}`;
});
window.addEventListener("afterprint", (event) => {
document.title=originalTitle;
document.title = originalTitle;
});
</script>
</html>