Skip to content

Commit 482d3f3

Browse files
committed
website: add 404 page
1 parent 0ba5e83 commit 482d3f3

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

website/404.html

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>botogram - Page not found</title>
7+
</head>
8+
<body>
9+
<link rel="stylesheet" href="/_static/style.css">
10+
11+
<div class="color-bar"></div>
12+
13+
<div class="row">
14+
<div class="wrapper">
15+
<h1>botogram</h1>
16+
<h2>Python framework for Telegram bots</h2>
17+
</div>
18+
</div>
19+
<hr>
20+
<div class="row">
21+
<div class="wrapper">
22+
<div class="vcenter-text motto error">
23+
<p>404 - Page not found</p>
24+
</div>
25+
</div>
26+
<nav>
27+
<ul>
28+
<li><a href="/">
29+
Go back to the home page
30+
</a></li>
31+
</ul>
32+
</nav>
33+
</div>
34+
</div>
35+
<footer>
36+
<ul>
37+
<li>Copyright &copy; 2015-2018
38+
<a href="https://pietroalbini.org">Pietro Albini</a>
39+
</li>
40+
<li>botogram is released under the MIT license.</li>
41+
</ul>
42+
</footer>
43+
44+
<link rel="stylesheet" href="https://assets.pietroalbini.org/fonts/bitter/include.min.css">
45+
<link rel="stylesheet" href="https://assets.pietroalbini.org/fonts/dejavu-sans/include.min.css">
46+
</body>
47+
</html>

website/_static/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ div.motto p {
9191
font-size: 1.8em;
9292
}
9393

94+
div.error {
95+
text-align: center;
96+
width: 100%;
97+
}
98+
9499
nav ul {
95100
text-align: center;
96101
margin: 0;

0 commit comments

Comments
 (0)