From c6fb101a3d6369fc5f3aa103fc310b82074afeef Mon Sep 17 00:00:00 2001 From: Kieran <32241933+KieranRobson@users.noreply.github.com> Date: Tue, 14 Jun 2022 15:26:24 +0100 Subject: [PATCH] Added CashApp (#128) * Added CashApp * Added CashApp --- docker-compose.yml | 1 + public/css/brands.css | 6 ++++++ src/components/Home/Home.js | 10 ++++++++++ src/config.js | 4 ++++ src/icons/cashapp.svg | 1 + 5 files changed, 22 insertions(+) create mode 100644 src/icons/cashapp.svg 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 && ( +