浏览代码

feat(webapp): add QR code for PayPal donation

Peter Thomassen 3 年之前
父节点
当前提交
f6c27dc7fb
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 二进制
      webapp/src/assets/paypal-qrcode.png
  2. 5 1
      webapp/src/views/Donate.vue

二进制
webapp/src/assets/paypal-qrcode.png


+ 5 - 1
webapp/src/views/Donate.vue

@@ -97,9 +97,13 @@
                 <v-expansion-panel-content class="pt-4">
                 <v-expansion-panel-content class="pt-4">
                   <p>
                   <p>
                     <strong><a href="https://www.paypal.com/donate?hosted_button_id=GPGXGLA4SU78W" target="_blank">Click
                     <strong><a href="https://www.paypal.com/donate?hosted_button_id=GPGXGLA4SU78W" target="_blank">Click
-                    here</a> to donate via PayPal.</strong> Note that PayPal charges us the highest fees of all, so if
+                    here</a> or use the below QR code to donate via PayPal.</strong>
+                    Note that PayPal charges us the highest fees of all, so if
                     you can use one of the other methods, that would be appreciated!
                     you can use one of the other methods, that would be appreciated!
                   </p>
                   </p>
+                  <v-layout class="justify-center">
+                    <v-img :src="require('../assets/paypal-qrcode.png')" alt="PayPal QR Code" style="max-width: 256px"></v-img>
+                  </v-layout>
                 </v-expansion-panel-content>
                 </v-expansion-panel-content>
               </v-expansion-panel>
               </v-expansion-panel>
               <v-expansion-panel>
               <v-expansion-panel>