Skip to content

Commit

Permalink
New site banner (#24)
Browse files Browse the repository at this point in the history
* New site banner

Added file and edited mkdocs.yml to add the banner that announces the new website.

---------

Co-authored-by: Anthony Galassi <[email protected]>
  • Loading branch information
iamdamion and bendhouseart authored Jun 18, 2024
1 parent 7e1d78c commit 336dbde
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ nav:

theme:
name: material
custom_dir: docs/overrides # - allows use of the uverride/main.html file
favicon: images/favicon.png
logo: images/logo.png
features:
- navigation.top
- content.action.edit
- announce.dismiss # allows for closing banner
icon:
repo: fontawesome/brands/github
edit: material/pencil
Expand Down
29 changes: 29 additions & 0 deletions overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{% extends "base.html" %}

{% block announce %}
<div>
<style>
.announcement {
display: grid;
place-items: center;
text-align: center;
padding: 0;
margin: 0
}
</style>
<div class="announcement">

<h2><b>THIS SITE IS BEING MERGED</b><br></h2>

<h3>
The BIDS group is currently finalizing a NEW main website that will merge our existing websites into one central, easy to navigate resource. <br>
The <b><a href="https://bids-website.readthedocs.io" target="_blank">New BIDS Website</a> (https://bids-website.readthedocs.io)</b>
is still being finalized, but we encourage feedback via the <br>
giscus form on the bottom of the main page. <br>
</h3>

Please feel free to submit suggestions or comments as we improve and consolidate our existing BIDS resources.

</div>
</div>
{% endblock %}

0 comments on commit 336dbde

Please sign in to comment.