text: import React from "react";
  import { Route, Switch } from "react-router-dom";
  import CssBaseline from "@material-ui/core/CssBaseline";
  import Resume from "./components/Resume";
  import Navbar from "./components/Navbar";
  import Portfolio from "./components/Portfolio";
  import Contact from "./components/Contact";
  
  import "./App.css";
  import Index from "./components/Index";
  
  function App() {
    return (
      <React.Fragment>
        <CssBaseline />
        <Navbar />
        <Switch>
          <Route exact path="/" component={Index} />
          <Route exact path="/resume" component={Resume} />
          <Route exact path="/portfolio" component={Portfolio} />
          <Route exact path="/photos" component={Contact} />
        </Switch>
      </React.Fragment>
    );
  }
  
  export default App;
  