From fc35b7d18d86cc223df165e87ab93b2a25c9bdf8 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Wed, 21 Jul 2021 14:10:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Improve=20style=20for=20sponsors?= =?UTF-8?q?,=20add=20radius=20border=20(#2388)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sebastián Ramírez --- docs/de/docs/index.md | 4 ++-- docs/en/docs/fastapi-people.md | 6 ++--- docs/en/docs/index.md | 4 ++-- docs/es/docs/index.md | 7 ++++-- docs/fr/docs/fastapi-people.md | 40 ++++++++++++++++++++++++++++++++++ docs/fr/docs/index.md | 7 ++++-- docs/id/docs/index.md | 7 ++++-- docs/it/docs/index.md | 7 ++++-- docs/ja/docs/fastapi-people.md | 18 ++++++++++----- docs/ja/docs/index.md | 7 ++++-- docs/ko/docs/index.md | 5 ++++- docs/pl/docs/index.md | 7 ++++-- docs/pt/docs/index.md | 7 ++++-- docs/ru/docs/index.md | 7 ++++-- docs/sq/docs/index.md | 7 ++++-- docs/tr/docs/index.md | 7 ++++-- docs/uk/docs/index.md | 7 ++++-- docs/zh/docs/fastapi-people.md | 34 +++++++++++++++++++---------- docs/zh/docs/index.md | 7 ++++-- 19 files changed, 146 insertions(+), 49 deletions(-) diff --git a/docs/de/docs/index.md b/docs/de/docs/index.md index 3b8bb6371..95fb7ae21 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 e38c31c3d..ce8ea3887 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 82e8a9fca..33aadb8ef 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 036584745..65eaf75d0 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 35d680df9..ac6e19831 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 9cc706c43..40e6dfdff 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 edc19fa48..95fb7ae21 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 318acc413..c52f07e59 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 b284698b6..1d263449a 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 87dac8832..229361503 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 71533f5eb..ee3edded6 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 edc19fa48..95fb7ae21 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 97ca5a056..63f1f88fe 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 c5dac9c39..0c2506b87 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 edc19fa48..95fb7ae21 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 261471961..282e2b603 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 edc19fa48..95fb7ae21 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 080af2ee6..ea239e6ca 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 0c73578aa..85707e573 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 %}