diff --git a/resources/docs/docs/credits.md b/resources/docs/docs/credits.md index a96eecfb..01585624 100644 --- a/resources/docs/docs/credits.md +++ b/resources/docs/docs/credits.md @@ -10,11 +10,3 @@ Open Stage Control relies on several other free softwares, including [Node.js](h ## Contributors https://github.com/jean-emmanuel/open-stage-control/graphs/contributors - ----- - -
-[![BrowserStack](/img/logo-browserstack.png)](http://browserstack.com/) -
- -BrowserStack supports Open Stage Control by providing a complete suite of browser emulators for Android, iOS and Windows. diff --git a/resources/docs/donate.md b/resources/docs/donate.md new file mode 100644 index 00000000..9b1f7ef9 --- /dev/null +++ b/resources/docs/donate.md @@ -0,0 +1,37 @@ +## Support Open Stage Control + +If you would like to show your appreciation to Open Stage Control developer, you can donate to [AMMD](https://ammd.net/), a french nonprofit organization and independent music label that promotes free arts and free softwares. + +

Donate

+ +## Sponsors + +If you wish to be listed as a sponsor, please [contact me](mailto:jean-emmanuel@ammd.net). + +## Infrastructure Sponsors + +---- + + + +AMMD hosts this website and made this project possible by funding its first 2 years of development. + +---- + + + +Discourse provides the community forum. + +---- + + + +BrowserStack provides a complete suite of browser emulators for Android, iOS and Windows. + +---- diff --git a/resources/docs/img/logo-browserstack.png b/resources/docs/img/logo-browserstack.png deleted file mode 120000 index aa6a40e5..00000000 --- a/resources/docs/img/logo-browserstack.png +++ /dev/null @@ -1 +0,0 @@ -../../images/logo-browserstack.png \ No newline at end of file diff --git a/resources/docs/img/sponsors b/resources/docs/img/sponsors new file mode 120000 index 00000000..11038448 --- /dev/null +++ b/resources/docs/img/sponsors @@ -0,0 +1 @@ +../../images/sponsors/ \ No newline at end of file diff --git a/resources/images/sponsors/ammd.png b/resources/images/sponsors/ammd.png new file mode 100644 index 00000000..522ae9b5 Binary files /dev/null and b/resources/images/sponsors/ammd.png differ diff --git a/resources/images/logo-browserstack.png b/resources/images/sponsors/browserstack.png similarity index 100% rename from resources/images/logo-browserstack.png rename to resources/images/sponsors/browserstack.png diff --git a/resources/images/sponsors/discourse.png b/resources/images/sponsors/discourse.png new file mode 100644 index 00000000..d7ddcc83 Binary files /dev/null and b/resources/images/sponsors/discourse.png differ diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml index d12b1ef5..2a776b8f 100644 --- a/resources/mkdocs.yml +++ b/resources/mkdocs.yml @@ -24,11 +24,6 @@ extra: - title: Try online (requires chromium 50+) url : http://openstagecontrol.herokuapp.com - - - title: Donate - url: https://www.helloasso.com/associations/ammd/formulaires/2/widget/en - newtab: true - primary: true nav: - Open Stage Control: index.md @@ -47,6 +42,7 @@ nav: - Midi: docs/midi.md - Examples: docs/examples.md - Credits: docs/credits.md + - Donate: donate.md markdown_extensions: - markdown.extensions.admonition diff --git a/resources/src/scss/styles.scss b/resources/src/scss/styles.scss index 3766af48..76591be4 100644 --- a/resources/src/scss/styles.scss +++ b/resources/src/scss/styles.scss @@ -27,6 +27,11 @@ pre, code { font-family: $mono-font-family; } +hr { + border: 0; + border-top: 2px solid rgba(black, 0.15); +} + .dynamic-prop-icon { width:12px; height:12px; @@ -259,4 +264,9 @@ h1:first-child { } } +.sponsor-logo { + display:inline-block; + margin-top:20px; +} + @import 'mobile'; diff --git a/resources/theme/base.html b/resources/theme/base.html index 404e7e7b..412b7fc2 100644 --- a/resources/theme/base.html +++ b/resources/theme/base.html @@ -31,7 +31,8 @@ Home - Docs + Docs + Donate Bug Tracker Community @@ -57,7 +58,7 @@ {% endif %}
- {% if not page.is_homepage %} + {% if 'docs' in page.url %} {% set ns = namespace(navigation=[]) %} {% for nav_item in nav %} {% if nav_item.children %}