2020-05-16 11:30:42 -04:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
|
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
|
|
|
|
|
import { Home } from './Home';
|
|
|
|
|
import { Resume } from './Resume';
|
|
|
|
|
import { Projects } from './Projects';
|
|
|
|
|
import { Contact } from './Contact';
|
|
|
|
|
import { NoMatch } from './404';
|
|
|
|
|
import { Layout } from './components/Layout';
|
|
|
|
|
import { NavigationBar } from './components/NavigationBar';
|
|
|
|
|
import { Jumbotron } from './components/Jumbotron';
|
2020-04-19 18:45:51 -04:00
|
|
|
|
2020-05-16 11:30:42 -04:00
|
|
|
class App extends Component {
|
|
|
|
|
render() {
|
|
|
|
|
return (
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<Router>
|
|
|
|
|
<NavigationBar />
|
|
|
|
|
<Jumbotron />
|
|
|
|
|
<Layout>
|
|
|
|
|
<Switch>
|
|
|
|
|
<Route exact path="/" component={Home} />
|
|
|
|
|
<Route path="/Resume" component={Resume} />
|
|
|
|
|
<Route path="/Projects" component={Projects} />
|
|
|
|
|
<Route path="/Contact" component={Contact} />
|
|
|
|
|
<Route component={NoMatch} />
|
|
|
|
|
</Switch>
|
|
|
|
|
</Layout>
|
|
|
|
|
</Router>
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
);
|
|
|
|
|
}
|
2020-04-19 18:45:51 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default App;
|