Skip to content

Commit

Permalink
Update footer to include privacy information
Browse files Browse the repository at this point in the history
Include SMRX image in bonus text itself
  • Loading branch information
paulmelis committed Jan 31, 2024
1 parent e22a113 commit 70b0436
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 45 deletions.
6 changes: 5 additions & 1 deletion docs/bonus.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Bonus Exercise - A stationary fluid mixer

You should now have gained enough ParaView skills in order to re-create the visualization on the [Home](../) page of these course notes. The visualization shows a so-called static (or stationary) mixer. In such a mixer two fluids enter separated on one side and exit mixed on the other side. The basis for the visualization is the data file __SMRX.vtk__.
You should now have gained enough ParaView skills in order to re-create the visualization on the [Home](index.md) page of these course notes:

![](images/smrx.png){ width=600 }

The visualization shows a so-called static (or stationary) mixer. In such a mixer two fluids enter separated on one side and exit mixed on the other side. The basis for the visualization is the data file __SMRX.vtk__.

Good luck!

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ These is the hands-on part of our introductory course of scientific visualizatio

## Authors

* Paul Melis, Casper van Leeuwen (SURF)
* Paul Melis & Casper van Leeuwen (SURF)
* Robert Belleman (University of Amsterdam)

## Conventions
Expand Down
15 changes: 15 additions & 0 deletions docs/privacy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Privacy and cookie statement

## Privacy

No personal information is gathered by SURF of visitors to this course website.

## Cookies

No cookies are used for the content published by SURF on this website, nor is any personal information about visits tracked by SURF.

The underlying MkDocs content generation system uses the browser's session storage for storing general site-map data (called `/blender-course/.__sitemap`), which is sometimes reported as a cookie.

## Third-party cookies

This website is hosted through GitHub Pages, which might set third-party cookies in which case explicit permission needs to be granted by the user. See [here](https://docs.github.com/en/site-policy/privacy-policies/github-cookies) for the GitHub privacy policy.
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ nav:
- exercise3.md
- bonus.md

copyright: Copyright © 2018-2021 SURF
copyright: Copyright © 2018-2024 SURF
16 changes: 16 additions & 0 deletions theme_overrides/partials/copyright.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{#-
This file was automatically generated - do not edit
-#}
<div class="md-copyright">
{% if config.copyright %}
<div class="md-copyright__highlight">
{{ config.copyright }} &bullet; <a href={{ "privacy" | url }}> Privacy Information</a>
</div>
{% endif %}
{% if not config.extra.generator == false %}
Made with
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
Material for MkDocs
</a>
{% endif %}
</div>
84 changes: 42 additions & 42 deletions theme_overrides/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
{#-
This file was automatically generated - do not edit
-#}
{% import "partials/language.html" as lang with context %}
<footer class="md-footer">
{% if page.previous_page or page.next_page %}
<nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer.title') }}">
{% if page.previous_page %}
<a href="{{ page.previous_page.url | url }}" class="md-footer__link md-footer__link--prev" rel="prev">
<div class="md-footer__button md-icon">
{% include ".icons/material/arrow-left.svg" %}
</div>
<div class="md-footer__title">
<div class="md-ellipsis">
{% if "navigation.footer" in features %}
{% if page.previous_page or page.next_page %}
{% if page.meta and page.meta.hide %}
{% set hidden = "hidden" if "footer" in page.meta.hide %}
{% endif %}
<nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer') }}" {{ hidden }}>
{% if page.previous_page %}
{% set direction = lang.t("footer.previous") %}
<a href="{{ page.previous_page.url | url }}" class="md-footer__link md-footer__link--prev" aria-label="{{ direction }}: {{ page.previous_page.title | e }}" rel="prev">
<div class="md-footer__button md-icon">
{% set icon = config.theme.icon.previous or "material/arrow-left" %}
{% include ".icons/" ~ icon ~ ".svg" %}
</div>
<div class="md-footer__title">
<span class="md-footer__direction">
{{ lang.t("footer.previous") }}
{{ direction }}
</span>
{{ page.previous_page.title }}
<div class="md-ellipsis">
{{ page.previous_page.title }}
</div>
</div>
</div>
</a>
{% endif %}
{% if page.next_page %}
<a href="{{ page.next_page.url | url }}" class="md-footer__link md-footer__link--next" rel="next">
<div class="md-footer__title">
<div class="md-ellipsis">
</a>
{% endif %}
{% if page.next_page %}
{% set direction = lang.t("footer.next") %}
<a href="{{ page.next_page.url | url }}" class="md-footer__link md-footer__link--next" aria-label="{{ direction }}: {{ page.next_page.title | e }}" rel="next">
<div class="md-footer__title">
<span class="md-footer__direction">
{{ lang.t("footer.next") }}
{{ direction }}
</span>
{{ page.next_page.title }}
<div class="md-ellipsis">
{{ page.next_page.title }}
</div>
</div>
</div>
<div class="md-footer__button md-icon">
{% include ".icons/material/arrow-right.svg" %}
</div>
</a>
{% endif %}
</nav>
<div class="md-footer__button md-icon">
{% set icon = config.theme.icon.next or "material/arrow-right" %}
{% include ".icons/" ~ icon ~ ".svg" %}
</div>
</a>
{% endif %}
</nav>
{% endif %}
{% endif %}
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
<div class="md-footer-copyright">
{% if config.copyright %}
<div class="md-footer-copyright__highlight">
{{ config.copyright }}
</div>
{% endif %}
Made with
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
Material for MkDocs
</a>
{% block extracopyright %}{% endblock %}
</div>
<a href="https://www.surf.nl/en/visualisation-more-insight-into-your-data"><img style="height:48px" src={{ "images/surf-logo.svg" | url }}></a>
<a href="http://visualisationlab.science.uva.nl/"><img style="height:48px" src={{ "images/uva-logo.png" | url }}></a>
{% include "partials/copyright.html" %}
<a href="https://www.surf.nl/en/visualisation-more-insight-into-your-data"><img style="height:48px" src={{ "images/surf-logo.svg" | url }}></a>
<a href="http://visualisationlab.science.uva.nl/"><img style="height:48px" src={{ "images/uva-logo.png" | url }}></a>
{% if config.extra.social %}
{% include "partials/social.html" %}
{% endif %}
<span style="; font-size:75%"><a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>.</span>
</div>
</div>
</footer>

0 comments on commit 70b0436

Please sign in to comment.