ui: add custom centered 404 page
This commit is contained in:
12
internal/templates/not_found.templ
Normal file
12
internal/templates/not_found.templ
Normal 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>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user