aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-28 23:03:18 +0800
committerFabio Berger <me@fabioberger.com>2018-08-28 23:03:18 +0800
commitca0567ad0911657b0241844cd2f34d78b697de8c (patch)
tree29e01456dd6a17e6a2886c242d09534795511ccc /packages/website/ts/containers
parentb8241c0f808518a3f727424cacb952cc9ce80c4c (diff)
downloaddexon-sol-tools-ca0567ad0911657b0241844cd2f34d78b697de8c.tar
dexon-sol-tools-ca0567ad0911657b0241844cd2f34d78b697de8c.tar.gz
dexon-sol-tools-ca0567ad0911657b0241844cd2f34d78b697de8c.tar.bz2
dexon-sol-tools-ca0567ad0911657b0241844cd2f34d78b697de8c.tar.lz
dexon-sol-tools-ca0567ad0911657b0241844cd2f34d78b697de8c.tar.xz
dexon-sol-tools-ca0567ad0911657b0241844cd2f34d78b697de8c.tar.zst
dexon-sol-tools-ca0567ad0911657b0241844cd2f34d78b697de8c.zip
Begin implementing doc home page
Diffstat (limited to 'packages/website/ts/containers')
-rw-r--r--packages/website/ts/containers/docs_home.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/website/ts/containers/docs_home.ts b/packages/website/ts/containers/docs_home.ts
new file mode 100644
index 000000000..79bf68618
--- /dev/null
+++ b/packages/website/ts/containers/docs_home.ts
@@ -0,0 +1,15 @@
+import * as React from 'react';
+import { connect } from 'react-redux';
+import { Home as HomeComponent, HomeProps } from 'ts/pages/documentation/home';
+import { State } from 'ts/redux/reducer';
+import { Translate } from 'ts/utils/translate';
+
+interface ConnectedState {
+ translate: Translate;
+}
+
+const mapStateToProps = (state: State, _ownProps: HomeProps): ConnectedState => ({
+ translate: state.translate,
+});
+
+export const DocsHome: React.ComponentClass<HomeProps> = connect(mapStateToProps, undefined)(HomeComponent);