diff --git a/docker-compose.yml b/docker-compose.yml index ede6239d..154dfee2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -148,6 +148,11 @@ services: - TIDAL=https://tidal.com/ - THESTORYGRAPH=https://www.thestorygraph.com/ - GEOCACHING=https://www.geocaching.com/play + - NEOCITIES=https://neocities.org/ + - VIBER=https://www.viber.com/en/ + - SPACEHEY=https://spacehey.com/ + - DREAMWIDTH=https://www.dreamwidth.org/login + - PILLOWFORT=https://www.pillowfort.social/log_in ports: - 8080:3000 restart: unless-stopped diff --git a/public/css/brands.css b/public/css/brands.css index f1125d7c..da82a11c 100644 --- a/public/css/brands.css +++ b/public/css/brands.css @@ -735,5 +735,35 @@ button { background-color: #ffff; } +/* Neocities */ +.button.button-neocities { + color: #ffff; + background-color: #65a0ad; +} + +/* Dreamwidth */ +.button.button-dreamwidth { + color: #C1272D; + background-color: #ffff; +} + +/* Spacehey */ +.button.button-spacehey { + color: #204cdc; + background-color: #ffff; +} + +/* Viber */ +.button.button-viber { + color: #583cbc; + background-color: #ffff; +} + +/* Pillowfort */ +.button.button-pillowfort { + color: #000000; + background-color: #ffff; +} + diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js index 6b1afec9..c8431882 100644 --- a/src/components/Home/Home.js +++ b/src/components/Home/Home.js @@ -110,6 +110,11 @@ import googlemapsLogo from '../../icons/googlemaps.svg'; import tidalLogo from '../../icons/tidal.svg'; import thestorygraphLogo from '../../icons/storygraph.svg'; import geocachingLogo from '../../icons/geocaching.svg'; +import neocitiesLogo from '../../icons/neocities.svg'; +import dreamwidthLogo from '../../icons/dreamwidth.svg'; +import spaceheyLogo from '../../icons/spacehey.svg'; +import viberLogo from '../../icons/viber.svg'; +import pillowfortLogo from '../../icons/pillowfort.svg'; function Home(props) { let order = []; @@ -1148,6 +1153,51 @@ function Home(props) { order={buttonOrder('GEOCACHING')} /> )} + {runtimeConfig.NEOCITIES && ( + + )} + {runtimeConfig.DREAMWIDTH && ( + + )} + {runtimeConfig.SPACEHEY && ( + + )} + {runtimeConfig.VIBER && ( + + )} + {runtimeConfig.PILLOWFORT && ( + + )}
diff --git a/src/config.js b/src/config.js index f6a96a62..3b0ea5d8 100644 --- a/src/config.js +++ b/src/config.js @@ -163,6 +163,11 @@ export const runtimeConfig = TIDAL: window?.env?.TIDAL, THESTORYGRAPH: window?.env?.THESTORYGRAPH, GEOCACHING: window?.env?.GEOCACHING, + NEOCITIES: window?.env?.NEOCITIES, + DREAMWIDTH: window?.env?.DREAMWIDTH, + SPACEHEY: window?.env?.SPACEHEY, + VIBER: window?.env?.VIBER, + PILLOWFORT: window?.env?.PILLOWFORT, } : { // server @@ -589,4 +594,17 @@ export const runtimeConfig = GEOCACHING: nodeIsProduction ? process.env.GEOCACHING : process.env.RAZZLE_GEOCACHING, + NEOCITIES: nodeIsProduction + ? process.env.NEOCITIES + : process.env.RAZZLE_NEOCITIES, + DREAMWIDTH: nodeIsProduction + ? process.env.DREAMWIDTH + : process.env.RAZZLE_DREAMWIDTH, + SPACEHEY: nodeIsProduction + ? process.env.SPACEHEY + : process.env.RAZZLE_SPACEHEY, + VIBER: nodeIsProduction ? process.env.VIBER : process.env.RAZZLE_VIBER, + PILLOWFORT: nodeIsProduction + ? process.env.PILLOWFORT + : process.env.RAZZLE_PILLOWFORT, }; diff --git a/src/icons/dreamwidth.svg b/src/icons/dreamwidth.svg new file mode 100644 index 00000000..5ae190d7 --- /dev/null +++ b/src/icons/dreamwidth.svg @@ -0,0 +1,12 @@ + + + diff --git a/src/icons/neocities.svg b/src/icons/neocities.svg new file mode 100644 index 00000000..f562a999 --- /dev/null +++ b/src/icons/neocities.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/pillowfort.svg b/src/icons/pillowfort.svg new file mode 100644 index 00000000..46925c44 --- /dev/null +++ b/src/icons/pillowfort.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/spacehey.svg b/src/icons/spacehey.svg new file mode 100644 index 00000000..11fbaa6c --- /dev/null +++ b/src/icons/spacehey.svg @@ -0,0 +1,35 @@ + + + diff --git a/src/icons/viber.svg b/src/icons/viber.svg new file mode 100644 index 00000000..fc03c0d0 --- /dev/null +++ b/src/icons/viber.svg @@ -0,0 +1,105 @@ + +