snipette-crowdfunding-site/src/error.htm.twig
Hippo 5206046c5a Add friendly-looking notif and error pages
Much less scary than all that plaintext, what?
2022-01-06 18:20:50 +05:30

9 lines
557 B
Twig

{% extends "base.htm.twig" %}
{% block title %}Snipette Crowdfunding: Error{% endblock %}
{% block heading %}{{ title ?? 'Oh no!' }}{% endblock %}
{% block message %}
<p class="text-lg mb-8">{{ error ?? 'Something went wrong. Please <a href="javascript:history.go(-1)">go back</a> and try again. Sorry for the inconvenience 🙁' }}</p>
<a href="/" class="p-2 text-sm uppercase no-underline border-orange-700 text-orange-700 border-solid border-2 hover:cursor-pointer hover:border-orange-500 hover:text-orange-500 font-sans">Return home</a>
{% endblock %}