forked from TryGhost/Casper
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.hbs
57 lines (57 loc) · 1.62 KB
/
error.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono&family=Lexend+Deca&display=swap" rel="stylesheet">
<title>Error - {{error.statusCode}}</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: 'Lexend Deca', sans-serif;
background-color: #f7f7f7;
color: #292C2F;
}
.container {
text-align: center;
max-width: 600px;
padding: 20px;
background-color: white;
border: 1px solid #e0e0e0;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.title {
font-family: 'Fira Mono', monospace;
font-size: 3rem;
margin-bottom: 20px;
color: #D84727;
}
.description {
font-size: 1.2rem;
margin-bottom: 20px;
color: #666666;
}
.link {
font-size: 1rem;
color: #D84727;
text-decoration: none;
transition: color 0.3s;
}
.link:hover {
color: #A0361D;
}
</style>
</head>
<body>
<div class="container">
<h1 class="title">{{error.statusCode}} Error</h1>
<p class="description">{{error.message}}</p>
<a class="link" href="{{@site.url}}">Go back to Home</a>
</div>
</body>
</html>