ui: add custom centered 404 page

This commit is contained in:
2026-04-12 14:58:08 +02:00
parent 39f09c104f
commit 09d2fd3a88
3 changed files with 55 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
package templates
templ NotFoundPage() {
@Layout("mal - not found", false) {
<section class="not-found-page anime-surface">
<p class="not-found-code">404</p>
<h1>Page not found</h1>
<p class="empty-inline-note">The page you requested does not exist, or it was moved.</p>
<p><a href="/" class="not-found-link">Back to catalog</a></p>
</section>
}
}