Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance Banner for the Static Site #175

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/_includes/components/maintenance_banner.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{# For display from 2024/12/05 to 2024/12/10. #}
<section class="usa-alert usa-alert--warning margin-top-0" aria-label="Site alert">
<div class="usa-alert__body grid-container">
<h4 class="usa-alert__heading">Scheduled system maintenance</h4>
<p class="usa-alert__text">
FAC.gov will be performing maintenance on Tuesday, December 10, 2024 between 12:00 p.m. and 6:00 p.m ET.
During this period, the entire website will be unavailable.
</p>
</div>
</section>
1 change: 1 addition & 0 deletions src/_includes/layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
</head>

<body>
{% include 'components/maintenance_banner.njk' %}
{% include './components/usa-banner.njk' %}
{% include 'header.njk' %}
<main id="main-content">
Expand Down
Loading