feat: styled error page

This commit is contained in:
Björn Fromme committed 2025-03-11 08:16:51 +01:00
1 parent ad912f73f5
commit 778d79fd23
2 files changed
+20

No files matched your search

@@ -0,0 +1,7 @@
import { Controller } from '@hotwired/stimulus'
export default class extends Controller {
navigateBack() {
window.history.back()
}
}
@@ -0,0 +1,13 @@
{% extends 'layout.html.twig' %}
{% block content %}
<h1 class="text-2xl font-semibold pb-2">
Oops...
</h1>
<p class="pb-8">
Da ist etwas schiefgelaufen. Wir haben uns Notizen gemacht und kümmern uns schnellstmöglich darum.
</p>
<button type="button" class="button bg-button" {{ stimulus_controller('backbutton') }} {{ stimulus_action('backbutton', 'navigateBack') }}>
zurück
</button>
{% endblock %}