aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-12-15 06:46:05 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-12-15 06:46:05 +0800
commit51b1cab72a80b8ef05038ecf392d9c72b8d4294e (patch)
treed1e777a68730a323f3fa3e873f5a15bad6cdbf59 /packages/website/ts
parente3dcb7107bdd7bd8197818a05b163985026f7ca2 (diff)
downloaddexon-sol-tools-51b1cab72a80b8ef05038ecf392d9c72b8d4294e.tar
dexon-sol-tools-51b1cab72a80b8ef05038ecf392d9c72b8d4294e.tar.gz
dexon-sol-tools-51b1cab72a80b8ef05038ecf392d9c72b8d4294e.tar.bz2
dexon-sol-tools-51b1cab72a80b8ef05038ecf392d9c72b8d4294e.tar.lz
dexon-sol-tools-51b1cab72a80b8ef05038ecf392d9c72b8d4294e.tar.xz
dexon-sol-tools-51b1cab72a80b8ef05038ecf392d9c72b8d4294e.tar.zst
dexon-sol-tools-51b1cab72a80b8ef05038ecf392d9c72b8d4294e.zip
fix(website) replace 0xproject.com with 0x.org
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx18
-rw-r--r--packages/website/ts/@next/components/header.tsx4
-rw-r--r--packages/website/ts/@next/components/mobileNav.tsx2
-rw-r--r--packages/website/ts/@next/components/modals/modal_contact.tsx2
-rw-r--r--packages/website/ts/@next/components/newsletter_form.tsx4
-rw-r--r--packages/website/ts/@next/components/sections/landing/cta.tsx2
-rw-r--r--packages/website/ts/@next/components/sections/landing/hero.tsx2
-rw-r--r--packages/website/ts/@next/pages/instant/configurator.tsx2
-rw-r--r--packages/website/ts/@next/pages/launch_kit.tsx2
-rw-r--r--packages/website/ts/components/eth_wrappers.tsx2
-rw-r--r--packages/website/ts/components/fill_warning_dialog.tsx2
-rw-r--r--packages/website/ts/components/footer.tsx2
-rw-r--r--packages/website/ts/pages/documentation/docs_home.tsx2
-rw-r--r--packages/website/ts/pages/instant/configurator.tsx2
-rw-r--r--packages/website/ts/utils/configs.ts12
-rw-r--r--packages/website/ts/utils/constants.ts14
16 files changed, 37 insertions, 37 deletions
diff --git a/packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx b/packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx
index 791eae242..dfd351d32 100644
--- a/packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx
+++ b/packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx
@@ -15,41 +15,41 @@ interface Props {
const introData = [
{
label: 'Build a relayer',
- url: 'https://0xproject.com/wiki#Build-A-Relayer',
+ url: 'https://0x.org/wiki#Build-A-Relayer',
},
{
label: 'Develop on Ethereum',
- url: 'https://0xproject.com/wiki#Ethereum-Development',
+ url: 'https://0x.org/wiki#Ethereum-Development',
},
{
label: 'Make & take orders',
- url: 'https://0xproject.com/wiki#Create,-Validate,-Fill-Order',
+ url: 'https://0x.org/wiki#Create,-Validate,-Fill-Order',
},
{
label: 'Use networked liquidity',
- url: 'https://0xproject.com/wiki#Find,-Submit,-Fill-Order-From-Relayer',
+ url: 'https://0x.org/wiki#Find,-Submit,-Fill-Order-From-Relayer',
},
];
const docsData = [
{
label: '0x.js',
- url: 'https://0xproject.com/docs/0x.js',
+ url: 'https://0x.org/docs/0x.js',
},
{
label: '0x Connect',
- url: 'https://0xproject.com/docs/connect',
+ url: 'https://0x.org/docs/connect',
},
{
label: 'Smart Contract',
- url: 'https://0xproject.com/docs/contracts',
+ url: 'https://0x.org/docs/contracts',
},
];
const linksData = [
{
label: 'Wiki',
- url: 'https://0xproject.com/wiki',
+ url: 'https://0x.org/wiki',
},
{
label: 'Github',
@@ -135,7 +135,7 @@ export const DropdownDevelopers: React.FunctionComponent<Props> = withTheme((pro
</Column>
</StyledWrap>
- <StyledLink to="https://0xproject.com/docs" bgColor={props.theme.dropdownButtonBg} isAccentColor={true} isNoBorder={true}>
+ <StyledLink to="https://0x.org/docs" bgColor={props.theme.dropdownButtonBg} isAccentColor={true} isNoBorder={true}>
View All Documentation
</StyledLink>
</DropdownWrap>
diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx
index 568c279bd..fde549642 100644
--- a/packages/website/ts/@next/components/header.tsx
+++ b/packages/website/ts/@next/components/header.tsx
@@ -60,7 +60,7 @@ const navItems: NavItemProps[] = [
},
{
id: 'blog',
- url: 'https://blog.0xproject.com/latest',
+ url: 'https://blog.0x.org/latest',
text: 'Blog',
},
];
@@ -89,7 +89,7 @@ class HeaderBase extends React.Component<HeaderProps> {
<TradeButton
bgColor={theme.headerButtonBg}
color="#ffffff"
- href="https://0xproject.com/portal"
+ href="https://0x.org/portal"
>
Trade on 0x
</TradeButton>
diff --git a/packages/website/ts/@next/components/mobileNav.tsx b/packages/website/ts/@next/components/mobileNav.tsx
index 35b4353e1..52a46ed69 100644
--- a/packages/website/ts/@next/components/mobileNav.tsx
+++ b/packages/website/ts/@next/components/mobileNav.tsx
@@ -49,7 +49,7 @@ export class MobileNav extends React.PureComponent<Props> {
</Link>
</li>
<li>
- <Link to="https://blog.0xproject.com/latest">
+ <Link to="https://blog.0x.org/latest">
Blog
</Link>
</li>
diff --git a/packages/website/ts/@next/components/modals/modal_contact.tsx b/packages/website/ts/@next/components/modals/modal_contact.tsx
index 1a78cb7ce..f107b9174 100644
--- a/packages/website/ts/@next/components/modals/modal_contact.tsx
+++ b/packages/website/ts/@next/components/modals/modal_contact.tsx
@@ -132,7 +132,7 @@ export class ModalContact extends React.Component<Props> {
this.setState({ ...this.state, isSubmitting: true });
try {
- await fetch('https://website-api.0xproject.com/leads', {
+ await fetch('https://website-api.0x.org/leads', {
method: 'post',
mode: 'cors',
credentials: 'same-origin',
diff --git a/packages/website/ts/@next/components/newsletter_form.tsx b/packages/website/ts/@next/components/newsletter_form.tsx
index 00770bb7d..859cd1d9c 100644
--- a/packages/website/ts/@next/components/newsletter_form.tsx
+++ b/packages/website/ts/@next/components/newsletter_form.tsx
@@ -55,12 +55,12 @@ export class NewsletterForm extends React.Component {
e.preventDefault();
const email = this.emailInput.current.value;
- const referrer = 'https://0xproject.com/';
+ const referrer = 'https://0x.org/';
this.setState({ isSubmitted: true });
try {
- const response = await fetch('https://website-api.0xproject.com/newsletter_subscriber/substack', {
+ const response = await fetch('https://website-api.0x.org/newsletter_subscriber/substack', {
method: 'post',
mode: 'cors',
headers: {
diff --git a/packages/website/ts/@next/components/sections/landing/cta.tsx b/packages/website/ts/@next/components/sections/landing/cta.tsx
index 1a959a6e9..d0429755c 100644
--- a/packages/website/ts/@next/components/sections/landing/cta.tsx
+++ b/packages/website/ts/@next/components/sections/landing/cta.tsx
@@ -22,7 +22,7 @@ export const SectionLandingCta = (props: Props) => (
iconComponent={<AnimatedCompassIcon />}
title="Ready to build on 0x?"
linkLabel="Get Started"
- linkUrl="https://0xproject.com/docs"
+ linkUrl="https://0x.org/docs"
/>
<BlockIconLink
iconComponent={<AnimatedChatIcon />}
diff --git a/packages/website/ts/@next/components/sections/landing/hero.tsx b/packages/website/ts/@next/components/sections/landing/hero.tsx
index 6bd34c46d..85290d1c6 100644
--- a/packages/website/ts/@next/components/sections/landing/hero.tsx
+++ b/packages/website/ts/@next/components/sections/landing/hero.tsx
@@ -20,7 +20,7 @@ export const SectionLandingHero = () => (
const HeroActions = () => (
<>
- <Button href="https://0xproject.com/docs" isInline={true}>
+ <Button href="https://0x.org/docs" isInline={true}>
Get Started
</Button>
diff --git a/packages/website/ts/@next/pages/instant/configurator.tsx b/packages/website/ts/@next/pages/instant/configurator.tsx
index 15c9ba2ca..e4334eabb 100644
--- a/packages/website/ts/@next/pages/instant/configurator.tsx
+++ b/packages/website/ts/@next/pages/instant/configurator.tsx
@@ -62,7 +62,7 @@ export class Configurator extends React.Component {
<html>
<head>
<meta charset="utf-8" />
- <script src="https://instant.0xproject.com/instant.js"></script>
+ <script src="https://instant.0x.org/instant.js"></script>
</head>
<body>
<script>
diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx
index 30fedba1b..3161d9cf0 100644
--- a/packages/website/ts/@next/pages/launch_kit.tsx
+++ b/packages/website/ts/@next/pages/launch_kit.tsx
@@ -118,7 +118,7 @@ export class NextLaunchKit extends React.Component {
const HeroActions = () => (
<>
- <Button href="https://0xproject.com/docs" isInline={true}>
+ <Button href="https://0x.org/docs" isInline={true}>
Get Started
</Button>
diff --git a/packages/website/ts/components/eth_wrappers.tsx b/packages/website/ts/components/eth_wrappers.tsx
index 4a9f3b2fe..61daa1103 100644
--- a/packages/website/ts/components/eth_wrappers.tsx
+++ b/packages/website/ts/components/eth_wrappers.tsx
@@ -209,7 +209,7 @@ export class EthWrappers extends React.Component<EthWrappersProps, EthWrappersSt
<Divider />
<div className="pt2" style={{ lineHeight: 1.5 }}>
The{' '}
- <a href="https://blog.0xproject.com/canonical-weth-a9aa7d0279dd" target="_blank">
+ <a href="https://blog.0x.org/canonical-weth-a9aa7d0279dd" target="_blank">
canonical WETH
</a>{' '}
contract is updated when necessary. Unwrap outdated WETH in order to
 retrieve your ETH and move
diff --git a/packages/website/ts/components/fill_warning_dialog.tsx b/packages/website/ts/components/fill_warning_dialog.tsx
index 430abd013..feb72c2ee 100644
--- a/packages/website/ts/components/fill_warning_dialog.tsx
+++ b/packages/website/ts/components/fill_warning_dialog.tsx
@@ -35,7 +35,7 @@ export const FillWarningDialog = (props: FillWarningDialogProps) => {
<div>
At least one of the tokens in this order was not found in the token registry smart contract and may
be counterfeit. It is your responsibility to verify the token addresses on Etherscan (
- <a href="https://0xproject.com/wiki#Verifying-Custom-Tokens" target="_blank">
+ <a href="https://0x.org/wiki#Verifying-Custom-Tokens" target="_blank">
See this how-to guide
</a>) before filling an order. <b>This action may result in the loss of funds</b>.
</div>
diff --git a/packages/website/ts/components/footer.tsx b/packages/website/ts/components/footer.tsx
index 1098d6d0b..6366bf4ea 100644
--- a/packages/website/ts/components/footer.tsx
+++ b/packages/website/ts/components/footer.tsx
@@ -107,7 +107,7 @@ export class Footer extends React.Component<FooterProps, FooterState> {
},
{
title: this.props.translate.get(Key.Contact, Deco.Cap),
- to: 'mailto:team@0xproject.com',
+ to: 'mailto:team@0x.org',
shouldOpenInNewTab: true,
},
],
diff --git a/packages/website/ts/pages/documentation/docs_home.tsx b/packages/website/ts/pages/documentation/docs_home.tsx
index 9dc779e96..c52d7bd8b 100644
--- a/packages/website/ts/pages/documentation/docs_home.tsx
+++ b/packages/website/ts/pages/documentation/docs_home.tsx
@@ -58,7 +58,7 @@ const CATEGORY_TO_PACKAGES: ObjectMap<Package[]> = {
[Categories.ZeroExProtocol]: [
{
description:
- 'A library for interacting with the 0x protocol. It is a high level package which combines a number of smaller specific-purpose packages such as [order-utils](https://0xproject.com/docs/order-utils) and [contract-wrappers](https://0xproject.com/docs/contract-wrappers).',
+ 'A library for interacting with the 0x protocol. It is a high level package which combines a number of smaller specific-purpose packages such as [order-utils](https://0x.org/docs/order-utils) and [contract-wrappers](https://0x.org/docs/contract-wrappers).',
link: {
title: '0x.js',
to: WebsitePaths.ZeroExJs,
diff --git a/packages/website/ts/pages/instant/configurator.tsx b/packages/website/ts/pages/instant/configurator.tsx
index 2cb1a1c1c..a9dd5864c 100644
--- a/packages/website/ts/pages/instant/configurator.tsx
+++ b/packages/website/ts/pages/instant/configurator.tsx
@@ -74,7 +74,7 @@ export class Configurator extends React.Component<ConfiguratorProps> {
<html>
<head>
<meta charset="utf-8" />
- <script src="https://instant.0xproject.com/instant.js"></script>
+ <script src="https://instant.0x.org/instant.js"></script>
</head>
<body>
<script>
diff --git a/packages/website/ts/utils/configs.ts b/packages/website/ts/utils/configs.ts
index 7b74eccfb..7cc854ca0 100644
--- a/packages/website/ts/utils/configs.ts
+++ b/packages/website/ts/utils/configs.ts
@@ -5,17 +5,17 @@ const INFURA_API_KEY = 'T5WSC8cautR4KXyYgsRs';
export const configs = {
AMOUNT_DISPLAY_PRECSION: 5,
- BACKEND_BASE_PROD_URL: 'https://website-api.0xproject.com',
- BACKEND_BASE_STAGING_URL: 'https://staging-website-api.0xproject.com',
+ BACKEND_BASE_PROD_URL: 'https://website-api.0x.org',
+ BACKEND_BASE_STAGING_URL: 'https://staging-website-api.0x.org',
BASE_URL,
BITLY_ACCESS_TOKEN: 'ffc4c1a31e5143848fb7c523b39f91b9b213d208',
DEFAULT_DERIVATION_PATH: `44'/60'/0'`,
// WARNING: ZRX & WETH MUST always be default trackedTokens
DEFAULT_TRACKED_TOKEN_SYMBOLS: ['WETH', 'ZRX'],
DOMAIN_STAGING: 'staging-0xproject.s3-website-us-east-1.amazonaws.com',
- DOMAIN_DOGFOOD: 'dogfood.0xproject.com',
+ DOMAIN_DOGFOOD: 'dogfood.0x.org',
DOMAINS_DEVELOPMENT: ['0xproject.localhost:3572', 'localhost:3572', '127.0.0.1'],
- DOMAIN_PRODUCTION: '0xproject.com',
+ DOMAIN_PRODUCTION: '0x.org',
GOOGLE_ANALYTICS_ID: 'UA-98720122-1',
LAST_LOCAL_STORAGE_FILL_CLEARANCE_DATE: '2017-11-22',
LAST_LOCAL_STORAGE_TRACKED_TOKEN_CLEARANCE_DATE: '2018-9-7',
@@ -39,8 +39,8 @@ export const configs = {
] as OutdatedWrappedEtherByNetworkId[],
// The order matters. We first try first node and only then fall back to others.
PUBLIC_NODE_URLS_BY_NETWORK_ID: {
- [1]: [`https://mainnet.infura.io/${INFURA_API_KEY}`, 'https://mainnet.0xproject.com'],
- [42]: [`https://kovan.infura.io/${INFURA_API_KEY}`, 'https://kovan.0xproject.com'],
+ [1]: [`https://mainnet.infura.io/${INFURA_API_KEY}`, 'https://mainnet.0x.org'],
+ [42]: [`https://kovan.infura.io/${INFURA_API_KEY}`, 'https://kovan.0x.org'],
[3]: [`https://ropsten.infura.io/${INFURA_API_KEY}`],
[4]: [`https://rinkeby.infura.io/${INFURA_API_KEY}`],
} as PublicNodeUrlsByNetworkId,
diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts
index 715199515..3248d3911 100644
--- a/packages/website/ts/utils/constants.ts
+++ b/packages/website/ts/utils/constants.ts
@@ -2,7 +2,7 @@ import { ALink } from '@0x/react-shared';
import { BigNumber } from '@0x/utils';
import { Key, WebsitePaths } from 'ts/types';
-const URL_FORUM = 'https://forum.0xproject.com';
+const URL_FORUM = 'https://forum.0x.org';
const URL_ZEROEX_CHAT = 'https://discord.gg/d3FTX3M';
export const constants = {
@@ -47,7 +47,7 @@ export const constants = {
TAKER_FEE: new BigNumber(0),
TESTNET_NAME: 'Kovan',
NUMERAL_USD_FORMAT: '$0,0.00',
- EMAIL_JOBS: 'jobs@0xproject.com',
+ EMAIL_JOBS: 'jobs@0x.org',
PROJECT_URL_ETHFINEX: 'https://www.ethfinex.com/',
PROJECT_URL_AMADEUS: 'http://amadeusrelay.org',
PROJECT_URL_DDEX: 'https://ddex.io',
@@ -74,10 +74,10 @@ export const constants = {
URL_ANGELLIST: 'https://angel.co/0xproject/jobs',
URL_APACHE_LICENSE: 'http://www.apache.org/licenses/LICENSE-2.0',
URL_BITLY_API: 'https://api-ssl.bitly.com',
- URL_BLOG: 'https://blog.0xproject.com/latest',
- URL_DISCOURSE_FORUM: 'https://forum.0xproject.com',
+ URL_BLOG: 'https://blog.0x.org/latest',
+ URL_DISCOURSE_FORUM: 'https://forum.0x.org',
URL_FIREFOX_U2F_ADDON: 'https://addons.mozilla.org/en-US/firefox/addon/u2f-support-add-on/',
- URL_TESTNET_FAUCET: 'https://faucet.0xproject.com',
+ URL_TESTNET_FAUCET: 'https://faucet.0x.org',
URL_GITHUB_ORG: 'https://github.com/0xProject',
URL_GITHUB_WIKI: 'https://github.com/0xProject/wiki',
URL_FORUM,
@@ -99,14 +99,14 @@ export const constants = {
URL_WETH_IO: 'https://weth.io/',
URL_ZEROEX_CHAT,
URL_LAUNCH_KIT: 'https://github.com/0xProject/0x-launch-kit',
- URL_LAUNCH_KIT_BLOG_POST: 'https://blog.0xproject.com/introducing-the-0x-launch-kit-4acdc3453585',
+ URL_LAUNCH_KIT_BLOG_POST: 'https://blog.0x.org/introducing-the-0x-launch-kit-4acdc3453585',
URL_WEB3_DOCS: 'https://github.com/ethereum/wiki/wiki/JavaScript-API',
URL_WEB3_DECODED_LOG_ENTRY_EVENT:
'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L123',
URL_WEB3_LOG_ENTRY_EVENT: 'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L127',
URL_WEB3_PROVIDER_DOCS: 'https://github.com/0xProject/web3-typescript-typings/blob/f5bcb96/index.d.ts#L150',
URL_BIGNUMBERJS_GITHUB: 'http://mikemcl.github.io/bignumber.js',
- URL_MISSION_AND_VALUES_BLOG_POST: 'https://blog.0xproject.com/the-0x-mission-and-values-181a58706f9f',
+ URL_MISSION_AND_VALUES_BLOG_POST: 'https://blog.0x.org/the-0x-mission-and-values-181a58706f9f',
DEVELOPER_TOPBAR_LINKS: [
{
title: Key.Wiki,