diff --git a/locales/en.json b/locales/en.json index 605cc37..7f61a8b 100644 --- a/locales/en.json +++ b/locales/en.json @@ -135,7 +135,7 @@ "donate": { "title": "Donate", "p1": "You can help us financially by donating an amount of your choice by direct card payment", - "p2": "or through a bank transfers using the details below.", + "p2": "You can help us financially by donating an amount of your choice through a bank transfer using the details below.", "button": { "label": "Donate" }, diff --git a/locales/ro.json b/locales/ro.json index 7f7317c..6326e87 100644 --- a/locales/ro.json +++ b/locales/ro.json @@ -135,7 +135,7 @@ "donate": { "title": "Donează", "p1": "Ne poți ajuta financiar donând o sumă la alegere, prin plata directă cu cardul", - "p2": "sau prin transfer bancar folosind datele de mai jos.", + "p2": "Ne poți ajuta financiar donând o sumă la alegere, prin transfer bancar folosind datele de mai jos.", "button": { "label": "Donează" }, diff --git a/pages/supportus.vue b/pages/supportus.vue index cc565bb..c482edb 100644 --- a/pages/supportus.vue +++ b/pages/supportus.vue @@ -44,41 +44,6 @@
- -
- -
- - - - -
-
@@ -281,16 +246,12 @@ import { mdiContentCopy, mdiCardsHeart } from '@mdi/js' import ogMetaFor from '@/lib/HeaderMeta' -declare let Paylike: any - @Component export default class SupportUs extends Vue { sizes: string = '300:300,360:360,425:425,768:768,896,896:1080,1280' iconCopy = mdiContentCopy iconHeart = mdiCardsHeart isCopySuccesss = false - isPaylikeLoaded = false - paylike!: any isAcceptedTermsAndPrivacyPolicy = false async copyToClipboard (v) { @@ -302,37 +263,6 @@ export default class SupportUs extends Vue { }, 3000) } - mounted () { - this.paylike = Paylike(this.$config.paylike.publicKey) - } - - donate () { - this.paylike.popup( - { - title: this.$t('supportus.donate.popup.title'), - description: this.$t('supportus.donate.popup.description'), - currency: 'RON', - locale: this.$i18n.locale, - fields: [ - { - name: 'name', - placeholder: this.$t('supportus.donate.popup.placeholder.name') - }, - { - name: 'amount', - required: true - } - ], - custom: { - AcceptedTermsAndPrivacyPolicy: this.isAcceptedTermsAndPrivacyPolicy - } - }, - () => { - this.isAcceptedTermsAndPrivacyPolicy = false - } - ) - } - head () { return ogMetaFor({ route: this.$nuxt.$route.path,