diff options
Diffstat (limited to 'pydis_site/templates')
| -rw-r--r-- | pydis_site/templates/404.html | 34 | ||||
| -rw-r--r-- | pydis_site/templates/500.html | 29 | ||||
| -rw-r--r-- | pydis_site/templates/base/footer.html | 2 | 
3 files changed, 64 insertions, 1 deletions
diff --git a/pydis_site/templates/404.html b/pydis_site/templates/404.html new file mode 100644 index 00000000..42e317d2 --- /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> diff --git a/pydis_site/templates/500.html b/pydis_site/templates/500.html new file mode 100644 index 00000000..869892ec --- /dev/null +++ b/pydis_site/templates/500.html @@ -0,0 +1,29 @@ +{% load static %} + +<!DOCTYPE html> +<html lang="en"> + +<head> +    <title>Python Discord | 500</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>500 — Internal Server Error</h1> +            <p>Something went wrong at our end. Please try again shortly, or if the problem persists, please let us know <a href="https://discord.gg/python">on Discord</a>.</p> +        </div> +    </div> +</body> + +</html> diff --git a/pydis_site/templates/base/footer.html b/pydis_site/templates/base/footer.html index 90f06f3c..bca43b5d 100644 --- a/pydis_site/templates/base/footer.html +++ b/pydis_site/templates/base/footer.html @@ -1,7 +1,7 @@  <footer class="footer has-background-dark has-text-light">    <div class="content has-text-centered">      <p> -      Built with <a href="https://www.djangoproject.com/"><span id="django-logo">django</span></a> and <a href="https://bulma.io"><span id="bulma-logo">Bulma</span></a> <br/> © {% now "Y" %} <span id="pydis-text">Python Discord</span> +      Powered by <a href="https://www.linode.com/?r=3bc18ce876ff43ea31f201b91e8e119c9753f085"><span id="linode-logo">Linode</span></a><br>Built with <a href="https://www.djangoproject.com/"><span id="django-logo">django</span></a> and <a href="https://bulma.io"><span id="bulma-logo">Bulma</span></a> <br/> © {% now "Y" %} <span id="pydis-text">Python Discord</span>      </p>    </div>  </footer>  |