From: Marcelo Trylesinski Date: Wed, 21 Jul 2021 12:10:47 +0000 (+0200) Subject: 🎨 Improve style for sponsors, add radius border (#2388) X-Git-Tag: 0.67.0~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc35b7d18d86cc223df165e87ab93b2a25c9bdf8;p=thirdparty%2Ffastapi%2Ffastapi.git 🎨 Improve style for sponsors, add radius border (#2388) Co-authored-by: Sebastián Ramírez --- diff --git a/docs/de/docs/index.md b/docs/de/docs/index.md index 3b8bb6371a..95fb7ae212 100644 --- a/docs/de/docs/index.md +++ b/docs/de/docs/index.md @@ -50,10 +50,10 @@ The key features are: {% if sponsors %} {% for sponsor in sponsors.gold -%} - + {% endfor -%} {%- for sponsor in sponsors.silver -%} - + {% endfor %} {% endif %} diff --git a/docs/en/docs/fastapi-people.md b/docs/en/docs/fastapi-people.md index e38c31c3df..ce8ea38875 100644 --- a/docs/en/docs/fastapi-people.md +++ b/docs/en/docs/fastapi-people.md @@ -118,7 +118,7 @@ They are supporting my work with **FastAPI** (and others), mainly through + {% endfor %} {% endif %} @@ -126,7 +126,7 @@ They are supporting my work with **FastAPI** (and others), mainly through + {% endfor %} {% endif %} @@ -134,7 +134,7 @@ They are supporting my work with **FastAPI** (and others), mainly through + {% endfor %} {% endif %} diff --git a/docs/en/docs/index.md b/docs/en/docs/index.md index 82e8a9fcad..33aadb8ef6 100644 --- a/docs/en/docs/index.md +++ b/docs/en/docs/index.md @@ -46,10 +46,10 @@ The key features are: {% if sponsors %} {% for sponsor in sponsors.gold -%} - + {% endfor -%} {%- for sponsor in sponsors.silver -%} - + {% endfor %} {% endif %} diff --git a/docs/es/docs/index.md b/docs/es/docs/index.md index 0365847450..65eaf75d0c 100644 --- a/docs/es/docs/index.md +++ b/docs/es/docs/index.md @@ -39,13 +39,16 @@ Sus características principales son: * Esta estimación está basada en pruebas con un equipo de desarrollo interno contruyendo aplicaciones listas para producción. -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/fr/docs/fastapi-people.md b/docs/fr/docs/fastapi-people.md index 35d680df94..ac6e198313 100644 --- a/docs/fr/docs/fastapi-people.md +++ b/docs/fr/docs/fastapi-people.md @@ -114,6 +114,46 @@ Ce sont les **Sponsors**. 😎 Ils soutiennent mon travail avec **FastAPI** (et d'autres) avec GitHub Sponsors. +### Gold Sponsors + +{% if sponsors %} +{% for sponsor in sponsors.gold -%} + +{% endfor %} +{% endif %} + +### Silver Sponsors + +{% if sponsors %} +{% for sponsor in sponsors.silver -%} + +{% endfor %} +{% endif %} + +### Bronze Sponsors + +{% if sponsors %} +{% for sponsor in sponsors.bronze -%} + +{% endfor %} +{% endif %} + +### Individual Sponsors + +{% if people %} +{% if people.sponsors_50 %} + +
+{% for user in people.sponsors_50 %} + + +{% endfor %} + +
+ +{% endif %} +{% endif %} + {% if people %}
{% for user in people.sponsors %} diff --git a/docs/fr/docs/index.md b/docs/fr/docs/index.md index 9cc706c43c..40e6dfdff4 100644 --- a/docs/fr/docs/index.md +++ b/docs/fr/docs/index.md @@ -44,13 +44,16 @@ The key features are: * estimation based on tests on an internal development team, building production applications. -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/id/docs/index.md b/docs/id/docs/index.md index edc19fa480..95fb7ae212 100644 --- a/docs/id/docs/index.md +++ b/docs/id/docs/index.md @@ -44,13 +44,16 @@ The key features are: * estimation based on tests on an internal development team, building production applications. -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/it/docs/index.md b/docs/it/docs/index.md index 318acc413e..c52f07e597 100644 --- a/docs/it/docs/index.md +++ b/docs/it/docs/index.md @@ -44,13 +44,16 @@ The key features are: * estimation based on tests on an internal development team, building production applications. -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/ja/docs/fastapi-people.md b/docs/ja/docs/fastapi-people.md index b284698b69..1d263449af 100644 --- a/docs/ja/docs/fastapi-people.md +++ b/docs/ja/docs/fastapi-people.md @@ -119,7 +119,7 @@ FastAPIには、様々なバックグラウンドの人々を歓迎する素晴 {% if sponsors %} {% for sponsor in sponsors.gold -%} - + {% endfor %} {% endif %} @@ -127,15 +127,23 @@ FastAPIには、様々なバックグラウンドの人々を歓迎する素晴 {% if sponsors %} {% for sponsor in sponsors.silver -%} - + {% endfor %} {% endif %} +### Bronze Sponsors + +{% if sponsors %} +{% for sponsor in sponsors.bronze -%} + +{% endfor %} +{% endif %} + +### Individual Sponsors + {% if people %} {% if people.sponsors_50 %} -### Bronze Sponsors -
{% for user in people.sponsors_50 %} @@ -147,8 +155,6 @@ FastAPIには、様々なバックグラウンドの人々を歓迎する素晴 {% endif %} {% endif %} -### Individual Sponsors - {% if people %}
{% for user in people.sponsors %} diff --git a/docs/ja/docs/index.md b/docs/ja/docs/index.md index 87dac88322..229361503b 100644 --- a/docs/ja/docs/index.md +++ b/docs/ja/docs/index.md @@ -40,13 +40,16 @@ FastAPI は、Pythonの標準である型ヒントに基づいてPython 3.6 以 \* 本番アプリケーションを構築している開発チームのテストによる見積もり。 -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/ko/docs/index.md b/docs/ko/docs/index.md index 71533f5eba..ee3edded6e 100644 --- a/docs/ko/docs/index.md +++ b/docs/ko/docs/index.md @@ -46,7 +46,10 @@ FastAPI는 현대적이고, 빠르며(고성능), 파이썬 표준 타입 힌트 {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/pl/docs/index.md b/docs/pl/docs/index.md index edc19fa480..95fb7ae212 100644 --- a/docs/pl/docs/index.md +++ b/docs/pl/docs/index.md @@ -44,13 +44,16 @@ The key features are: * estimation based on tests on an internal development team, building production applications. -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/pt/docs/index.md b/docs/pt/docs/index.md index 97ca5a0563..63f1f88fe9 100644 --- a/docs/pt/docs/index.md +++ b/docs/pt/docs/index.md @@ -39,13 +39,16 @@ Os recursos chave são: * estimativas baseadas em testes realizados com equipe interna de desenvolvimento, construindo aplicações em produção. -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/ru/docs/index.md b/docs/ru/docs/index.md index c5dac9c392..0c2506b872 100644 --- a/docs/ru/docs/index.md +++ b/docs/ru/docs/index.md @@ -44,13 +44,16 @@ The key features are: * estimation based on tests on an internal development team, building production applications. -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/sq/docs/index.md b/docs/sq/docs/index.md index edc19fa480..95fb7ae212 100644 --- a/docs/sq/docs/index.md +++ b/docs/sq/docs/index.md @@ -44,13 +44,16 @@ The key features are: * estimation based on tests on an internal development team, building production applications. -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/tr/docs/index.md b/docs/tr/docs/index.md index 2614719613..282e2b603c 100644 --- a/docs/tr/docs/index.md +++ b/docs/tr/docs/index.md @@ -44,13 +44,16 @@ The key features are: * estimation based on tests on an internal development team, building production applications. -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/uk/docs/index.md b/docs/uk/docs/index.md index edc19fa480..95fb7ae212 100644 --- a/docs/uk/docs/index.md +++ b/docs/uk/docs/index.md @@ -44,13 +44,16 @@ The key features are: * estimation based on tests on an internal development team, building production applications. -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %} diff --git a/docs/zh/docs/fastapi-people.md b/docs/zh/docs/fastapi-people.md index 080af2ee67..ea239e6cab 100644 --- a/docs/zh/docs/fastapi-people.md +++ b/docs/zh/docs/fastapi-people.md @@ -116,20 +116,33 @@ FastAPI 有一个非常棒的社区,它欢迎来自各个领域和背景的朋 ### 金牌赞助商 -{% if sponsors %} {% for sponsor in sponsors.gold -%} - -{% endfor %} {% endif %} +{% if sponsors %} +{% for sponsor in sponsors.gold -%} + +{% endfor %} +{% endif %} ### 银牌赞助商 -{% if sponsors %} {% for sponsor in sponsors.silver -%} - -{% endfor %} {% endif %} - -{% if people %} {% if people.sponsors_50 %} +{% if sponsors %} +{% for sponsor in sponsors.silver -%} + +{% endfor %} +{% endif %} ### 铜牌赞助商 +{% if sponsors %} +{% for sponsor in sponsors.bronze -%} + +{% endfor %} +{% endif %} + +### 个人赞助 + +{% if people %} +{% if people.sponsors_50 %} +
{% for user in people.sponsors_50 %} @@ -138,9 +151,8 @@ FastAPI 有一个非常棒的社区,它欢迎来自各个领域和背景的朋
-{% endif %} {% endif %} - -### 个人赞助 +{% endif %} +{% endif %} {% if people %}
diff --git a/docs/zh/docs/index.md b/docs/zh/docs/index.md index 0c73578aab..85707e5736 100644 --- a/docs/zh/docs/index.md +++ b/docs/zh/docs/index.md @@ -40,13 +40,16 @@ FastAPI 是一个用于构建 API 的现代、快速(高性能)的 web 框 * 根据对某个构建线上应用的内部开发团队所进行的测试估算得出。 -## Gold Sponsors +## Sponsors {% if sponsors %} {% for sponsor in sponsors.gold -%} - + +{% endfor -%} +{%- for sponsor in sponsors.silver -%} + {% endfor %} {% endif %}