text: import React from "react";
  import { Route, Switch } from "react-router-dom";
  import Home from "./containers/Home";
  import Login from "./containers/Login";
  import NotFound from "./containers/NotFound";
  import Signup from "./containers/Signup";
  import NewAmendment from "./containers/NewAmendment";
  import Amendments from "./containers/Amendments";
  import Profile from "./containers/Profile";
  import AuthenticatedRoute from "./components/AuthenticatedRoute";
  import UnauthenticatedRoute from "./components/UnauthenticatedRoute";
  
  export default function Routes() {
    return (
      <Switch>
        <Route exact path="/">
          <Home />
        </Route>
        <UnauthenticatedRoute exact path="/login">
          <Login />
        </UnauthenticatedRoute>
        <UnauthenticatedRoute exact path="/signup">
          <Signup />
        </UnauthenticatedRoute>
        <AuthenticatedRoute exact path="/profile">
          <Profile />
        </AuthenticatedRoute>
        <AuthenticatedRoute exact path="/amendments/new">
          <NewAmendment />
        </AuthenticatedRoute>
        <AuthenticatedRoute exact path="/amendments/:id">
          <Amendments />
        </AuthenticatedRoute>
        <Route>
          <NotFound />
        </Route>
      </Switch>
    );
  }
  