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;