From 4f02a5bac0b12f89cfa95e8effc65d5b9cdad732 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Thu, 31 Dec 2020 16:33:08 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=96=BC=20new=20icons=20+=20i18n=20for=20c?= =?UTF-8?q?ard=20titles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ref #10 --- src/components/StatCards.svelte | 69 ++++++++++++++++++++++++++------- src/locales/en.json | 4 +- 2 files changed, 58 insertions(+), 15 deletions(-) diff --git a/src/components/StatCards.svelte b/src/components/StatCards.svelte index 281dce7a..ba472f1d 100644 --- a/src/components/StatCards.svelte +++ b/src/components/StatCards.svelte @@ -28,22 +28,14 @@ {$_('runners')}
{stats.total_runners}
- + - - - + xmlns="http://www.w3.org/2000/svg" + viewBox="0 0 24 24"> + @@ -111,6 +103,55 @@ +
+
+
+
+
+ {$_('count_teams')} +
+
{stats.total_teams}
+
+ + + + +
+
+
+
+
+
+
+
+ {$_('count_organizations')} +
+
{stats.total_orgs}
+
+ + +
+
+
{:catch error}
diff --git a/src/locales/en.json b/src/locales/en.json index 4e70c553..a4d59e4e 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -48,6 +48,8 @@ "by": "by", "lfk-is-os": "The \"Lauf für Kaya!\" Frontend is (like all other projects for the \"LfK!\" Also) an open source project.", "oss_credit_description": "We use a lot of open source software on these projects, and would like to thank the following projects and contributors who help make open source great!", - "credits": "Credits" + "credits": "Credits", + "count_organizations": "# Organizations", + "count_teams": "# Teams", "general_promise_error": "😢 Error" }