aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/404.html
diff options
context:
space:
mode:
authorGravatar Gustav Odinger <[email protected]>2021-03-01 17:10:09 +0100
committerGravatar Gustav Odinger <[email protected]>2021-03-01 17:10:09 +0100
commitebf128e6d52cfd574e7a055804aa1abc54949699 (patch)
tree168e6e723ae66bec2c988e195eb831903c118ad5 /pydis_site/templates/404.html
parentReduce worker count from 4 to 2 (diff)
Add 404 page
This does not include the styling required for the page to display properly
Diffstat (limited to 'pydis_site/templates/404.html')
-rw-r--r--pydis_site/templates/404.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/pydis_site/templates/404.html b/pydis_site/templates/404.html
new file mode 100644
index 00000000..909e0a3d
--- /dev/null
+++ b/pydis_site/templates/404.html
@@ -0,0 +1,34 @@
+{% load static %}
+
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <title>Python Discord | 404</title>
+
+ <meta charset="UTF-8">
+
+ <link rel="preconnect" href="https://fonts.gstatic.com">
+ <link href="https://fonts.googleapis.com/css2?family=Hind:wght@400;600&display=swap" rel="stylesheet">
+ <link rel="stylesheet" href="{% static "css/error_pages.css" %}">
+</head>
+
+<body>
+ <div class="error-box">
+ <div class="logo-box">
+ <img src="https://raw.githubusercontent.com/python-discord/branding/b67897df93e572c1576a9026eb78c785a794d226/logos/logo_banner/logo_site_banner.svg"
+ alt="Python Discord banner" />
+ </div>
+ <div class="content-box">
+ <h1>404 — not found</h1>
+ <p>We couldn't find the page you're looking for. Here are a few things to try out:</p>
+ <ul>
+ <li>Double check the URL. Are you sure you typed it out correctly?
+ <li>Come join <a href="https://discord.gg/python">our Discord Server</a>. Maybe we can help you out over
+ there
+ </ul>
+ </div>
+ </div>
+</body>
+
+</html>