From 22302affbb5f97368c79c9f9681dc92378c09412 Mon Sep 17 00:00:00 2001 From: george-gkas Date: Wed, 15 Feb 2023 12:20:45 +0200 Subject: [PATCH] replace MetaMask icon with a generic one --- README.md | 2 +- client/public/memtamask.webp | Bin 21062 -> 0 bytes client/public/wallet.svg | 3 +++ client/src/components/AddNetwork.tsx | 10 +++++----- client/src/components/FaucetForm.tsx | 6 +++--- .../src/components/{Metamask.ts => Wallet.ts} | 6 +++--- client/src/components/styles/FaucetForm.css | 10 +++++----- 7 files changed, 20 insertions(+), 17 deletions(-) delete mode 100644 client/public/memtamask.webp create mode 100644 client/public/wallet.svg rename client/src/components/{Metamask.ts => Wallet.ts} (90%) diff --git a/README.md b/README.md index e18b37b..b8734db 100644 --- a/README.md +++ b/README.md @@ -404,7 +404,7 @@ Put your wallet address where you want to get a drop, and click the **Request** ### More Interactions -This is not just it. Using the buttons shown below, you can go to the Subnet explorer or add the Subnet to your browser wallet extensions like Metamask with a single click. +This is not just it. Using the buttons shown below, you can go to the Subnet explorer or add the Subnet to your browser wallet extensions like Metamask or Trust Wallet with a single click. ![](https://raw.githubusercontent.com/ava-labs/avalanche-docs/master/static/img/faucet-4.png) diff --git a/client/public/memtamask.webp b/client/public/memtamask.webp deleted file mode 100644 index 8dc7ed46ce3f48d62029d474e14885c60cc50b00..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21062 zcmZU4V~j68(C*r{ZQJ(lZ*8BoZQHhO+qP}n<~h4(^`8Gt-kY1;W-q-G}op1A@ielqd%Beum=)w^=sOhJXqu-F7Tq~ zc99uSPB`2#32WNZXKW3h4FfsI1dwD0(>9Ly=*T$sThXib?KkZ{oO>^^gtmh8 zKU6|$a;@Kft+!P)>}6Gay-wM6RZ~}2ExBK@psut}8^?utN zoIqv27~!)5>sb$}|ps%(~g`WkEtXu4@MxZjb@&DLzoK3*}nS^Jx4 zSWgvhdtEP6-SP-iB_%>$v6oM=&Wvw+kC&EZ+c5=OzeWF2rnXe9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K8LBXU(PRGHextvb=fCPDF{Gew%cYb)+<)YKz8~}+`4=kojp>yU{ zIK`vXo3D{9Lb+4G}Xk1ZNNrQ)FnQ0vj05@KBh#C_2;e-ODjoW6w2YJBw)FZW#f>Hjr%nxiX@$${P63SHc5=nw z2~0jN3Aa})xdu0W@eq3f54wlvRoIEBWDIDC(?+^6^9^u$(Pl!9dyA7VfU)R* zGD9e&@V?AF`8;+~kXe}h4`ct5SHzVY;N_SN%&h`|FOuUo16=&l+|1t=m&Yyfq*JEG zMC@NUIgEE&_sxYUQnSW)zm&vsSJwHLB{4HA+l`mVysx(x$4s>x09ztSo?9xEIwqO| zms1molJ!8tF-Z~z%RHEq@eKm~7b9SQ%uIA7+q_DgbB4BYlBE3JrnxdM9XmGvjU)m1 zZR?*E$)Nu-(m)ThW0haoSt}%$*g*sVoRIY4*pT%tN}e7g+U`9he+f}hQ)XL-XtU{D zndMcQl1`QJG&6mvaHzGWsUXSnAjWgobgycVF(^SlL6(0^v|)^QXC(8T{-&0tKw z`BppJ;<1yGZ8k6UwKwR__(`X&ZU%TIBqVJ`;>|Dj?f=+FFLlfB#0v3Qfg8BFzd;}F zU;}0rKY?u&5~kRHxZ3T9_q~%}bd1kcaT>rk3X-%UwI3|t3a}mSzvzJ#sRNnp%;hPx z^1_PLgs?y;z!^>gw4Z{!jXvaKz}hfU`JzTE!cj8712zJR6^w9$`j z#VlbJ9s+p0+2~2QqJ0xA#BIH)#=z)GW@sD7!iv(|qiZ?(z;IZR9E#f+jmw(=SNJ}B%?#MQ>kMtkuKhl4s|49Fl{v-WI`j7M<=|9qcr2k0&k^Uq7NBWQSAL&2Rf29BHTpA4% Czg`#s diff --git a/client/public/wallet.svg b/client/public/wallet.svg new file mode 100644 index 0000000..b079aa0 --- /dev/null +++ b/client/public/wallet.svg @@ -0,0 +1,3 @@ + + + diff --git a/client/src/components/AddNetwork.tsx b/client/src/components/AddNetwork.tsx index 0de7c25..c914025 100644 --- a/client/src/components/AddNetwork.tsx +++ b/client/src/components/AddNetwork.tsx @@ -1,11 +1,11 @@ -import { addNetwork, addAsset } from "./Metamask" +import { addNetwork, addAsset } from "./Wallet" export default function AddNetwork(props: any) { return (
}
diff --git a/client/src/components/FaucetForm.tsx b/client/src/components/FaucetForm.tsx index e93e4f7..a2e2d57 100644 --- a/client/src/components/FaucetForm.tsx +++ b/client/src/components/FaucetForm.tsx @@ -8,7 +8,7 @@ import ReCaptcha from './ReCaptcha' import FooterBox from './FooterBox' import queryString from 'query-string' import { DropdownOption } from './types' -import { connectAccount } from './Metamask' +import { connectAccount } from './Wallet' import { AxiosResponse } from 'axios' const FaucetForm = (props: any) => { @@ -516,8 +516,8 @@ const FaucetForm = (props: any) => { autoFocus /> - connectAccount(updateAddress) }> - metamask + connectAccount(updateAddress) }> + wallet Connect diff --git a/client/src/components/Metamask.ts b/client/src/components/Wallet.ts similarity index 90% rename from client/src/components/Metamask.ts rename to client/src/components/Wallet.ts index 415fbd8..ae1a2bb 100644 --- a/client/src/components/Metamask.ts +++ b/client/src/components/Wallet.ts @@ -9,7 +9,7 @@ export const addNetwork = async (config: any): Promise => { return } if(window.ethereum == undefined) { - window.open('https://metamask.io/download', '_blank') + window.open('https://ethereum.org/en/wallets/find-wallet/', '_blank') } await window?.ethereum?.request({ @@ -35,7 +35,7 @@ export const addAsset = async (config: any): Promise => { return } if(window.ethereum == undefined) { - window.open('https://metamask.io/download', '_blank') + window.open('https://ethereum.org/en/wallets/find-wallet/', '_blank') } await window?.ethereum?.request({ @@ -55,7 +55,7 @@ export const addAsset = async (config: any): Promise => { export const connectAccount = async (updateAddress: any, showPopup = true) => { if(window.ethereum == undefined) { - showPopup && window.open('https://metamask.io/download', '_blank') + showPopup && window.open('https://ethereum.org/en/wallets/find-wallet/', '_blank') return } diff --git a/client/src/components/styles/FaucetForm.css b/client/src/components/styles/FaucetForm.css index 74ba6de..c277584 100644 --- a/client/src/components/styles/FaucetForm.css +++ b/client/src/components/styles/FaucetForm.css @@ -106,7 +106,7 @@ a { padding: 0 12px; } -.connect-metamask { +.connect-wallet { cursor: pointer; color: rgb(180, 180, 183); margin-right: 5px; @@ -116,12 +116,12 @@ a { font-size: 10px } -.connect-metamask > img { - width: 25px; - height: 25px; +.connect-wallet > img { + width: 20px; + height: 20px; } -.connect-metamask:hover { +.connect-wallet:hover { color: white; }