From 6819cbe188dc0a05034da74f1d82b7b8ad7ccb66 Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Sun, 17 Nov 2019 17:26:36 +0100 Subject: [PATCH] feat: add ripple effect when clicking on matches --- client/src/components/Match/Match.vue | 9 ++- client/src/components/Ripple.vue | 110 ++++++++++++++++++++++++++ 2 files changed, 116 insertions(+), 3 deletions(-) create mode 100644 client/src/components/Ripple.vue diff --git a/client/src/components/Match/Match.vue b/client/src/components/Match/Match.vue index 8796bc6..0e0cb33 100644 --- a/client/src/components/Match/Match.vue +++ b/client/src/components/Match/Match.vue @@ -1,7 +1,8 @@ @@ -137,11 +138,13 @@ import { mapActions, mapState, mapGetters } from 'vuex' import DetailedMatch from '@/components/Match/DetailedMatch' import MatchItems from '@/components/Match/MatchItems' +import Ripple from '@/components/Ripple.vue' export default { components: { DetailedMatch, MatchItems, + Ripple, }, props: { diff --git a/client/src/components/Ripple.vue b/client/src/components/Ripple.vue new file mode 100644 index 0000000..4706b16 --- /dev/null +++ b/client/src/components/Ripple.vue @@ -0,0 +1,110 @@ + + + + +