Added Policy Page, testing about page

This commit is contained in:
2018-03-13 05:16:26 +11:00
parent 7f19959348
commit 8f8af79e38
7 changed files with 176 additions and 5 deletions

View File

@ -0,0 +1,33 @@
import React from 'react';
import Page from './../Page';
import BlankPromo from './../sections/BlankPromo';
import BodySection from './../sections/BodySection';
import { connect } from 'react-redux';
import Language from './../../language/Language';
class PrivacyPolicyPage extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<Page>
<BlankPromo />
<BodySection>
<h1>{Language.get("privacy.title")}</h1>
{Language.get("privacy.policy")}
</BodySection>
</Page>
)
}
}
const mapStateToProps = function(state) {
return {
code: state.language.code
}
}
export default connect(mapStateToProps)(PrivacyPolicyPage);