2021-12-27 16:52:53 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2021-12-30 20:34:44 +01:00
|
|
|
<title>@domain@</title>
|
2021-12-27 16:52:53 +01:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=JetBrains+Mono">
|
|
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
|
|
<script>
|
|
|
|
tailwind.config = {
|
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
fontFamily: {
|
|
|
|
mono: ["JetBrains Mono", "normal"]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class="font-mono bg-gray-100">
|
|
|
|
<header class="sticky z-10 transition duration-300 bg-gray-100 top-0 py-6">
|
|
|
|
<div class="flex max-w-sm md:max-w-3xl mx-auto">
|
|
|
|
<div class="flex-1 text-center md:text-left text-xl md:text-base">
|
2021-12-30 20:34:44 +01:00
|
|
|
<a href="@depotWork@/website">
|
2021-12-27 16:52:53 +01:00
|
|
|
<h1 class="font-bold">
|
2021-12-30 20:34:44 +01:00
|
|
|
<span class="text-black">(</span><a class="text-purple-600 hover:underline" href="@depotWork@/website">def</a> <a class="text-green-600 hover:underline text-bold" href="@homepage@">"@domain@"</a><span class="text-black">)</span>
|
2021-12-27 16:52:53 +01:00
|
|
|
</h1>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<nav class="flex-1 hidden md:block">
|
|
|
|
<ul class="list-reset flex justify-end space-x-8">
|
|
|
|
<li>
|
2021-12-30 20:34:44 +01:00
|
|
|
<a class="hover:underline" href="@habits@">
|
2021-12-27 16:52:53 +01:00
|
|
|
Habits
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2021-12-30 20:34:44 +01:00
|
|
|
<a class="hover:underline" href="@blog@">
|
2021-12-27 16:52:53 +01:00
|
|
|
Blog
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2021-12-30 20:34:44 +01:00
|
|
|
<a class="hover:underline" href="@github@">
|
2021-12-27 16:52:53 +01:00
|
|
|
GitHub
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2021-12-30 20:34:44 +01:00
|
|
|
<a class="hover:underline" href="@linkedin@">
|
2021-12-27 16:52:53 +01:00
|
|
|
LinkedIn
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<div class="max-w-sm px-2 md:px-0 md:max-w-prose mx-auto">
|
2021-12-28 01:06:08 +01:00
|
|
|
@contentHtml@
|
|
|
|
<footer class="md:hidden pb-6">
|
2021-12-30 20:34:44 +01:00
|
|
|
<h2 class="text-xl font-bold py-4">More Bill?</h2>
|
2021-12-28 01:06:08 +01:00
|
|
|
<ul>
|
|
|
|
<li class="pb-6">
|
2021-12-30 20:34:44 +01:00
|
|
|
<a class="text-blue-600 font-bold" href="@homepage@">
|
2021-12-28 01:06:08 +01:00
|
|
|
Home <span class="text-blue-300">-></span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="pb-6">
|
2021-12-30 20:34:44 +01:00
|
|
|
<a class="text-blue-600 font-bold" href="@blog@">
|
2021-12-28 01:06:08 +01:00
|
|
|
Blog <span class="text-blue-300">-></span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="pb-6">
|
2021-12-30 20:34:44 +01:00
|
|
|
<a class="text-blue-600 font-bold" href="@github@">
|
2021-12-28 01:06:08 +01:00
|
|
|
GitHub <span class="text-blue-300">-></span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="pb-6">
|
2021-12-30 20:34:44 +01:00
|
|
|
<a class="text-blue-600 font-bold" href="@linkedin@">
|
2021-12-28 01:06:08 +01:00
|
|
|
LinkedIn <span class="text-blue-300">-></span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
const $header = document.querySelector("header");
|
|
|
|
const dropShadow = "drop-shadow-md";
|
|
|
|
const update = () => window.scrollY !== 0 ?
|
|
|
|
$header.classList.add(dropShadow) :
|
|
|
|
$header.classList.remove(dropShadow);
|
|
|
|
|
|
|
|
update();
|
|
|
|
document.addEventListener("scroll", update);
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|