From a3d6aa2393616ebe4316df32b02f081ade4fdcd7 Mon Sep 17 00:00:00 2001 From: Barry Low Date: Mon, 12 Nov 2018 23:26:37 -0800 Subject: [PATCH] Add Team Landing --- client/src/index.js | 4 ++- client/src/views/index.js | 2 ++ client/src/views/landing/index.js | 33 +++++++++++++++++++ .../src/views/teams/components/TeamsItem.js | 4 +-- 4 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 client/src/views/landing/index.js diff --git a/client/src/index.js b/client/src/index.js index c5381d25c..a4deab1a1 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -11,6 +11,7 @@ import { FinancialBeings, Settings, Teams, + Landing, globalStyles } from './views' @@ -37,7 +38,8 @@ class App extends Component { return (
- + + ({ + container: { + width: 'auto', + marginTop: theme.spacing.unit * 3, + marginLeft: theme.spacing.unit * 3, + marginRight: theme.spacing.unit * 3, + marginBottom: theme.spacing.unit * 6, + [theme.breakpoints.up(800 + theme.spacing.unit * 3 * 2)]: { + width: 800, + marginLeft: 'auto', + marginRight: 'auto' + } + } +}) + +const Landing = ({ classes, ...props }) => ( +
+ +
+) + +Landing.propTypes = { + classes: PropTypes.object.isRequired +} + +export default withStyles(styles)(Landing) diff --git a/client/src/views/teams/components/TeamsItem.js b/client/src/views/teams/components/TeamsItem.js index 28ae53a9c..543cf810b 100644 --- a/client/src/views/teams/components/TeamsItem.js +++ b/client/src/views/teams/components/TeamsItem.js @@ -36,10 +36,10 @@ export const TeamsItem = ({ classes, team }) => { /> - + {team.name} - + {team.name}