diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-02 06:01:02 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-02 06:01:02 +0800 |
commit | 0132286cab49ff6c705abd70cdd89e36b3550c27 (patch) | |
tree | 3fced9e9822d9807e3e688da0de72369eebb0c7d /packages/website/ts/index.tsx | |
parent | 2494af99aad4dd58c0d4e647dedf72946cb3c20b (diff) | |
download | dexon-sol-tools-0132286cab49ff6c705abd70cdd89e36b3550c27.tar dexon-sol-tools-0132286cab49ff6c705abd70cdd89e36b3550c27.tar.gz dexon-sol-tools-0132286cab49ff6c705abd70cdd89e36b3550c27.tar.bz2 dexon-sol-tools-0132286cab49ff6c705abd70cdd89e36b3550c27.tar.lz dexon-sol-tools-0132286cab49ff6c705abd70cdd89e36b3550c27.tar.xz dexon-sol-tools-0132286cab49ff6c705abd70cdd89e36b3550c27.tar.zst dexon-sol-tools-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.tsx | 4 |
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?`} |