Skip to content

Commit

Permalink
adding about page for alex
Browse files Browse the repository at this point in the history
  • Loading branch information
David Banks committed Apr 8, 2020
1 parent 5af8466 commit 0a206db
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import GraphView from './GraphView';
import KeplerView from './KeplerView';
import AdvancedView from './AdvancedView';
import AboutView from './AboutView';
import ButterworthAboutView from './ButterworthAboutView';

//import FormikDemo from './FormikDemo';
//import FormikAntdView from './FormikAntdView';
Expand All @@ -26,7 +27,8 @@ const routes = {
"/graph-view": [GraphView, "Graph View"],
"/about": [AboutView, "About"],
"/advanced": [AdvancedView, "Advanced"],
"/workspace": [Workspace, "Workspace"]
"/workspace": [Workspace, "Workspace"],
"/alex-butterworth": [ButterworthAboutView, "Alex Butterworth"]
// "/formik-demo": [FormikDemo, "Formik Demo"],
// "/formik-antd": [FormikAntdView, "Formik Antd Demo"],
// "/antd-component-demo": [AntdComponentDemo, "Antd Component Demo"]
Expand Down
45 changes: 45 additions & 0 deletions src/views/ButterworthAboutView.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import React from 'react';
import { connect } from 'react-redux';
import actionCreators from '../action-creators';
import { FullStateTree } from '../interfaces';
import { Typography, Divider, Row, Col } from 'antd';
const { Title, Paragraph, Text } = Typography;

function mapStateToProps(state: FullStateTree) {
return {
};
}

const mapDispatchToProps = {
};


interface AppProps {
}

class ButterworthAboutView extends React.Component<AppProps> {
render() {
return (
<div>
<Title level={2}>About Alex Butterworth</Title>

<Row>
<Col span={10}>
<Paragraph>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam in ante
ante. Aliquam ultrices mi consequat eros pulvinar, porta ornare odio
consequat. Quisque lectus felis, ultricies nec nibh in, blandit ullamcorper
enim. Nam vel neque non enim rutrum varius. Suspendisse tempor massa elit, ut
tincidunt neque euismod sit amet. Sed fringilla auctor venenatis. Vestibulum eu
consectetur quam. Aenean lorem purus, hendrerit ac odio vel, posuere placerat
enim.</Paragraph>
</Col>
</Row>

</div>
);
}
}


export default connect(mapStateToProps, mapDispatchToProps)(ButterworthAboutView);

0 comments on commit 0a206db

Please sign in to comment.