feat: custom error pages
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{% extends 'layout.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="text-2xl font-bold pb-8">
|
||||
Oups... Ein Fehler ist aufgetreten
|
||||
</h1>
|
||||
<p class="mb-8">
|
||||
Wir haben uns ein paar Notizen dazu gemacht und werden das Problem so schnell wie möglich beseitigen.
|
||||
</p>
|
||||
<a class="btn" href="{{ path('app_security_login') }}">
|
||||
nochmal von vorne
|
||||
</a>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,13 @@
|
||||
{% extends 'layout.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="text-2xl font-bold pb-8">
|
||||
Oups... Ein Fehler ist aufgetreten
|
||||
</h1>
|
||||
<p class="mb-8">
|
||||
Die von dir aufgerufene Seite können wir leider nicht (mehr) finden.
|
||||
</p>
|
||||
<a class="btn" href="{{ path('app_security_login') }}">
|
||||
nochmal von vorne
|
||||
</a>
|
||||
{% endblock %}
|
||||
@@ -3,9 +3,10 @@
|
||||
{% block body %}
|
||||
<div class="container lg:grid lg:grid-cols-4 gap-8 py-8">
|
||||
<div class="lg:col-span-4 flex items-center justify-between pb-4 lg:pb-0">
|
||||
<a href="{{ path(app.user.defaultRoute) }}">
|
||||
<a href="{{ path(app.user ? app.user.defaultRoute : 'app_security_login') }}">
|
||||
<img class="h-8 w-auto" src="{{ asset('build/images/logo.svg') }}" alt="My E&P Team">
|
||||
</a>
|
||||
{% if app.user %}
|
||||
<div class="flex items-center space-x-4">
|
||||
{% if app.user.teamer.photo %}
|
||||
<a href="{{ path('app_teamer_profile_index') }}" title="Mein Profil">
|
||||
@@ -21,6 +22,7 @@
|
||||
{{ icon('menu', 'w-8 h-8 text-gray-700') }}
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="hidden lg:block">
|
||||
{% block main_menu %}{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user