feat: use shared layout
This commit is contained in:
@@ -1,32 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
% layout 'default';
|
||||||
<html>
|
% stash title => '404 Not Found';
|
||||||
<head>
|
<main class="page page-center">
|
||||||
<title>404 Not Found</title>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
||||||
line-height: 1.6;
|
|
||||||
color: #222;
|
|
||||||
max-width: 600px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 2rem;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
h1 {
|
|
||||||
font-size: 3rem;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
color: #444;
|
|
||||||
}
|
|
||||||
p {
|
|
||||||
font-size: 1.1rem;
|
|
||||||
color: #666;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>404 Not Found</h1>
|
<h1>404 Not Found</h1>
|
||||||
<p>The requested short link was not found.</p>
|
<p>The requested short link was not found.</p>
|
||||||
</body>
|
<a href="/" class="link-home">Back to home</a>
|
||||||
</html>
|
</main>
|
||||||
|
|||||||
@@ -1,32 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
% layout 'default';
|
||||||
<html>
|
% stash title => '500 Internal Server Error';
|
||||||
<head>
|
<main class="page page-center">
|
||||||
<title>500 Internal Server Error</title>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
||||||
line-height: 1.6;
|
|
||||||
color: #222;
|
|
||||||
max-width: 600px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 2rem;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
h1 {
|
|
||||||
font-size: 3rem;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
color: #444;
|
|
||||||
}
|
|
||||||
p {
|
|
||||||
font-size: 1.1rem;
|
|
||||||
color: #666;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>500 Internal Server Error</h1>
|
<h1>500 Internal Server Error</h1>
|
||||||
<p>An error occurred while processing your request.</p>
|
<p>An error occurred while processing your request.</p>
|
||||||
</body>
|
<a href="/" class="link-home">Back to home</a>
|
||||||
</html>
|
</main>
|
||||||
|
|||||||
Reference in New Issue
Block a user