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

New site banner #24

Merged
merged 2 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
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 Wesbite</a> (https://bids-website.readthedocs.io)</b>
bendhouseart marked this conversation as resolved.
Show resolved Hide resolved
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 %}
Loading