docs: open collective, sponsors

- drop open collective banner height, sometimes cuts off image

- use grid cards for sponsors

- hide navigation on both for more screen space
This commit is contained in:
zowoq 2025-01-18 09:21:28 +10:00 committed by Jonas Chevalier
parent c396cb1c79
commit 68e63dba62
5 changed files with 34 additions and 10 deletions

View file

@ -63,6 +63,7 @@
];
excludes = [
"config.yaml"
"docs/sponsors.md"
"*secrets.yaml"
"modules/secrets/*.yaml"
];

View file

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View file

@ -1,8 +1,8 @@
<style>
div.opencollective-banner > iframe {
height: 700px;
}
</style>
---
hide:
- navigation
---
<noscript>
<a href="https://opencollective.com/nix-community">https://opencollective.com/nix-community</a>
</noscript>

View file

@ -1,7 +1,28 @@
---
hide:
- navigation
---
Thanks to all our sponsors.
<!-- prettier-ignore-start -->
|[<img src="https://raw.githubusercontent.com/cachix/docs.cachix.org/master/source/logo.png" width="200" alt="Cachix">](https://cachix.org)|[<img src="https://raw.githubusercontent.com/Gandi/.github/b1f21a402d9223c672476b41148429f538be5303/logos/black.svg" width="200" alt="Gandi">](https://www.gandi.net/)|[<img src="../Logo_namespace_filled_lightbg.png" width="200" alt="Namespace">](https://cloud.namespace.so)|
|:-:|:-:|:-:|
|Cachix provides us with 1TB of free cache.|Gandi provides us with a free domain and a virtual private server.|Namespace provides us with faster GitHub runners, including ARM64.|
<!-- prettier-ignore-end -->
<div style="text-align:center" class="grid cards" markdown>
- [<img src="https://raw.githubusercontent.com/cachix/docs.cachix.org/master/source/logo.png" width="250" alt="Cachix">](https://cachix.org)
---
Cachix provides us with 1TB of free cache.
- [<img src="https://raw.githubusercontent.com/Gandi/.github/b1f21a402d9223c672476b41148429f538be5303/logos/black.svg" width="250" alt="Gandi">](https://www.gandi.net/)
---
Gandi provides us with a free domain and a virtual private server.
- [<img src="../logo_namespace_filled_lightbg.png" width="250" alt="Namespace">](https://cloud.namespace.so)
---
Namespace provides us with faster GitHub runners, including ARM64.
</div>

View file

@ -35,6 +35,8 @@ theme:
repo: fontawesome/brands/github
markdown_extensions:
- attr_list
- md_in_html
- toc:
toc_depth: 0