From 20ee0c1a9efe588a8a24d47cc345c24e76c02e6f Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Tue, 22 Dec 2020 18:06:19 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20sample=20card=20layout=20+=20dat?= =?UTF-8?q?a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/StatCards.svelte | 60 ++++++++++++++------------------- src/locales/en.json | 6 +++- 2 files changed, 31 insertions(+), 35 deletions(-) diff --git a/src/components/StatCards.svelte b/src/components/StatCards.svelte index 1f10672b..b4dab96a 100644 --- a/src/components/StatCards.svelte +++ b/src/components/StatCards.svelte @@ -1,3 +1,7 @@ + +
@@ -5,8 +9,10 @@ class="widget w-full p-4 rounded-lg bg-white border border-grey-100 dark:bg-grey-895 dark:border-grey-890">
-
Users
-
588
+
+ {$_('runners')} +
+
69
-
Sessions
-
435
+
+ {$_('total-scans')} +
+
1500
- Bounce rate + {$_('total-donations')}
-
40.5%
+
5000,00 €
- - + width="24"> +
@@ -82,22 +81,15 @@
- Session duration + {$_('total-distance')}
-
1m 24s
-
- +
100.0 km
+
+ +
diff --git a/src/locales/en.json b/src/locales/en.json index c25c6928..37246660 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -24,5 +24,9 @@ "dont-panic-were-resetting-it": "Don't panic, we're resetting it ✌", "e-mail-adress": "E-Mail Adress", "mail-validation-in-progress": "mail validation in progress...", - "invalid-mail-reset": "the provided email is invalid" + "invalid-mail-reset": "the provided email is invalid", + "runners": "runners", + "total-scans": "total scans", + "total-donations": "total donations", + "total-distance": "total distance" }