change url to the ghost-connect
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
b11330bd23
commit
a9f34987f2
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ghost-dao-interface",
|
||||
"private": true,
|
||||
"version": "0.7.32",
|
||||
"version": "0.7.33",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@ -4,7 +4,7 @@ import { parseKnownToken } from "../../components/Token/Token";
|
||||
import { useUnstableProvider } from "../../hooks/ghost";
|
||||
import { PrimaryButton } from "../Button"
|
||||
|
||||
const GHOST_CONNECT = 'https://git.ghostchain.io/ghostchain/ghost-extension-wallet/releases';
|
||||
import { GHOST_CONNECT } from "../../constants/ecosystem";
|
||||
|
||||
function GhostChainSelect({ small }) {
|
||||
const { providerDetail, isConnected } = useUnstableProvider();
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
import { NetworkId } from "../constants";
|
||||
|
||||
const GHOST_CONNECT = "https://connect.ghostchain.io/";
|
||||
|
||||
export const ECOSYSTEM = [
|
||||
{
|
||||
name: "GHOST chain",
|
||||
|
||||
@ -16,6 +16,7 @@ import Token from "../../components/Token/Token";
|
||||
import GhostStyledIcon from "../../components/Icon/GhostIcon";
|
||||
import { PrimaryButton, SecondaryButton } from "../../components/Button";
|
||||
import { GATEKEEPER_ADDRESSES, EMPTY_ADDRESS } from "../../constants/addresses";
|
||||
import { GHOST_CONNECT } from "../../constants/ecosystem";
|
||||
|
||||
import { useLocalStorage } from "../../hooks/localstorage";
|
||||
import { useBreakoutModal } from "../../hooks/breakoutModal";
|
||||
@ -175,7 +176,7 @@ const BridgeView = ({
|
||||
</Box>
|
||||
|
||||
<Typography>
|
||||
Generate a unique address for per tx with <Link underline="hover" href={"https://git.ghostchain.io/ghostchain/ghost-extension-wallet/releases"} color={theme.colors.primary[300]}>GHOST connect</Link> for privacy.
|
||||
Generate a unique address for per tx with <Link underline="hover" href={GHOST_CONNECT} color={theme.colors.primary[300]}>GHOST connect</Link> for privacy.
|
||||
</Typography>
|
||||
|
||||
<SwapCard
|
||||
|
||||
@ -24,6 +24,7 @@ import { PrimaryButton, TertiaryButton, SecondaryButton } from "../../components
|
||||
import { formatCurrency } from "../../helpers";
|
||||
import { DecimalBigNumber } from "../../helpers/DecimalBigNumber";
|
||||
import { GATEKEEPER_ADDRESSES } from "../../constants/addresses";
|
||||
import { GHOST_CONNECT } from "../../constants/ecosystem";
|
||||
|
||||
export const BridgeModal = ({
|
||||
providerDetail,
|
||||
@ -113,15 +114,8 @@ export const BridgeModal = ({
|
||||
>
|
||||
<SecondaryButton
|
||||
fullWidth
|
||||
sx={{
|
||||
marginTop: "0 !important",
|
||||
marginBottom: "0 !important"
|
||||
}}
|
||||
onClick={() => window.open(
|
||||
'https://git.ghostchain.io/ghostchain/ghost-extension-wallet/releases',
|
||||
'_blank',
|
||||
'noopener,noreferrer'
|
||||
)}
|
||||
sx={{ marginTop: "0 !important", marginBottom: "0 !important" }}
|
||||
onClick={() => window.open(GHOST_CONNECT, '_blank', 'noopener,noreferrer')}
|
||||
>
|
||||
Get GHOST Connect
|
||||
</SecondaryButton>
|
||||
|
||||
@ -25,6 +25,8 @@ import GhostStyledIcon from "../../components/Icon/GhostIcon";
|
||||
import InfoTooltip from "../../components/Tooltip/InfoTooltip";
|
||||
import { PrimaryButton } from "../../components/Button";
|
||||
|
||||
import { GHOST_CONNECT } from "../../constants/ecosystem";
|
||||
|
||||
export const ValidatorTable = ({
|
||||
currentTime,
|
||||
currentBlock,
|
||||
@ -108,7 +110,7 @@ export const ValidatorTable = ({
|
||||
<Typography sx={{ textAlign: "center" }} variant="h6">GHOST Connect is not detected on your browser!</Typography>
|
||||
<Typography sx={{ textAlign: "center" }} variant="body2">Download GHOST Connect browser extension for real-time visibility into validator status and related transaction risks.</Typography>
|
||||
<Typography sx={{ textAlign: "center" }} variant="body2"><b>Important:</b> The GHOST Connect is optional, but be aware that your bridge transaction will succeed or fail irreversibly based on the condition of the validators.</Typography>
|
||||
<PrimaryButton onClick={() => window.open('https://git.ghostchain.io/ghostchain/ghost-extension-wallet/releases', '_blank', 'noopener,noreferrer')}>
|
||||
<PrimaryButton onClick={() => window.open(GHOST_CONNECT, '_blank', 'noopener,noreferrer')}>
|
||||
Get GHOST Connect
|
||||
</PrimaryButton>
|
||||
</Box>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user