diff options
author | Fabio Berger <me@fabioberger.com> | 2018-02-22 09:09:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 09:09:33 +0800 |
commit | dfe2579eebdaf348bb2e5690f901ca717c5f6392 (patch) | |
tree | 59a0d97371fd69f79a54f6dd4f6c602561f04115 /packages/website/ts/pages/about/about.tsx | |
parent | be19316dfb45600b2ce264a90dde7ace460fd0ac (diff) | |
parent | 1b3a9102f1d9c83ca6675a0e95cea6c4ceab01eb (diff) | |
download | dexon-0x-contracts-dfe2579eebdaf348bb2e5690f901ca717c5f6392.tar.gz dexon-0x-contracts-dfe2579eebdaf348bb2e5690f901ca717c5f6392.tar.zst dexon-0x-contracts-dfe2579eebdaf348bb2e5690f901ca717c5f6392.zip |
Merge pull request #410 from 0xProject/translateHomepage
Translate Landing Page
Diffstat (limited to 'packages/website/ts/pages/about/about.tsx')
-rw-r--r-- | packages/website/ts/pages/about/about.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/website/ts/pages/about/about.tsx b/packages/website/ts/pages/about/about.tsx index 0889e79f3..b99dc34ab 100644 --- a/packages/website/ts/pages/about/about.tsx +++ b/packages/website/ts/pages/about/about.tsx @@ -4,9 +4,11 @@ import * as DocumentTitle from 'react-document-title'; import { Footer } from 'ts/components/footer'; import { TopBar } from 'ts/components/top_bar/top_bar'; import { Profile } from 'ts/pages/about/profile'; +import { Dispatcher } from 'ts/redux/dispatcher'; import { ProfileInfo, Styles } from 'ts/types'; import { colors } from 'ts/utils/colors'; import { constants } from 'ts/utils/constants'; +import { Translate } from 'ts/utils/translate'; import { utils } from 'ts/utils/utils'; const teamRow1: ProfileInfo[] = [ @@ -143,6 +145,8 @@ const advisors: ProfileInfo[] = [ export interface AboutProps { source: string; location: Location; + translate: Translate; + dispatcher: Dispatcher; } interface AboutState {} @@ -174,6 +178,7 @@ export class About extends React.Component<AboutProps, AboutState> { blockchainIsLoaded={false} location={this.props.location} style={{ backgroundColor: colors.lightestGrey }} + translate={this.props.translate} /> <div id="about" className="mx-auto max-width-4 py4" style={{ color: colors.grey800 }}> <div className="mx-auto pb4 sm-px3" style={{ maxWidth: 435 }}> @@ -230,7 +235,7 @@ export class About extends React.Component<AboutProps, AboutState> { </div> </div> </div> - <Footer /> + <Footer translate={this.props.translate} dispatcher={this.props.dispatcher} /> </div> ); } |