Skip to content

Commit

Permalink
feat: set up banner for shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
crewalsh committed Dec 19, 2024
1 parent 0308baa commit 7a3d1f9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ group :jekyll_plugins do
gem "jekyll-include-cache"
gem "jekyll-algolia"
end

gem "webrick", "~> 1.9"
8 changes: 8 additions & 0 deletions _includes/shutdown_banner.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<link rel="stylesheet" href="{{ '/assets/css/main2.css' | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/css/custom.css' | relative_url }}">

<div class="shutdown-banner">
<p>Due to a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted.</p>
<p>The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit <a href="http://cc.nih.gov">http://cc.nih.gov.</a></p>
<p> Updates regarding government operating status and resumption of normal operations can be found at <a href="http://USA.gov">http://USA.gov.</a></p>
</div>
9 changes: 9 additions & 0 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,12 @@ gap:20px;
margin-bottom: 0em;
}

.shutdown-banner{
text-align: center;
font-weight:bold;
padding: 20px 20px;
margin:10px;
background-color: rgb(161, 199, 225);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

0 comments on commit 7a3d1f9

Please sign in to comment.