feat: add error pages

This commit is contained in:
2024-01-18 21:57:13 +01:00
parent 476cc641e5
commit 0efd5343e3
3 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{% extends 'base.html.twig' %}
{% block body %}
<p>
<div class="container">
<div style="text-align: center;">
<h1>{{ "page not found" | trans }}</h1>
<a href="{{ path('homepage') }}">{{ "return to the homepage" | trans }}</a>
</div>
</div>
</p>
{% endblock %}

View File

@@ -0,0 +1,13 @@
{% extends 'base.html.twig' %}
{% block body %}
<p>
<div class="container">
<div style="text-align: center;">
<h1>{{ "internal server error" | trans }}</h1>
{{ "our developers are doing their best to fix it. please try again later." | trans }}
<a href="{{ path('homepage') }}">{{ "return to the homepage" | trans }}</a>
</div>
</div>
</p>
{% endblock %}