diff --git a/app/soapbox/features/crypto_donate/components/crypto_address.js b/app/soapbox/features/crypto_donate/components/crypto_address.js new file mode 100644 index 0000000000..512ba686c9 Binary files /dev/null and b/app/soapbox/features/crypto_donate/components/crypto_address.js differ diff --git a/app/soapbox/features/crypto_donate/components/site_wallet.js b/app/soapbox/features/crypto_donate/components/site_wallet.js new file mode 100644 index 0000000000..3e5d30bc55 Binary files /dev/null and b/app/soapbox/features/crypto_donate/components/site_wallet.js differ diff --git a/app/soapbox/features/cryptocoin/index.js b/app/soapbox/features/crypto_donate/index.js similarity index 69% rename from app/soapbox/features/cryptocoin/index.js rename to app/soapbox/features/crypto_donate/index.js index b509bbb2c4..a06652ffef 100644 Binary files a/app/soapbox/features/cryptocoin/index.js and b/app/soapbox/features/crypto_donate/index.js differ diff --git a/app/soapbox/features/crypto_donate/utils/coin_db.js b/app/soapbox/features/crypto_donate/utils/coin_db.js new file mode 100644 index 0000000000..33c566cdbd Binary files /dev/null and b/app/soapbox/features/crypto_donate/utils/coin_db.js differ diff --git a/app/soapbox/features/crypto_donate/utils/coin_icons.js b/app/soapbox/features/crypto_donate/utils/coin_icons.js new file mode 100644 index 0000000000..2c0376bfa5 Binary files /dev/null and b/app/soapbox/features/crypto_donate/utils/coin_icons.js differ diff --git a/app/soapbox/features/crypto_donate/utils/manifest_map.js b/app/soapbox/features/crypto_donate/utils/manifest_map.js new file mode 100644 index 0000000000..bab27695fc Binary files /dev/null and b/app/soapbox/features/crypto_donate/utils/manifest_map.js differ diff --git a/app/soapbox/features/cryptocoin/coin.js b/app/soapbox/features/cryptocoin/coin.js deleted file mode 100644 index 2474aaebf0..0000000000 Binary files a/app/soapbox/features/cryptocoin/coin.js and /dev/null differ diff --git a/app/soapbox/features/cryptocoin/coin_db.json b/app/soapbox/features/cryptocoin/coin_db.json deleted file mode 100644 index 4b2889ce47..0000000000 --- a/app/soapbox/features/cryptocoin/coin_db.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "supportedCoins": [ - "btc", - "eth", - "ltc", - "doge", - "ubq", - "xmr" - ], - "coinData": { - "btc": { "title": "Bitcoin" }, - "eth": { "title": "Ethereum" }, - "ltc": { "title": "Litecoin" }, - "doge": { "title": "Dogecoin" }, - "xmr": { "title": "Monero" } - } -} diff --git a/app/soapbox/features/cryptocoin/coin_list.js b/app/soapbox/features/cryptocoin/coin_list.js deleted file mode 100644 index f7912b183e..0000000000 Binary files a/app/soapbox/features/cryptocoin/coin_list.js and /dev/null differ diff --git a/app/soapbox/features/cryptocoin/icons.js b/app/soapbox/features/cryptocoin/icons.js deleted file mode 100644 index f3b6b878ca..0000000000 Binary files a/app/soapbox/features/cryptocoin/icons.js and /dev/null differ diff --git a/app/soapbox/features/ui/index.js b/app/soapbox/features/ui/index.js index d193ae6063..9595bf2a5a 100644 Binary files a/app/soapbox/features/ui/index.js and b/app/soapbox/features/ui/index.js differ diff --git a/app/soapbox/features/ui/util/async-components.js b/app/soapbox/features/ui/util/async-components.js index 9e94c3e852..dc06d16777 100644 Binary files a/app/soapbox/features/ui/util/async-components.js and b/app/soapbox/features/ui/util/async-components.js differ diff --git a/app/styles/application.scss b/app/styles/application.scss index 068c6a528d..457a4faf4e 100644 --- a/app/styles/application.scss +++ b/app/styles/application.scss @@ -81,7 +81,7 @@ @import 'components/server-info'; @import 'components/admin'; @import 'components/backups'; -@import 'components/cryptocoin'; +@import 'components/crypto-donate'; // Holiday @import 'holiday/halloween'; diff --git a/app/styles/components/cryptocoin.scss b/app/styles/components/crypto-donate.scss similarity index 51% rename from app/styles/components/cryptocoin.scss rename to app/styles/components/crypto-donate.scss index 4deaf3341d..255acfeaa8 100644 --- a/app/styles/components/cryptocoin.scss +++ b/app/styles/components/crypto-donate.scss @@ -1,3 +1,3 @@ -.coin { +.crypto-address { padding: 20px; }