Skip to content

Commit c2d0926

Browse files
Merge pull request 0xPolygon#621 from 0xPolygon/platform/404-design
Platform: Add 404 html design
2 parents d334e95 + 687ac9b commit c2d0926

File tree

2 files changed

+76
-1
lines changed

2 files changed

+76
-1
lines changed

docs/img/404.png

68.4 KB
Loading

overrides/404.html

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,82 @@
11
{% extends "main.html" %}
22

33
{% block content %}
4-
<h1>404 - Not found</h1>
4+
<body
5+
style="
6+
height: 100dvh;
7+
padding: 20px;
8+
margin: 0;
9+
width: 100%;
10+
"
11+
>
12+
<div class="container"
13+
style="
14+
display: flex;
15+
flex-direction: column;
16+
align-items: center;
17+
justify-content: center;
18+
"
19+
>
20+
<p style="
21+
font-size: 20px;
22+
line-height: 26px;
23+
font-family: Space Mono, monospace;
24+
">
25+
ERROR
26+
</p>
27+
<p style="
28+
font-size: 120px;
29+
line-height: 120px;
30+
margin: 0;
31+
font-family: Space Mono, monospace;
32+
">
33+
404
34+
</p>
35+
<img src="/img/404.png" alt="404 image" width="294" height="282">
36+
<p
37+
style="
38+
font-size: 42px;
39+
line-height: 48px;
40+
font-weight: 500;
41+
text-align: center;
42+
margin: 0;
43+
max-width: 100%;
44+
"
45+
>
46+
Uh Oh. Sorry there&apos;s something wrong.
47+
</p>
48+
<p
49+
style="
50+
font-size: 20px;
51+
line-height: 26px;
52+
font-weight: 500;
53+
color: #67666e;
54+
text-align: center;
55+
max-width: 100%;
56+
"
57+
>
58+
We couldn&apos;t find the page you&apos;re looking for.
59+
</p>
60+
<button
61+
style="
62+
padding: 10px 14px 10px 14px;
63+
border-radius: 48px;
64+
outline: none;
65+
border: none;
66+
background: #7047eb;
67+
color: #fff;
68+
font-size: 12px;
69+
line-height: 15.6px;
70+
font-weight: 500;
71+
cursor: pointer;
72+
"
73+
onclick="window.location.href = 'https://docs.polygon.technology'"
74+
>
75+
Back to Home
76+
</button>
77+
</body>
78+
</html>
79+
580
{% endblock %}
681

782
{% block htmltitle %}

0 commit comments

Comments
 (0)