fixing templates

This commit is contained in:
Beverly Nguyen
2025-04-17 15:04:50 -07:00
parent b4e239c9bb
commit 77e9475ed8
2 changed files with 9 additions and 13 deletions

View File

@@ -1,4 +1,12 @@
{% block content %}
<div class="usa-alert usa-alert--info usa-alert--slim" aria-label="Site alert,,,,">
<div class="grid-container padding-x-0">
<div class="usa-alert__body">
<p class="usa-alert__text">
We're currently having some technical issues. We're working on it and will be back soon. Thanks for your patience!
</p>
</div>
</div>
</div>
<section class="grid-container usa-section margin-top-5 margin-bottom-5">
<div class="grid-row flex-justify-center">
<div class="desktop:grid-col-3 tablet:grid-col-4 mobile:grid-col-12 flex-align-center">
@@ -16,4 +24,3 @@
</div>
</div>
</section>
{% endblock %}

View File

@@ -12,17 +12,6 @@ import usaButton %} {% block meta %}
{% block beforeContent %}{% endblock %}
<main id="main-content" role="main">
{% if is_api_down %}
<div class="usa-alert usa-alert--info usa-alert--slim" aria-label="Site alert,,,,">
<div class="grid-container padding-x-0">
<div class="usa-alert__body">
<p class="usa-alert__text">
We're currently having some technical issues. We're working on it and will be back soon. Thanks for your patience!
</p>
</div>
</div>
</div>
{% endif %}
{% block content %}
{% if is_api_down %}
{% include "error/technical_difficulties.html" %}