frontend error management enhancement
This commit is contained in:
33
app/templates/shop/errors/500.html
Normal file
33
app/templates/shop/errors/500.html
Normal file
@@ -0,0 +1,33 @@
|
||||
{% extends "shop/errors/base.html" %}
|
||||
|
||||
{% block icon %}😔{% endblock %}
|
||||
|
||||
{% block title %}500 - Something Went Wrong{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if vendor and theme and theme.branding and theme.branding.logo %}
|
||||
<img src="{{ theme.branding.logo }}" alt="{{ vendor.name }}" class="vendor-logo">
|
||||
{% endif %}
|
||||
|
||||
<div class="error-icon">😔</div>
|
||||
<div class="status-code">500</div>
|
||||
<div class="status-name">Oops! Something Went Wrong</div>
|
||||
<div class="error-message">
|
||||
We're experiencing technical difficulties. Our team has been notified and is working to fix the issue. Please try again in a few moments.
|
||||
</div>
|
||||
|
||||
<div class="action-buttons">
|
||||
<a href="/" class="btn btn-primary">Go to Home</a>
|
||||
<a href="javascript:location.reload()" class="btn btn-secondary">Try Again</a>
|
||||
</div>
|
||||
|
||||
<div class="support-link">
|
||||
Issue persisting? <a href="/contact">Let us know</a> and we'll help you out.
|
||||
</div>
|
||||
|
||||
{% if vendor %}
|
||||
<div class="vendor-info">
|
||||
{{ vendor.name }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user