diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-29 23:03:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-29 23:03:42 +0800 |
commit | bdecb18e3e121021477d5dc98e4591c2b211fd63 (patch) | |
tree | 638a2b1c3b57eb6fe5e6d649a9b6278be0a4de99 /packages/website/ts/index.tsx | |
parent | 8bfa8803717bbdf761c805dad0f168b5eb687396 (diff) | |
parent | e2adcaa185e407790fd4a229dc56a7c6c7b4d19e (diff) | |
download | dexon-0x-contracts-bdecb18e3e121021477d5dc98e4591c2b211fd63.tar.gz dexon-0x-contracts-bdecb18e3e121021477d5dc98e4591c2b211fd63.tar.zst dexon-0x-contracts-bdecb18e3e121021477d5dc98e4591c2b211fd63.zip |
Merge pull request #244 from 0xProject/feature/connect-docs
Add Connect Docs
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r-- | packages/website/ts/index.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx index eb80a7119..922102d96 100644 --- a/packages/website/ts/index.tsx +++ b/packages/website/ts/index.tsx @@ -87,6 +87,12 @@ const LazySmartContractsDocumentation = createLazyComponent( /* webpackChunkName: "smartContractDocs" */'ts/containers/smart_contracts_documentation', ), ); +const LazyConnectDocumentation = createLazyComponent( + 'Documentation', + async () => System.import<any>( + /* webpackChunkName: "connectDocs" */'ts/containers/connect_documentation', + ), +); const store: ReduxStore<State> = createStore(reducer); render( @@ -103,6 +109,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.Connect}/:version?`} component={LazyConnectDocumentation} /> <Route path={`${WebsitePaths.SmartContracts}/:version?`} component={LazySmartContractsDocumentation} |