This commit is contained in:
mynah
2019-04-03 14:08:45 -06:00
parent d72871332c
commit 1d0e23292d
4 changed files with 29 additions and 1 deletions

View File

@@ -74,7 +74,12 @@ use Dojo::Model::Users;
# ============================================================================= # =============================================================================
$r->any('/*whatever' => {whatever => ''} => sub {
my $c = shift;
my $whatever = $c->param('whatever');
$c->stash(layout=>'clean');
$c->render(template=>'home/not_found');
});
} }
1; 1;

View File

@@ -0,0 +1,16 @@
body {margin:25px;
background-color:#94C8DB;
}
div.polaroid {
width: 80%;
background-color: white;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
margin: 10vh auto auto auto;
}
img{width: 100%}
div.container {
text-align: center;
padding: 10px 20px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -0,0 +1,7 @@
% stash css => ["/global/error/404.css"];
<div class="polaroid">
<img src="/global/error/hono.jpg">
<div class="container">
<p>Error 404</p>
</div>
</div>