aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-02 06:01:02 +0800
committerFabio Berger <me@fabioberger.com>2018-08-02 06:01:02 +0800
commit0132286cab49ff6c705abd70cdd89e36b3550c27 (patch)
tree3fced9e9822d9807e3e688da0de72369eebb0c7d /packages/website/ts/index.tsx
parent2494af99aad4dd58c0d4e647dedf72946cb3c20b (diff)
downloaddexon-0x-contracts-0132286cab49ff6c705abd70cdd89e36b3550c27.tar.gz
dexon-0x-contracts-0132286cab49ff6c705abd70cdd89e36b3550c27.tar.zst
dexon-0x-contracts-0132286cab49ff6c705abd70cdd89e36b3550c27.zip
Add contract-wrappers page and make topBar component more concise
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r--packages/website/ts/index.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index ed52e28d2..36b2f6b87 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -37,6 +37,9 @@ const LazyPortal = createLazyComponent('Portal', async () =>
const LazyZeroExJSDocumentation = createLazyComponent('Documentation', async () =>
System.import<any>(/* webpackChunkName: "zeroExDocs" */ 'ts/containers/zero_ex_js_documentation'),
);
+const LazyContractWrappersDocumentation = createLazyComponent('Documentation', async () =>
+ System.import<any>(/* webpackChunkName: "contractWrapperDocs" */ 'ts/containers/contract_wrappers_documentation'),
+);
const LazySmartContractsDocumentation = createLazyComponent('Documentation', async () =>
System.import<any>(/* webpackChunkName: "smartContractDocs" */ 'ts/containers/smart_contracts_documentation'),
);
@@ -80,6 +83,7 @@ render(
<Route path={WebsitePaths.About} component={About as any} />
<Route path={WebsitePaths.Wiki} component={Wiki as any} />
<Route path={`${WebsitePaths.ZeroExJs}/:version?`} component={LazyZeroExJSDocumentation} />
+ <Route path={`${WebsitePaths.ContractWrappers}/:version?`} component={LazyContractWrappersDocumentation} />
<Route path={`${WebsitePaths.Connect}/:version?`} component={LazyConnectDocumentation} />
<Route
path={`${WebsitePaths.SolCompiler}/:version?`}