import React, { Fragment } from 'react';
import { Route, Switch } from 'react-router-dom';
import AboutPage from './about';
import BetaBanner from './beta-banner';
import Header from './header';
import Login from './login';
import ColouringMap from './map';
import SignUp from './signup';
import Welcome from './welcome';
import Legend from './legend';
import '../../node_modules/bootstrap/dist/css/bootstrap.min.css';
import './main.css'
import MyAccountPage from './my-account';
class App extends React.Component {
constructor(props) {
super(props);
this.state = { user: props.user };
this.login = this.login.bind(this);
this.logout = this.logout.bind(this);
}
login(user) {
console.log(user)
this.setState({user: user});
}
logout(user) {
this.setState({user: undefined});
}
render() {
return (
);
}
}
const NotFound = () => (
);
export default App;