import React from "react";
import { Route, Switch } from "react-router-dom";
import Home from "./home/Home";
import Main from "./home/Main";

function MainRouter() {
  return (
    <div>
      <Home />
      <Switch>
        <Route exact path="/">
          <Home />
        </Route>
        <Route path="/main">
          <Main />
        </Route>
        {/* <Route path="/signup">
          <Signup />
        </Route> */}
      </Switch>
    </div>
  );
}

export default MainRouter;
