404.html for any static host
GitHub Pages, Netlify, Vercel, Cloudflare Pages and Surge all serve a 404.html from the site root automatically.
<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>404 · Page not found</title><meta name="robots" content="noindex"></head>
<body style="margin:0;min-height:100vh;display:grid;place-items:center;background:#05060a;color:#f4f4f5;font-family:system-ui;text-align:center">
<main>
<ascii-art piece="page-404" size="7"></ascii-art>
<h1>This page drifted off into space.</h1>
<p><a href="/" style="color:inherit">Take me home</a></p>
</main>
<script type="module" src="https://www.ascii-magic.com/ascii/ascii.js"></script>
</body>
</html>