mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 14:06:08 +00:00

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.
17 lines
361 B
HTML
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>
|