Skip to content

Commit

Permalink
Added: 404 and 500 pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind-4 committed Sep 29, 2023
1 parent d625baf commit b586aa5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
21 changes: 21 additions & 0 deletions templates/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{% extends 'base.html' %}
{% load static %}

{% block title %} Ideas | Error {% endblock %}

{% block content %}

<div class="d-flex align-items-center justify-content-center vh-100">
<div class="text-center">
<h1 class="display-1 fw-bold text-light">404</h1>
<p class="fs-3"> <span class="text-danger">Opps!</span><span class="text-light">
Page not found.
</span></span></p>
<p class="lead text-light">
The page you're looking for doesn't exist.
</p>
<a href="/" class="btn btn-primary">Go Home</a>
</div>
</div>

{% endblock %}
23 changes: 23 additions & 0 deletions templates/500.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{% extends 'base.html' %}
{% load static %}

{% block title %} Ideas | Error {% endblock %}

{% block content %}

<div class="d-flex align-items-center justify-content-center vh-100">
<div class="text-center">
<h1 class="display-1 fw-bold text-light">500</h1>
<p class="fs-3"> <span class="text-danger">Opps!</span><span class="text-light">
Problem with the server.
</span></span></p>
<p class="lead text-light">
We are working on it.
</p>
<a href="/" class="btn btn-primary">
Return to Home
</a>
</div>
</div>

{% endblock %}

0 comments on commit b586aa5

Please sign in to comment.