Skip to content

Commit 420bc5b

Browse files
committed
Added 404 page
1 parent 4c890de commit 420bc5b

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"imprint.html",
1818
"privacy.html",
1919
"feedback.html",
20+
"404.html",
2021
]
2122

2223
# Load template files and write the rendered HTML

templates/404.html

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{% extends "base.html" %}
2+
{% block title %}404 | OpenAndroidInstaller{% endblock %}
3+
{% block robot %}
4+
<meta name="robots" content="noindex,nofollow">
5+
<meta name="googlebot" content="noindex,nofollow">
6+
{% endblock %}
7+
{% block content %}
8+
<head>
9+
<link rel="stylesheet" href="/public/static/style.css">
10+
<link rel="stylesheet" href="/public/static/custom.css">
11+
</head>
12+
<!-- Header -->
13+
<section class="hero is-small">
14+
<div class="hero-body">
15+
<div class="container has-text-centered">
16+
<h1 class="is-size-1 is-size-3-mobile has-text-weight-bold">Error 404</h1>
17+
<p class="subtitle is-4">Oops! - The requested page does not exist or was not found.</p>
18+
</div>
19+
</div>
20+
</section>
21+
<!-- Header End -->
22+
23+
<section class="section">
24+
<div class="container is-max-desktop">
25+
<!-- Content -->
26+
<div class="content">
27+
<!-- Content End -->
28+
</div>
29+
</section>
30+
31+
<!-- Contribution Banner -->
32+
<section class="section has-background-primary">
33+
<div class="container">
34+
<div class="is-vcentered columns is-multiline">
35+
<div class="column is-6 is-5-desktop mb-4">
36+
<h2 class="has-text-white mt-2 mb-3 is-size-1 is-size-3-mobile has-text-weight-bold">You think something is wrong?
37+
</h2>
38+
</div>
39+
<div class="column is-5 ml-auto">
40+
<div class="mx-auto box p-6 has-background-light has-text-centered">
41+
<a class="button is-link is-fullwidth hover-transition" id="contribute-button"
42+
href="mailto:[email protected]">Write an e-mail</a>
43+
</div>
44+
</div>
45+
</div>
46+
</div>
47+
</section>
48+
<!-- Contribution Banner End -->
49+
{% endblock %}

0 commit comments

Comments
 (0)