Skip to content

Commit

Permalink
feat(webapp): Add basic stuff for the dashboard container
Browse files Browse the repository at this point in the history
  • Loading branch information
viyatb committed May 5, 2018
1 parent cdcbe95 commit 9a0a000
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions owtf/webapp/src/containers/Dashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
* Dashboard
*/
import React from 'react';
import UnderconstructionPage from "components/UnderconstructionPage";
import {Grid, Jumbotron, Col, Row} from 'react-bootstrap';

export default class Dashboard extends React.Component {

export default class Dashboard extends React.Component {
// Since state and props are static,
// there's no need to re-render this component
shouldComponentUpdate() {
Expand All @@ -14,7 +14,15 @@ export default class Dashboard extends React.Component {

render() {
return (
<UnderconstructionPage />
<Grid>
<Row>
<Col xs={12} md={12}>
<Jumbotron>
<h1>Welcome to OWTF<small>, this is your dashboard</small></h1>
</Jumbotron>
</Col>
</Row>
</Grid>
);
}
}

0 comments on commit 9a0a000

Please sign in to comment.