jetzig/demo/public/404.html
Bob Farrell 1c7df8a91d Custom error pages
Render `src/app/views/errors.zig` view (`index` action) when an
unexpected error occurs. If the view does not exist, try rendering
`public/404.html`, `public/500.html` (etc.), finally falling back to a
standard basic HTML/JSON response.
2024-04-28 11:54:05 +01:00

17 lines
361 B
HTML

<style>
div {
padding: 15px;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
text-align: center;
}
</style>
<div>
<img src="/jetzig.png">
<h1 style="font-size: 10rem; font-family: sans-serif; color: #f7931e">404</h1>
</div>