From 0a206dbce1f1efcdb847caf70f649f3bd9f8777f Mon Sep 17 00:00:00 2001 From: David Banks Date: Wed, 8 Apr 2020 13:43:24 +0100 Subject: [PATCH] adding about page for alex --- src/views/App.tsx | 4 ++- src/views/ButterworthAboutView.tsx | 45 ++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 src/views/ButterworthAboutView.tsx diff --git a/src/views/App.tsx b/src/views/App.tsx index c77e211..87e06d3 100644 --- a/src/views/App.tsx +++ b/src/views/App.tsx @@ -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'; @@ -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"] diff --git a/src/views/ButterworthAboutView.tsx b/src/views/ButterworthAboutView.tsx new file mode 100644 index 0000000..d553b9c --- /dev/null +++ b/src/views/ButterworthAboutView.tsx @@ -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 { + render() { + return ( +
+ About Alex Butterworth + + + + 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. + + + +
+ ); + } +} + + +export default connect(mapStateToProps, mapDispatchToProps)(ButterworthAboutView); +