Added Policy Page, testing about page
This commit is contained in:
41
public/components/pages/TestAboutPage.jsx
Normal file
41
public/components/pages/TestAboutPage.jsx
Normal file
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* About Page
|
||||
* About that one lad.
|
||||
*
|
||||
* Dependencies:
|
||||
* styles/components/_page--style-about.scss
|
||||
*
|
||||
* Version:
|
||||
* 1.0.0 - 2018/03/11
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import Page from './../Page';
|
||||
import Poly from './../sections/Poly';
|
||||
import BodySection from './../sections/BodySection';
|
||||
import SplitSection from './../sections/SplitSection';
|
||||
import Language from './../../language/Language';
|
||||
|
||||
class TestAboutPage extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<Page>
|
||||
About
|
||||
</Page>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
const mapStateToProps = function(state) {
|
||||
return {
|
||||
code: state.language.code
|
||||
}
|
||||
}
|
||||
|
||||
export default connect(mapStateToProps)(TestAboutPage);
|
Reference in New Issue
Block a user