From fd83a337e278aa646be3413edbe323390d6b49c1 Mon Sep 17 00:00:00 2001 From: Kieran <32241933+Ki-er@users.noreply.github.com> Date: Wed, 17 Apr 2024 19:44:56 +0100 Subject: [PATCH] Add Various Buttons (#605) * feat: Add Audius * feat: Add Bandcamp * feat: Add Forgejo * feat: Add ORCID * feat: Add Credly * feat: Add Semantic Scholar * feat: Add * feat: Add Simplex * fix: Change image back * feat: Add Mixcloud --- docker-compose.yml | 9 +++ public/css/brands.css | 54 +++++++++++++++++ src/components/Home/Home.js | 90 +++++++++++++++++++++++++++++ src/config.js | 34 +++++++++++ src/icons/audius.svg | 1 + src/icons/bandcamp.svg | 8 +++ src/icons/credly.svg | 12 ++++ src/icons/forgejo.svg | 27 +++++++++ src/icons/googlescholar.svg | 1 + src/icons/mixcloud.svg | 3 + src/icons/orcid.svg | 17 ++++++ src/icons/semanticscholar.svg | 105 ++++++++++++++++++++++++++++++++++ src/icons/simplex.svg | 12 ++++ 13 files changed, 373 insertions(+) create mode 100644 src/icons/audius.svg create mode 100644 src/icons/bandcamp.svg create mode 100644 src/icons/credly.svg create mode 100644 src/icons/forgejo.svg create mode 100644 src/icons/googlescholar.svg create mode 100644 src/icons/mixcloud.svg create mode 100644 src/icons/orcid.svg create mode 100644 src/icons/semanticscholar.svg create mode 100644 src/icons/simplex.svg diff --git a/docker-compose.yml b/docker-compose.yml index 4033931..05733cf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -134,6 +134,15 @@ services: - POCKET_CASTS=https://pca.st/XYZ - OVERCAST=https://overcast.fm/itunes00000000 - RSS=https://example.com/rss + - AUDIUS=https://audius.co/ + - BANDCAMP=https://bandcamp.com/ + - FORGEJO=https://forgejo.org/ + - ORCID=https://orcid.org/ + - CREDLY=https://www.credly.com/ + - SEMANTICSCHOLAR=https://www.semanticscholar.org/ + - GOOGLESCHOLAR=https://scholar.google.co.uk/ + - SIMPLEX=https://simplex.chat/ + - MIXCLOUD=https://www.mixcloud.com/ ports: - 8080:3000 restart: unless-stopped diff --git a/public/css/brands.css b/public/css/brands.css index f11289a..57ace6b 100644 --- a/public/css/brands.css +++ b/public/css/brands.css @@ -650,3 +650,57 @@ button { color: #ffffff; background-color: #FF9800; } + +/* Audius */ +.button.button-audius { + color: #000000; + background-color: #ffffff; +} + +/* Bandcamp */ +.button.button-bandcamp { + color: #11AADD; + background-color: #ffffff; +} + +/* Forgejo */ +.button.button-forgejo { + color: #C2410C; + background-color: #ffffff; +} + +/* Orcid */ +.button.button-orcid { + color: #A6CE39; + background-color: #ffffff; +} + +/* Credly */ +.button.button-credly { + color: #FF6A00; + background-color: #ffffff; +} + +/* Semantic Scholar */ +.button.button-semanticscholar { + color: #000000; + background-color: #ffffff; +} + +/* Google Scholar */ +.button.button-googlescholar { + color: #356AC3; + background-color: #ffffff; +} + +/* Simplex */ +.button.button-simplex { + color: #07B4B9; + background-color: #ffffff; +} + +/* Mixcloud */ +.button.button-mixcloud { + color: #000000; + background-color: #ffffff; +} \ No newline at end of file diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js index fc539f8..41c5f9e 100644 --- a/src/components/Home/Home.js +++ b/src/components/Home/Home.js @@ -96,6 +96,15 @@ import googlePodcastsLogo from '../../icons/google-podcasts.svg'; import pocketCastsLogo from '../../icons/pocketcasts.svg'; import overcastLogo from '../../icons/overcast.svg'; import rssLogo from '../../icons/generic-rss.svg'; +import audiusLogo from '../../icons/audius.svg'; +import bandcampLogo from '../../icons/bandcamp.svg'; +import forgejoLogo from '../../icons/forgejo.svg'; +import orcidLogo from '../../icons/orcid.svg'; +import credlyLogo from '../../icons/credly.svg'; +import semanticscholarLogo from '../../icons/semanticscholar.svg'; +import googlescholarLogo from '../../icons/googlescholar.svg'; +import simplexLogo from '../../icons/simplex.svg'; +import mixcloudLogo from '../../icons/mixcloud.svg'; function Home(props) { let order = []; @@ -1008,6 +1017,87 @@ function Home(props) { order={buttonOrder('RSS')} /> )} + {runtimeConfig.AUDIUS && ( +