Skip to content

Commit

Permalink
hotfix: change terra.money domain references.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwmerz committed Aug 21, 2023
1 parent 43e5a0b commit 3933bce
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 25 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "terra-station",
"description": "A web application to interact with Terra Core.",
"hompage": "https://station.terra.money",
"author": "Terra <[email protected]> (https://terra.money)",
"hompage": "https://station.money",
"author": "Terra <[email protected]> (https://station.money)",
"repository": "github:terra-money/station",
"version": "7.3.1",
"license": "MIT",
Expand Down
20 changes: 16 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,26 @@
<head>
<meta charset="utf-8" />
<meta name="terra-wallet" />
<meta name="description" content="Station is a web application to interact with Terra Core and other supported chains." />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta
name="description"
content="Station is a web application to interact with Terra Core and other supported chains."
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1, user-scalable=no"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Station" />
<meta name="twitter:description" content="Station is a web application to interact with Terra Core and other supported chains." />
<meta
name="twitter:description"
content="Station is a web application to interact with Terra Core and other supported chains."
/>
<meta name="twitter:site" content="@terra_money" />
<meta name="twitter:creator" content="@terra_money" />
<meta name="twitter:image" content="https://docs.terra.money/assets/files/station-banner-81b3c492eccde6aa05f1f4ee06cf71ee.png" />
<meta
name="twitter:image"
content="https://docs-terra.pages.dev/assets/files/station-banner-81b3c492eccde6aa05f1f4ee06cf71ee.png"
/>
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="icon" id="favicon" href="%PUBLIC_URL%/favicon.svg" />
<title>Station</title>
Expand Down
6 changes: 3 additions & 3 deletions src/app/sections/WelcomeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const accordions = [
<span className={styles.highlighted}>New wallet</span>,
". You can find a guide ",
<ExternalLink
href="https://docs.terra.money/learn/station/wallet#create-a-wallet"
href="https://docs-terra.pages.dev/learn/station/wallet#create-a-wallet"
target="_blank"
rel="noopener noreferrer"
>
Expand All @@ -40,7 +40,7 @@ const accordions = [
[
" You can find a guide ",
<ExternalLink
href="https://docs.terra.money/learn/station/migration/"
href="https://docs-terra.pages.dev/learn/station/migration/"
target="_blank"
rel="noopener noreferrer"
>
Expand All @@ -58,7 +58,7 @@ const accordions = [
<span className={styles.highlighted}>Access with ledger</span>,
" in the Station extension or ",
<ExternalLink
href="https://station.terra.money/"
href="https://station.money/"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
11 changes: 5 additions & 6 deletions src/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,21 @@ export const LAZY_LIMIT = 999
export const BRIDGE = "https://walletconnect.terra.dev"

/* api */
export const ASSETS =
process.env.REACT_APP_ASSETS ?? "https://assets.terra.money"
export const ASSETS = process.env.REACT_APP_ASSETS ?? "https://assets.terra.dev"
export const STATION_ASSETS =
process.env.REACT_APP_STATION_ASSETS ?? "https://station-assets.terra.money"
process.env.REACT_APP_STATION_ASSETS ?? "https://station-assets.terra.dev"

export const OBSERVER = "wss://observer.terra.dev"

/* website */
export const STATION = "https://station.terra.money"
export const STATION = "https://station.terra.dev"
export const FINDER = "https://terrascope.info"
export const MINTSCAN = "https://www.mintscan.io"
export const EXTENSION =
"https://chrome.google.com/webstore/detail/aiifbnbfobpmeekipheeijimdpnlpgpp"
export const DOCUMENTATION =
"https://docs.terra.money/learn/station/download/station-desktop.html"
export const SETUP = "https://setup-station.terra.money/"
"https://docs-terra.pages.dev/learn/station/download/station-desktop.html"
export const SETUP = "https://setup.station.money/"
export const MARS_TEST_EXPLORER = "https://testnet-explorer.marsprotocol.io"
export const MARS_EXPLORER = "https://explorer.marsprotocol.io"

Expand Down
2 changes: 1 addition & 1 deletion src/data/external/osmosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const OSMOSIS_API_URL = "https://api-osmosis.imperator.co"

export const GAMM_TOKEN_DECIMALS = 18
export const OSMO_ICON =
"https://station-assets.terra.money/img/chains/Osmosis.svg"
"https://station-assets.terra.dev/img/chains/Osmosis.svg"

interface IOsmosisPoolAsset {
symbol: string
Expand Down
8 changes: 4 additions & 4 deletions src/data/token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export const useNativeDenoms = () => {
token: denom,
symbol: "LUNC",
name: "Luna Classic",
icon: "https://assets.terra.money/icon/svg/LUNC.svg",
icon: "https://assets.terra.dev/icon/svg/LUNC.svg",
decimals: 6,
isNonWhitelisted: false,
}
Expand All @@ -197,7 +197,7 @@ export const useNativeDenoms = () => {
token: denom,
symbol: "LUNA",
name: "Luna",
icon: "https://assets.terra.money/icon/svg/Luna.svg",
icon: "https://assets.terra.dev/icon/svg/Luna.svg",
decimals: 6,
isNonWhitelisted: false,
}
Expand All @@ -213,10 +213,10 @@ export const useNativeDenoms = () => {
type: tokenType,
icon:
tokenType === TokenType.IBC
? "https://assets.terra.money/icon/svg/IBC.svg"
? "https://assets.terra.dev/icon/svg/IBC.svg"
: tokenType === TokenType.FACTORY || TokenType.GAMM
? factoryIcon
: "https://assets.terra.money/icon/svg/Terra.svg",
: "https://assets.terra.dev/icon/svg/Terra.svg",
decimals,
isNonWhitelisted: true,
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/gov/ProposalDescription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function isLinkSafe(url: string) {
const { protocol, hostname } = new URL(url)
return (
protocol === "https:" &&
(hostname === "terra.money" || hostname.endsWith(".terra.money"))
(hostname === "terra.dev" || hostname.endsWith(".terra.dev"))
)
} catch (e) {
return false
Expand Down
2 changes: 1 addition & 1 deletion src/pages/wallet/AssetActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const AssetActions = ({ token, symbol, balance }: Props) => {
{token.startsWith("ibc/") && (
<ExternalIconLink
icon={<OpenInNewIcon style={{ fontSize: 18 }} />}
href={`https://bridge.terra.money`}
href={`https://bridge.station.money`}
>
{t("Bridge")}
</ExternalIconLink>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/wallet/AssetList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const AssetList = () => {
[key]: {
denom: data.token,
balance: amount,
icon: "https://assets.terra.money/icon/svg/LUNC.svg",
icon: "https://assets.terra.dev/icon/svg/LUNC.svg",
symbol: "LUNC",
price: prices?.["uluna:classic"]?.price ?? 0,
change: prices?.["uluna:classic"]?.change ?? 0,
Expand Down
4 changes: 2 additions & 2 deletions src/txs/gov/SubmitProposalForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ const SubmitProposalForm = ({ chain }: { chain: string }) => {
{networks[chain]?.prefix === "terra" && (
<FormHelp>
Upload proposal only after forum discussion on{" "}
<ExternalLink href="https://agora.terra.money">
agora.terra.money
<ExternalLink href="https://commonwealth.im/terra">
commonwealth.im/terra
</ExternalLink>
</FormHelp>
)}
Expand Down

1 comment on commit 3933bce

@Splashmou
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Please sign in to comment.