Skip to content

Commit

Permalink
docs: open collective, sponsors
Browse files Browse the repository at this point in the history
- drop open collective banner height, sometimes cuts off image

- use grid cards for sponsors

- hide navigation on both for more screen space
  • Loading branch information
zowoq authored and zimbatm committed Jan 18, 2025
1 parent c396cb1 commit 68e63db
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 10 deletions.
1 change: 1 addition & 0 deletions dev/treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
];
excludes = [
"config.yaml"
"docs/sponsors.md"
"*secrets.yaml"
"modules/secrets/*.yaml"
];
Expand Down
File renamed without changes
10 changes: 5 additions & 5 deletions docs/open-collective.md
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
31 changes: 26 additions & 5 deletions docs/sponsors.md
Original file line number Diff line number Diff line change
@@ -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>
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ theme:
repo: fontawesome/brands/github

markdown_extensions:
- attr_list
- md_in_html
- toc:
toc_depth: 0

Expand Down

0 comments on commit 68e63db

Please sign in to comment.