diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-12-15 06:46:05 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-12-15 06:46:05 +0800 |
commit | 51b1cab72a80b8ef05038ecf392d9c72b8d4294e (patch) | |
tree | d1e777a68730a323f3fa3e873f5a15bad6cdbf59 /packages/website/ts/@next | |
parent | e3dcb7107bdd7bd8197818a05b163985026f7ca2 (diff) | |
download | dexon-0x-contracts-51b1cab72a80b8ef05038ecf392d9c72b8d4294e.tar.gz dexon-0x-contracts-51b1cab72a80b8ef05038ecf392d9c72b8d4294e.tar.zst dexon-0x-contracts-51b1cab72a80b8ef05038ecf392d9c72b8d4294e.zip |
fix(website) replace 0xproject.com with 0x.org
Diffstat (limited to 'packages/website/ts/@next')
9 files changed, 19 insertions, 19 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> |