text: import React from 'react';
  import { BrowserRouter, Route, Switch } from 'react-router-dom';
  
  import Home from '../components/Home';
  import NavBar from '../components/NavBar';
  
  
  const Routes = () => {
    return(
      <BrowserRouter>
        <NavBar/>
        <Switch>
          <Route exact path="/" component={Home}/>
        </Switch>
      </BrowserRouter>
    );
  };
  
  export default Routes;