diff --git a/docker-compose.yml b/docker-compose.yml index 86ebc3f..cf26a20 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -103,6 +103,7 @@ services: - KAKAOTALK=https://www.kakaocorp.com/page/service/service/KakaoTalk?lang=ko - DESIGNBYHUMANS=https://www.designbyhumans.com/ - DOCKERHUB=https://hub.docker.com/ + - MYANIMELIST=https://myanimelist.net/ - 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 9dacc1e..b6528f3 100644 --- a/public/css/brands.css +++ b/public/css/brands.css @@ -446,7 +446,7 @@ button { color: #02a0f2; background-color: #1c242e; } - + /* Gitbucket */ .button.button-gitbucket { color: #000; @@ -503,3 +503,8 @@ button { background-color: #fff } +/* MyAnimeList */ +.button.button-myAnimeList { + color: #133a95; + background-color: #fff +} diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js index bdd3f5b..78272fe 100644 --- a/src/components/Home/Home.js +++ b/src/components/Home/Home.js @@ -75,6 +75,7 @@ import lineLogo from '../../icons/linemessenger.svg'; import kakaoLogo from '../../icons/kaokotalk.svg'; import designByHumansLogo from '../../icons/designbyhumans.svg'; import dockerhubLogo from '../../icons/docker.svg'; +import myAnimeListLogo from '../../icons/myanimelist.svg'; function Home(props) { let order = []; @@ -798,6 +799,15 @@ function Home(props) { order={buttonOrder('DOCKERHUB')} /> )} + {runtimeConfig.MYANIMELIST && ( + + )}
diff --git a/src/config.js b/src/config.js index 6ca0a4e..4eabea1 100644 --- a/src/config.js +++ b/src/config.js @@ -118,6 +118,7 @@ export const runtimeConfig = KAKAOTALK: window?.env?.KAKAOTALK, DESIGNBYHUMANS: window?.env?.DESIGNBYHUMANS, DOCKERHUB: window?.env?.DOCKERHUB, + MYANIMELIST: window?.env?.MYANIMELIST, MATOMO_URL: window?.env?.MATOMO_URL, MATOMO_SITE_ID: window?.env?.MATOMO_SITE_ID, SHARE: window?.env?.SHARE, @@ -428,6 +429,9 @@ export const runtimeConfig = DOCKERHUB: nodeIsProduction ? process.env.DOCKERHUB : process.env.RAZZLE_DOCKERHUB, + MYANIMELIST: nodeIsProduction + ? process.env.MYANIMELIST + : process.env.RAZZLE_MYANIMELIST, MATOMO_URL: nodeIsProduction ? process.env.MATOMO_URL : process.env.RAZZLE_MATOMO_URL, diff --git a/src/icons/myanimelist.svg b/src/icons/myanimelist.svg new file mode 100644 index 0000000..85b5d0b --- /dev/null +++ b/src/icons/myanimelist.svg @@ -0,0 +1 @@ +