From a55792bbf0889e4d014f7af1183137cab93cff06 Mon Sep 17 00:00:00 2001 From: Kieran <32241933+KieranRobson@users.noreply.github.com> Date: Tue, 8 Nov 2022 23:15:31 +0000 Subject: [PATCH] feat: Add 500px (#264) * feat: Add 500px * fix: Image * fix: Move to bottom * fix: Lint * fix: Move logo * fix: Move to bottom for real --- docker-compose.yml | 2 ++ public/css/brands.css | 6 ++++++ src/components/Home/Home.js | 10 ++++++++++ src/config.js | 4 ++++ src/icons/500px.svg | 1 + 5 files changed, 23 insertions(+) create mode 100644 src/icons/500px.svg diff --git a/docker-compose.yml b/docker-compose.yml index 565f172..2f39b1f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -119,6 +119,8 @@ services: - TWITTER_SITE=@TechnoTimLive - TWITTER_CREATOR=@TechnoTimLive - SHARE=https://technotim.live + - FIVEHUNDREDPX=https://500px.com/ + ports: - 8080:3000 restart: unless-stopped diff --git a/public/css/brands.css b/public/css/brands.css index 2c11874..1f82b9c 100644 --- a/public/css/brands.css +++ b/public/css/brands.css @@ -526,3 +526,9 @@ button { color: #133a95; background-color: #fff } + +/* 500px */ +.button.button-500px { + color: #000; + background-color: #fff +} \ No newline at end of file diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js index e416522..ba2f69e 100644 --- a/src/components/Home/Home.js +++ b/src/components/Home/Home.js @@ -79,6 +79,7 @@ import designByHumansLogo from '../../icons/designbyhumans.svg'; import dockerhubLogo from '../../icons/docker.svg'; import veroLogo from '../../icons/vero.svg'; import myAnimeListLogo from '../../icons/myanimelist.svg'; +import fiveHundredPXLogo from '../../icons/500px.svg'; function Home(props) { let order = []; @@ -839,6 +840,15 @@ function Home(props) { order={buttonOrder('MYANIMELIST')} /> )} + {runtimeConfig.FIVEHUNDREDPX && ( +