diff --git a/index.html b/index.html index 363912b..675ca3e 100644 --- a/index.html +++ b/index.html @@ -118,22 +118,10 @@
If you want, you can do so using one of the ways below.
Keep in mind that doing this is, of course, optional. I don't expect you to give me money for what I do, people appreciating it is already really awesome to me. Plus, if you want to, you can always support me by telling other people about me and my projects as well.

-
-
- Support me on Patreon -
-
- Patreon is a great way of giving me money regularly. You automatically give me a set amount each month, and in return, you can get cool rewards like beta access to my game or visual fanciness for your Minecraft character when using my mods. -
-
-
-
- Donate with PayPal -
-
- If you prefer the idea of giving me some money as a one-time payment, using PayPal is probably your best bet. It's quick and easy, and it helps me out just the same way. -
+
+
+
diff --git a/scripts/support.js b/scripts/support.js new file mode 100644 index 0000000..474d21a --- /dev/null +++ b/scripts/support.js @@ -0,0 +1,29 @@ +const support = [{ + 'name': 'Support me on Patreon', + 'desc': 'Patreon is a great way of giving me money regularly. You automatically give me a set amount each month, and in return, you can get cool rewards like beta access to my game or visual fanciness for your Minecraft character when using my mods.', + 'link': 'https://patreon.com/Ellpeck', + 'icon': 'patreon' + }, + { + 'name': 'Donate with PayPal', + 'desc': 'If you prefer the idea of giving me some money as a one-time payment, using PayPal is probably your best bet. It\'s quick and easy, and it helps me out just the same way.', + 'link': 'https://paypal.me/Ellpeck', + 'icon': 'paypal' + } +]; + +let sp = ''; +for (way of support) { + sp += '
'; + + sp += '
'; + sp += '' + way['name'] + ''; + sp += '
'; + + sp += '
'; + sp += way['desc']; + sp += '
'; + + sp += '
'; +} +$('#support-list').html(sp); \ No newline at end of file