From 0ad811e15c8e0983a5fd62c7aa3f6b54c92b219e Mon Sep 17 00:00:00 2001 From: Kieran <32241933+KieranRobson@users.noreply.github.com> Date: Tue, 2 Aug 2022 02:03:31 +0100 Subject: [PATCH] Added dockerhub (#194) --- docker-compose.yml | 1 + public/css/brands.css | 6 ++++++ src/components/Home/Home.js | 10 ++++++++++ src/config.js | 4 ++++ src/icons/docker.svg | 1 + 5 files changed, 22 insertions(+) create mode 100644 src/icons/docker.svg diff --git a/docker-compose.yml b/docker-compose.yml index 37b2909..86ebc3f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -102,6 +102,7 @@ services: - LINE=https://line.me/en/ - KAKAOTALK=https://www.kakaocorp.com/page/service/service/KakaoTalk?lang=ko - DESIGNBYHUMANS=https://www.designbyhumans.com/ + - DOCKERHUB=https://hub.docker.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 b9d858a..9dacc1e 100644 --- a/public/css/brands.css +++ b/public/css/brands.css @@ -497,3 +497,9 @@ button { background-color: #fff } +/* Dockerhub */ +.button.button-dockerhub { + color: #099cec; + background-color: #fff +} + diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js index 9bdcc17..bdd3f5b 100644 --- a/src/components/Home/Home.js +++ b/src/components/Home/Home.js @@ -74,6 +74,7 @@ import osuLogo from '../../icons/osu.svg'; import lineLogo from '../../icons/linemessenger.svg'; import kakaoLogo from '../../icons/kaokotalk.svg'; import designByHumansLogo from '../../icons/designbyhumans.svg'; +import dockerhubLogo from '../../icons/docker.svg'; function Home(props) { let order = []; @@ -788,6 +789,15 @@ function Home(props) { order={buttonOrder('DESIGNBYHUMANS')} /> )} + {runtimeConfig.DOCKERHUB && ( +