Style a basic 404 pasge
This commit is contained in:
+13
-5
@@ -1,9 +1,17 @@
|
||||
package views
|
||||
|
||||
import "github.com/dominicf2001/comfychan/web/views/shared"
|
||||
|
||||
templ NotFound() {
|
||||
<div class="container not-found">
|
||||
<h1>404</h1>
|
||||
<p>Comfychan couldn’t find that page.</p>
|
||||
<img src="/static/media/comfy-404.png" alt="404 mascot"/>
|
||||
</div>
|
||||
@shared.Layout() {
|
||||
<div class="container not-found-container">
|
||||
<div class="box">
|
||||
<h2>404 not found.</h2>
|
||||
<div>
|
||||
<img id="notFoundImg" src="/static/media/404/1.jpg" alt="404 mascot"/>
|
||||
</div>
|
||||
<p><a class="link-button" href="javascript:history.back()">[Go back]</a></p>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user