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>
      {/* <Main /> */}
      <Switch>
        <Route exact path="/">
          <Main />
        </Route>
        <Route path="/main">
          <Main />
        </Route>
        {/* <Route path="/signup">
          <Signup />
        </Route> */}
      </Switch>
    </div>
  );
}

export default MainRouter;
