From e10ad8c7c47273fe43668f7f84462748922b35ea Mon Sep 17 00:00:00 2001 From: Sebastian Thiele Date: Sat, 7 Oct 2023 17:44:15 +0200 Subject: [PATCH] Add BlueSky (#498) --- docker-compose.yml | 1 + public/css/brands.css | 11 +++++++++++ src/components/Home/Home.js | 10 ++++++++++ src/config.js | 4 ++++ src/icons/bluesky.svg | 14 ++++++++++++++ 5 files changed, 40 insertions(+) create mode 100644 src/icons/bluesky.svg diff --git a/docker-compose.yml b/docker-compose.yml index afb4b24..a854fb1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -60,6 +60,7 @@ services: - MICRO_BLOG=https://micro.blog/ - WHATSAPP=https://www.whatsapp.com/ - STRAVA=https://www.strava.com/ + - BLUESKY=https://bsky.app/profile/bsky.app - BUYMEACOFFEE=https://www.buymeacoffee.com/ - GITLAB=https://www.gitlab.com/ - PATREON=https://www.patreon.com/technotim diff --git a/public/css/brands.css b/public/css/brands.css index 67b4e91..9faf6e1 100644 --- a/public/css/brands.css +++ b/public/css/brands.css @@ -268,6 +268,17 @@ button { background-color: #fd5000; } +/* Bluesky */ +.button.button-bluesky { + color: #000000; + background-color: #F3F9FF; + border: 1px solid #212121; +} +.button.button-bluesky:hover, +.button.button-bluesky:focus { + filter: brightness(90%); +} + /* Buy Me a Coffee */ .button.button-buymeacoffee { color: #000000; diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js index af199e9..bf8f689 100644 --- a/src/components/Home/Home.js +++ b/src/components/Home/Home.js @@ -36,6 +36,7 @@ import emailLogo from '../../icons/email.svg'; import emailAltLogo from '../../icons/email_alt.svg'; import whatsappLogo from '../../icons/whatsapp.svg'; import stravaLogo from '../../icons/strava.svg'; +import blueSkyLogo from '../../icons/bluesky.svg'; import buyMeACoffeeLogo from '../../icons/buymeacoffee.svg'; import gitlabLogo from '../../icons/gitlab.svg'; import patreonLogo from '../../icons/patreon.svg'; @@ -462,6 +463,15 @@ function Home(props) { order={buttonOrder('STRAVA')} /> )} + {runtimeConfig.BLUESKY && ( +