From 1f7bd5a85343f9062dc310bb1047b78ea885323f Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Sat, 1 Feb 2020 17:14:03 +0100 Subject: [PATCH] feat: update layout to add season select --- client/src/components/Match/Match.vue | 8 ++- .../src/components/Summoner/FilterSeason.vue | 48 +++++++++++++++ .../src/components/Summoner/HeaderLoader.vue | 2 +- .../Summoner/Overview/OverviewLoader.vue | 5 +- client/src/layouts/Default.vue | 60 +++++++++++-------- client/src/store/modules/summoner.js | 3 + client/src/views/Summoner.vue | 3 +- client/src/views/SummonerChampions.vue | 2 +- client/src/views/SummonerRecords.vue | 4 +- client/tailwind.config.js | 2 +- 10 files changed, 102 insertions(+), 35 deletions(-) create mode 100644 client/src/components/Summoner/FilterSeason.vue diff --git a/client/src/components/Match/Match.vue b/client/src/components/Match/Match.vue index bd2695d..f490d33 100644 --- a/client/src/components/Match/Match.vue +++ b/client/src/components/Match/Match.vue @@ -3,8 +3,8 @@
@@ -169,6 +169,10 @@ export default { type: Object, required: true }, + indexMatch: { + type: Number, + default: -1, + } }, data() { diff --git a/client/src/components/Summoner/FilterSeason.vue b/client/src/components/Summoner/FilterSeason.vue new file mode 100644 index 0000000..108665d --- /dev/null +++ b/client/src/components/Summoner/FilterSeason.vue @@ -0,0 +1,48 @@ + + + diff --git a/client/src/components/Summoner/HeaderLoader.vue b/client/src/components/Summoner/HeaderLoader.vue index e5da336..168afa1 100644 --- a/client/src/components/Summoner/HeaderLoader.vue +++ b/client/src/components/Summoner/HeaderLoader.vue @@ -1,5 +1,5 @@ + @@ -110,6 +118,7 @@