From 3ab890e9bf46ef9ecf7a9ccea11fec3c0d6695ed Mon Sep 17 00:00:00 2001 From: Kieran <32241933+KieranRobson@users.noreply.github.com> Date: Sat, 23 Jul 2022 18:13:29 +0100 Subject: [PATCH] Add buttons (#182) * Added buttons * Fix image --- docker-compose.yml | 3 +++ public/css/brands.css | 23 ++++++++++++++++++++++- src/components/Home/Home.js | 30 ++++++++++++++++++++++++++++++ src/config.js | 10 ++++++++++ src/icons/designbyhumans.svg | 1 + src/icons/kaokotalk.svg | 1 + src/icons/linemessenger.svg | 1 + 7 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 src/icons/designbyhumans.svg create mode 100644 src/icons/kaokotalk.svg create mode 100644 src/icons/linemessenger.svg diff --git a/docker-compose.yml b/docker-compose.yml index afcb60d..37b2909 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -99,6 +99,9 @@ services: - TPDB=https://theposterdb.com/ - FLICKR=https://www.flickr.com/ - OSU=https://osu.ppy.sh/users/ + - LINE=https://line.me/en/ + - KAKAOTALK=https://www.kakaocorp.com/page/service/service/KakaoTalk?lang=ko + - DESIGNBYHUMANS=https://www.designbyhumans.com/ - 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 25d3451..b9d858a 100644 --- a/public/css/brands.css +++ b/public/css/brands.css @@ -475,4 +475,25 @@ button { .button.button-osu { color: #fff; background-color: #FF8EE6 -} \ No newline at end of file +} + +/* Line */ +.button.button-lineMessenger { + color: #fff; + background-color: #02df45 +} + + +/* kakaoTalk */ +.button.button-kakaoTalk { + color: #000; + background-color: #fae513 +} + + +/* DesignByHumans */ +.button.button-designByHumans { + color: #000; + background-color: #fff +} + diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js index fb82e2f..bf00081 100644 --- a/src/components/Home/Home.js +++ b/src/components/Home/Home.js @@ -71,6 +71,9 @@ import shazamLogo from '../../icons/shazam.svg'; import flickrLogo from '../../icons/flickr.svg'; import tpdbLogo from '../../icons/tpdb.svg'; import osuLogo from '../../icons/osu.svg'; +import lineLogo from '../../icons/linemessenger.svg'; +import kakaoLogo from '../../icons/kaokotalk.svg'; +import designByHumansLogo from '../../icons/designbyhumans.svg'; function Home(props) { let order = []; @@ -758,6 +761,33 @@ function Home(props) { order={buttonOrder('OSU')} /> )} + {runtimeConfig.KAKAOTALK && ( +