Updated links for docs home with correct values

This commit is contained in:
Piotr Janosz
2019-07-24 17:50:36 +02:00
committed by fabioberger
parent a7944bb3c5
commit d96e307e2c

View File

@@ -11,6 +11,8 @@ import { Heading } from 'ts/components/text';
import { DocsPageLayout } from 'ts/components/docs/layout/docs_page_layout'; import { DocsPageLayout } from 'ts/components/docs/layout/docs_page_layout';
import { constants } from 'ts/utils/constants';
const SEPARATOR_MARGIN = '60px 0'; const SEPARATOR_MARGIN = '60px 0';
export const DocsHome: React.FC = () => { export const DocsHome: React.FC = () => {
@@ -88,19 +90,19 @@ const shortcuts: IShortcutLinkProps[] = [
heading: 'API Explorer', heading: 'API Explorer',
description: 'Browse and filter through all the open-source 0x developer tools', description: 'Browse and filter through all the open-source 0x developer tools',
icon: 'apiExplorer', icon: 'apiExplorer',
url: '/docs/core-concepts', url: '/docs/api-explorer',
}, },
{ {
heading: 'Guides', heading: 'Guides',
description: 'Dive into intermediate and advanced 0x development topics', description: 'Dive into intermediate and advanced 0x development topics',
icon: 'getStarted', icon: 'getStarted',
url: '/docs/get-started', url: '/docs/guides',
}, },
{ {
heading: 'Tools', heading: 'Tools',
description: 'Explore the core 0x library and how to use it', description: 'Explore the core 0x library and how to use it',
icon: 'tools', icon: 'tools',
url: '/docs/core-concepts', url: '/docs/tools',
}, },
]; ];
@@ -111,15 +113,15 @@ const usefulLinks: IStepLinkConfig[] = [
}, },
{ {
title: 'API Explorer', title: 'API Explorer',
url: '/docs/core-concepts', url: '/docs/api-explorer',
}, },
{ {
title: 'Guides', title: 'Guides',
url: '/docs/get-started', url: '/docs/guides',
}, },
{ {
title: 'Tools', title: 'Tools',
url: '/docs/core-concepts', url: '/docs/tools',
}, },
]; ];
@@ -137,12 +139,12 @@ const getStartedLinks: IGetStartedLinkProps[] = [
{ {
heading: 'Launch your in-game marketplace', heading: 'Launch your in-game marketplace',
description: 'Make your in-game items tradable with minimal effort.', description: 'Make your in-game items tradable with minimal effort.',
url: '/docs/get-started', url: '/docs/guides',
}, },
{ {
heading: 'Predict the future with 0x', heading: 'Predict the future with 0x',
description: 'Build a prediction market end-to-end using 0x and Augur.', description: 'Build a prediction market end-to-end using 0x and Augur.',
url: '/docs/core-concepts', url: '/docs/tools',
}, },
]; ];
@@ -151,18 +153,18 @@ const communityShortcuts: ICommunityLinkProps[] = [
heading: 'Discord', heading: 'Discord',
description: 'Chat with the 0x community', description: 'Chat with the 0x community',
icon: 'chat', icon: 'chat',
url: '/docs/core-concepts', url: constants.URL_ZEROEX_CHAT,
}, },
{ {
heading: 'Forum', heading: 'Forum',
description: 'Nerd out with 0x researchers', description: 'Nerd out with 0x researchers',
icon: 'forum', icon: 'forum',
url: '/docs/core-concepts', url: constants.URL_FORUM,
}, },
{ {
heading: 'GitHub', heading: 'GitHub',
description: 'Contribute to development', description: 'Contribute to development',
icon: 'github', icon: 'github',
url: '/docs/get-started', url: constants.URL_GITHUB_ORG,
}, },
]; ];