From 95bab9affad11ca8e3faceb2129ffdcad07b9748 Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Fri, 20 Sep 2019 23:32:28 +0200 Subject: [PATCH] feat: add the 10 participants of each match --- client/src/assets/css/base.css | 4 + client/src/assets/img/icons/Stopwatch.svg | 3 + client/src/components/Match.vue | 53 ++- client/src/helpers/functions.js | 10 +- client/src/helpers/summoner.js | 72 ++-- client/src/store/index.js | 3 +- client/tailwind.config.js | 397 ++++++++++++---------- 7 files changed, 324 insertions(+), 218 deletions(-) create mode 100644 client/src/assets/img/icons/Stopwatch.svg diff --git a/client/src/assets/css/base.css b/client/src/assets/css/base.css index e3149af..8edf202 100644 --- a/client/src/assets/css/base.css +++ b/client/src/assets/css/base.css @@ -18,3 +18,7 @@ button:focus { .bg-gradient { background: linear-gradient(180deg, #2C5282 0%, rgba(44, 82, 130, 0) 100%); } + +.text-overflow { + text-overflow: ellipsis; +} \ No newline at end of file diff --git a/client/src/assets/img/icons/Stopwatch.svg b/client/src/assets/img/icons/Stopwatch.svg new file mode 100644 index 0000000..2d54a0b --- /dev/null +++ b/client/src/assets/img/icons/Stopwatch.svg @@ -0,0 +1,3 @@ + + + diff --git a/client/src/components/Match.vue b/client/src/components/Match.vue index ad57a00..2c195bf 100644 --- a/client/src/components/Match.vue +++ b/client/src/components/Match.vue @@ -6,7 +6,7 @@
{{ data.champ }}
+ >{{ data.champion.name }}
@@ -15,11 +15,13 @@ class="w-10 h-10 bg-center bg-cover" :style="{backgroundImage: `url(${require('@/assets/img/roles/' + data.role + '.png')})`}" >
-
LVL {{ data.level }}
+
LVL {{ data.level }}
-
- @@ -113,7 +144,7 @@ -