diff --git a/README.md b/README.md
index 341e53d..3fb28f4 100644
--- a/README.md
+++ b/README.md
@@ -95,6 +95,7 @@ services:
- STRAVA=https://www.strava.com/
- BUYMEACOFFEE=https://www.buymeacoffee.com/
- GITLAB=https://www.gitlab.com/
+ - PATREON=https://www.patreon.com/technotim
ports:
- 8080:3000
restart: unless-stopped
diff --git a/docker-compose.yml b/docker-compose.yml
index f5843fd..ad26099 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -61,6 +61,7 @@ services:
- STRAVA=https://www.strava.com/
- BUYMEACOFFEE=https://www.buymeacoffee.com/
- GITLAB=https://www.gitlab.com/
+ - PATREON=https://www.patreon.com/technotim
ports:
- 8080:3000
diff --git a/public/css/brands.css b/public/css/brands.css
index f34a5b6..d19f5d6 100644
--- a/public/css/brands.css
+++ b/public/css/brands.css
@@ -422,5 +422,16 @@ button:hover,
}
.button.button-gitlab:hover,
.button.button-gitlab:focus {
- filter: brightness(90%) }
+ filter: brightness(90%)
+}
+
+/* Patreon */
+.button.button-patreon {
+ color: #FFFFFF;
+ background-color: #FF424D;
+}
+.button.button-patreon:hover,
+.button.button-patreon:focus {
+ filter: brightness(90%)
+}
diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js
index 8457180..7e91700 100644
--- a/src/components/Home/Home.js
+++ b/src/components/Home/Home.js
@@ -37,6 +37,7 @@ import whatsappLogo from '../../icons/whatsapp.svg';
import stravaLogo from '../../icons/strava.svg';
import buyMeACoffeeLogo from '../../icons/buymeacoffee.svg';
import gitlabLogo from '../../icons/gitlab.svg';
+import patreonLogo from '../../icons/patreon.svg';
function Home(props) {
return (
@@ -338,6 +339,14 @@ function Home(props) {
logo={gitlabLogo}
/>
)}
+ {runtimeConfig.PATREON && (
+
+ )}
diff --git a/src/config.js b/src/config.js
index 58c5a6b..3661ff2 100644
--- a/src/config.js
+++ b/src/config.js
@@ -55,6 +55,7 @@ export const runtimeConfig =
STRAVA: window?.env?.STRAVA,
BUYMEACOFFEE: window?.env?.BUYMEACOFFEE,
GITLAB: window?.env?.GITLAB,
+ PATREON: window?.env?.PATREON,
}
: {
// server
@@ -191,4 +192,7 @@ export const runtimeConfig =
GITLAB: nodeIsProduction
? process.env.GITLAB
: process.env.RAZZLE_GITLAB,
+ PATREON: nodeIsProduction
+ ? process.env.PATREON
+ : process.env.RAZZLE_PATREON,
};
diff --git a/src/icons/patreon.svg b/src/icons/patreon.svg
new file mode 100644
index 0000000..788b1c9
--- /dev/null
+++ b/src/icons/patreon.svg
@@ -0,0 +1,4 @@
+
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index 2526d77..7cddf2b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1411,9 +1411,9 @@
integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==
"@types/node@*":
- version "16.10.9"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-16.10.9.tgz#8f1cdd517972f76a3b928298f4c0747cd6fef25a"
- integrity sha512-H9ReOt+yqIJPCutkTYjFjlyK6WEMQYT9hLZMlWtOjFQY2ItppsWZ6RJf8Aw+jz5qTYceuHvFgPIaKOHtLAEWBw==
+ version "16.11.0"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.0.tgz#4b95f2327bacd1ef8f08d8ceda193039c5d7f52e"
+ integrity sha512-8MLkBIYQMuhRBQzGN9875bYsOhPnf/0rgXGo66S2FemHkhbn9qtsz9ywV1iCG+vbjigE4WUNVvw37Dx+L0qsPg==
"@types/normalize-package-data@^2.4.0":
version "2.4.1"
@@ -2585,9 +2585,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.0"
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001125, caniuse-lite@^1.0.30001264, caniuse-lite@^1.0.30001265:
- version "1.0.30001265"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001265.tgz#0613c9e6c922e422792e6fcefdf9a3afeee4f8c3"
- integrity sha512-YzBnspggWV5hep1m9Z6sZVLOt7vrju8xWooFAgN6BA5qvy98qPAPb7vNUzypFaoh2pb3vlfzbDO8tB57UPGbtw==
+ version "1.0.30001267"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001267.tgz#b1cf2937175afc0570e4615fc2d2f9069fa0ed30"
+ integrity sha512-r1mjTzAuJ9W8cPBGbbus8E0SKcUP7gn03R14Wk8FlAlqhH9hroy9nLqmpuXlfKEw/oILW+FGz47ipXV2O7x8lg==
capture-exit@^2.0.0:
version "2.0.0"
@@ -3637,9 +3637,9 @@ ee-first@1.1.1:
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
electron-to-chromium@^1.3.564, electron-to-chromium@^1.3.867:
- version "1.3.867"
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.867.tgz#7cb484db4b57c28da0b65c51e434c3a1f3f9aa0d"
- integrity sha512-WbTXOv7hsLhjJyl7jBfDkioaY++iVVZomZ4dU6TMe/SzucV6mUAs2VZn/AehBwuZMiNEQDaPuTGn22YK5o+aDw==
+ version "1.3.869"
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.869.tgz#c319171803d796639b1af3ddbf07a5a087037ccb"
+ integrity sha512-mcoyZ2jd691yAx0OHqqGw+aPCcRYVDw/bqPy660aBfcQkUcWcfAVsbL4M9WeevflKH4MfpKCtnOngVLM7HzSzA==
elliptic@^6.5.3:
version "6.5.4"
@@ -5354,9 +5354,9 @@ is-color-stop@^1.0.0:
rgba-regex "^1.0.0"
is-core-module@^2.2.0, is-core-module@^2.5.0, is-core-module@^2.7.0:
- version "2.7.0"
- resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.7.0.tgz#3c0ef7d31b4acfc574f80c58409d568a836848e3"
- integrity sha512-ByY+tjCciCr+9nLryBYcSD50EOGWt95c7tIsKTG1J2ixKKXPvF7Ej3AVd+UfDydAJom3biBGDBALaO79ktwgEQ==
+ version "2.8.0"
+ resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.0.tgz#0321336c3d0925e497fd97f5d95cb114a5ccd548"
+ integrity sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==
dependencies:
has "^1.0.3"