From d2db730ca39d2f2fe15e210d50ab1bf2f430c632 Mon Sep 17 00:00:00 2001 From: BobChao87 Date: Tue, 22 Feb 2022 01:33:57 -0800 Subject: [PATCH] Initial donations page Related to Issue #42 --- components/marathon/donation/List.vue | 109 +++++++++++++++++++++++++ components/marathon/donation/Row.vue | 34 ++++++++ pages/marathon/_marathon/donations.vue | 12 ++- 3 files changed, 154 insertions(+), 1 deletion(-) create mode 100644 components/marathon/donation/List.vue create mode 100644 components/marathon/donation/Row.vue diff --git a/components/marathon/donation/List.vue b/components/marathon/donation/List.vue new file mode 100644 index 00000000..2a9d0523 --- /dev/null +++ b/components/marathon/donation/List.vue @@ -0,0 +1,109 @@ + + + + + diff --git a/components/marathon/donation/Row.vue b/components/marathon/donation/Row.vue new file mode 100644 index 00000000..274a949e --- /dev/null +++ b/components/marathon/donation/Row.vue @@ -0,0 +1,34 @@ + + + diff --git a/pages/marathon/_marathon/donations.vue b/pages/marathon/_marathon/donations.vue index b72805bb..c19e3358 100644 --- a/pages/marathon/_marathon/donations.vue +++ b/pages/marathon/_marathon/donations.vue @@ -1,6 +1,10 @@ @@ -9,6 +13,12 @@ import Vue from 'vue'; import { MetaInfo } from 'vue-meta'; export default Vue.extend({ + data() { + return { + marathonId: this.$route.params.marathon, + }; + }, + head(): MetaInfo { return { title: this.$t('marathon.donations.title') as string,