Skip to content

Commit 6332908

Browse files
committed
enh(donate): Accept donations via Wero
1 parent 215f1c6 commit 6332908

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

pages/donate.vue

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,41 @@
2828
<v-btn href="https://liberapay.com/marcelklehr/donate" class="mt-2 mr-2 col-lg-5">Liberapay</v-btn>
2929
<v-btn href="https://opencollective.com/floccus" class="mt-2 mr-2 col-lg-5">OpenCollective</v-btn>
3030
<v-btn href="https://www.paypal.com/donate/?hosted_button_id=R3SDCC7AFSYZU" class="mt-2 mr-2 col-lg-5">PayPal</v-btn>
31+
<v-dialog
32+
v-model="showWero"
33+
width="500"
34+
>
35+
<template #activator="{ on, attrs }">
36+
<v-btn class="mt-2 mr-2 col-lg-5" v-bind="attrs" @click="showWero = true" v-on="on">Wero</v-btn>
37+
</template>
38+
39+
<v-card>
40+
<v-card-title class="text-h5 grey lighten-2">
41+
Donate via Wero
42+
</v-card-title>
43+
44+
<v-card-text>
45+
You can scan this QR code with your Wero app to donate.
46+
</v-card-text>
47+
48+
<v-card-text>
49+
<v-img src="/wero-qr-code.svg" />
50+
</v-card-text>
51+
52+
<v-divider></v-divider>
53+
54+
<v-card-actions>
55+
<v-spacer></v-spacer>
56+
<v-btn
57+
color="primary"
58+
text
59+
@click="showWero = false"
60+
>
61+
Done
62+
</v-btn>
63+
</v-card-actions>
64+
</v-card>
65+
</v-dialog>
3166
<v-btn href="https://www.patreon.com/marcelklehr" class="mt-2 mr-2 col-lg-5">Patreon</v-btn>
3267
<v-btn href="https://ko-fi.com/marcelklehr" class="mt-2 mr-2 col-lg-5">Ko-fi</v-btn>
3368
</v-col>
@@ -54,13 +89,18 @@
5489
<script>
5590
export default {
5691
name: 'DonatePage',
92+
data() {
93+
return {
94+
showWero: false,
95+
}
96+
},
5797
head: {
5898
title: 'Support floccus',
5999
meta: [
60100
{ hid: 'description', name: 'description', content: 'Floccus offers seamless cross-browser bookmarks syncing. Work on floccus is fuelled by a voluntary subscription model. If you think what I do is worthwhile, and if you can spare a few coins each month without hardship, please support my work.' },
61101
{ hid: 'og:title', property: 'og:title', content: 'Support Floccus - Floccus bookmarks sync' },
62102
{ hid: "twitter:title", name: "twitter:title", content: 'Support Floccus - Floccus bookmarks sync' },
63103
],
64-
},
104+
}
65105
}
66106
</script>

static/wero-qr-code.svg

Lines changed: 6 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)