-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Mobile support * Rename supportedDevice to isSupportedDevice * Update UniSat URL * feat: add info on selector button * reduce sizing * new on hover effect * remove unused css * ocd style fixing * rever changes * use isMobile to conditionally render info * new styling * reset styling * moar styling fix * Update packages/ord-connect/src/components/SelectWalletModal/index.tsx --------- Co-authored-by: G9000 <leo.caesar@live.com> Co-authored-by: Keng Ye <kengyeleow@gmail.com> Co-authored-by: Keng Ye <40191153+kyleleow@users.noreply.github.com>
- Loading branch information
1 parent
a6f1697
commit 742639d
Showing
7 changed files
with
150 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
// Both Unisat and Xverse only support Chrome | ||
export const UNISAT_WALLET_CHROME_EXTENSION_URL = | ||
"https://chrome.google.com/webstore/detail/unisat-wallet/ppbibelpcjmhbdihakflkdcoccbgbkpo"; | ||
// their www subdomain doesn't work lol | ||
export const UNISAT_WALLET_CHROME_EXTENSION_URL = "https://unisat.io/download"; | ||
export const XVERSE_WALLET_CHROME_EXTENSION_URL = | ||
"https://chrome.google.com/webstore/detail/xverse-wallet/idnnbdplmphpflfnlkomgpfbpcgelopg"; | ||
"https://www.xverse.app/download"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export function isMobileDevice() { | ||
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( | ||
navigator.userAgent, | ||
); | ||
} |