From 064c16f5f72db5512ddd6869c19757268c225d7f Mon Sep 17 00:00:00 2001
From: Ellpeck
Date: Mon, 13 Aug 2018 21:20:37 +0200
Subject: [PATCH] make support into scripts instead because it's cleaner yo
---
index.html | 18 +++---------------
scripts/support.js | 29 +++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 15 deletions(-)
create mode 100644 scripts/support.js
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.
- 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.
-
- 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 += '