client/src/App.js
author Alexandre Segura <mex.zktk@gmail.com>
Wed, 31 May 2017 17:51:54 +0200
changeset 12 48ddaa42b810
parent 5 5c91bfa8fcde
child 143 cfcbf4bc66f1
permissions -rw-r--r--
Draft implementation of sessions. - Introduce react-router & add some pages. - Add login page (does nothing). - Allow creating a new session. - Allow adding notes into a session.

import React, { Component } from 'react';

// import logo from './logo.svg';
import { Grid, Row, Col, Alert } from 'react-bootstrap';
import './App.css';
import Navbar from './components/Navbar';

class App extends Component {
  render() {
    return (
      <div>
        <Navbar history={this.props.history} />
        <Grid fluid>
          <Row>
            <Col md={6} mdOffset={3} className="text-center">
              <Alert bsStyle="info">Welcome to IRI Notes</Alert>
            </Col>
          </Row>
        </Grid>
      </div>
    );
  }
}

export default App;