From fc780550a3bbb7bafa8ba485ddf3c2c142674355 Mon Sep 17 00:00:00 2001 From: Kieran <32241933+KieranRobson@users.noreply.github.com> Date: Sun, 10 Jul 2022 02:01:09 +0100 Subject: [PATCH] Added Shazam (#166) * Added Shazam * Fix shazam typo * Fix image --- docker-compose.yml | 1 + public/css/brands.css | 6 ++++++ src/components/Home/Home.js | 10 ++++++++++ src/config.js | 4 ++++ src/icons/shazam.svg | 18 ++++++++++++++++++ 5 files changed, 39 insertions(+) create mode 100644 src/icons/shazam.svg diff --git a/docker-compose.yml b/docker-compose.yml index c92c562..fb2f072 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -95,6 +95,7 @@ services: - MATRIX=https://matrix.to/ - ANILIST=https://anilist.co/ - GITBUCKET=https://gitbucket.github.io/ + - SHAZAM=https://www.shazam.com/myshazam - 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 8c9b154..dc499e4 100644 --- a/public/css/brands.css +++ b/public/css/brands.css @@ -451,4 +451,10 @@ button { .button.button-gitbucket { color: #000; background-color: #fff +} + +/* Shazam */ +.button.button-shazam { + color: #fff; + background-color: #1f5bfc } \ No newline at end of file diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js index 37e143c..d0f3fb5 100644 --- a/src/components/Home/Home.js +++ b/src/components/Home/Home.js @@ -66,6 +66,7 @@ import statusLogo from '../../icons/status.svg'; import matrixLogo from '../../icons/matrix.svg'; import anilistLogo from '../../icons/anilist.svg'; import gitbucketLogo from '../../icons/gitbucket.svg'; +import shazamLogo from '../../icons/shazam.svg'; function Home(props) { let order = []; @@ -717,6 +718,15 @@ function Home(props) { order={buttonOrder('GITBUCKET')} /> )} + {runtimeConfig.SHAZAM && ( +