diff --git a/docker-compose.yml b/docker-compose.yml index 1603aa3..23c3d2b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -78,6 +78,7 @@ services: - BUTTON_TARGET=_blank - INSTANTGAMING=https://www.instant-gaming.com/ - TRAKT=https://trakt.tv + - CASHAPP=https://cash.app/ - OG_SITE_NAME=Techno Tim Live (OG) - OG_TITLE=Techno Tim (OG) - OG_DESCRIPTION=Techno Tim Link page (OG) diff --git a/public/css/brands.css b/public/css/brands.css index 9d4a23a..b3a3d3a 100644 --- a/public/css/brands.css +++ b/public/css/brands.css @@ -362,3 +362,9 @@ button { color: #fff; background-color: #000; } + +/* CashApp */ +.button.button-cashapp { + color: #000; + background-color: #f8f9f9; +} \ No newline at end of file diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js index 4b70631..da31fd0 100644 --- a/src/components/Home/Home.js +++ b/src/components/Home/Home.js @@ -51,6 +51,7 @@ import untappdLogo from '../../icons/untappd.svg'; import instantGamingLogo from '../../icons/instantgaming.svg'; import ghostLogo from '../../icons/ghost.svg'; import traktLogo from '../../icons/trakt.svg'; +import cashappLogo from '../../icons/cashapp.svg'; function Home(props) { let order = []; @@ -558,6 +559,15 @@ function Home(props) { order={buttonOrder('TRAKT')} /> )} + {runtimeConfig.CASHAPP && ( + + )}
{runtimeConfig.FOOTER}
diff --git a/src/config.js b/src/config.js index bf10751..67822c1 100644 --- a/src/config.js +++ b/src/config.js @@ -92,6 +92,7 @@ export const runtimeConfig = TWITTER_CREATOR: window?.env?.TWITTER_CREATOR, GHOST: window?.env?.GHOST, TRAKT: window?.env?.TRAKT, + CASHAPP: window?.env?.CASHAPP, MATOMO_URL: window?.env?.MATOMO_URL, MATOMO_SITE_ID: window?.env?.MATOMO_SITE_ID, } @@ -331,6 +332,9 @@ export const runtimeConfig = : process.env.RAZZLE_TWITTER_CREATOR, GHOST: nodeIsProduction ? process.env.GHOST : process.env.RAZZLE_GHOST, TRAKT: nodeIsProduction ? process.env.TRAKT : process.env.RAZZLE_TRAKT, + CASHAPP: nodeIsProduction + ? process.env.CASHAPP + : process.env.RAZZLE_CASHAPP, MATOMO_URL: nodeIsProduction ? process.env.MATOMO_URL : process.env.RAZZLE_MATOMO_URL, diff --git a/src/icons/cashapp.svg b/src/icons/cashapp.svg new file mode 100644 index 0000000..8bcb0c4 --- /dev/null +++ b/src/icons/cashapp.svg @@ -0,0 +1 @@ + \ No newline at end of file