diff --git a/app/soapbox/features/cryptocoin/coin.js b/app/soapbox/features/cryptocoin/coin.js index 01c8253488..2474aaebf0 100644 Binary files a/app/soapbox/features/cryptocoin/coin.js and b/app/soapbox/features/cryptocoin/coin.js differ diff --git a/app/soapbox/features/cryptocoin/coin_db.json b/app/soapbox/features/cryptocoin/coin_db.json index 0e52785a73..4b2889ce47 100644 --- a/app/soapbox/features/cryptocoin/coin_db.json +++ b/app/soapbox/features/cryptocoin/coin_db.json @@ -9,7 +9,7 @@ ], "coinData": { "btc": { "title": "Bitcoin" }, - "eth": { "title": "Etherium" }, + "eth": { "title": "Ethereum" }, "ltc": { "title": "Litecoin" }, "doge": { "title": "Dogecoin" }, "xmr": { "title": "Monero" } diff --git a/app/soapbox/features/cryptocoin/icons.js b/app/soapbox/features/cryptocoin/icons.js new file mode 100644 index 0000000000..f3b6b878ca Binary files /dev/null and b/app/soapbox/features/cryptocoin/icons.js differ diff --git a/app/styles/application.scss b/app/styles/application.scss index 366b7fcae7..068c6a528d 100644 --- a/app/styles/application.scss +++ b/app/styles/application.scss @@ -81,6 +81,7 @@ @import 'components/server-info'; @import 'components/admin'; @import 'components/backups'; +@import 'components/cryptocoin'; // Holiday @import 'holiday/halloween'; diff --git a/app/styles/components/cryptocoin.scss b/app/styles/components/cryptocoin.scss new file mode 100644 index 0000000000..4deaf3341d --- /dev/null +++ b/app/styles/components/cryptocoin.scss @@ -0,0 +1,3 @@ +.coin { + padding: 20px; +} diff --git a/package.json b/package.json index a184ce62ad..707c474be7 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "classnames": "^2.2.5", "compression-webpack-plugin": "^6.0.2", "copy-webpack-plugin": "6.4.0", + "cryptocurrency-icons": "^0.17.2", "css-loader": "^4.3.0", "cssnano": "^4.1.10", "detect-passive-events": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index 91c283bcc1..b4cce27af0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3866,6 +3866,11 @@ crypto-browserify@^3.11.0: randombytes "^2.0.0" randomfill "^1.0.3" +cryptocurrency-icons@^0.17.2: + version "0.17.2" + resolved "https://registry.yarnpkg.com/cryptocurrency-icons/-/cryptocurrency-icons-0.17.2.tgz#25811b450d8698e7985bc91005d89555f13e6686" + integrity sha512-301lellubLNhxkySIBNNG3VD05rWfMR+CFgo9LoLfuNybG2OLy0mpWduxv65WZkJpLl9hhpaVAxCV5SYbG5o9A== + css-color-names@0.0.4, css-color-names@^0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0"