feat: styled error page
This commit is contained in:
@@ -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 %}
|
||||
Reference in New Issue
Block a user