import { Route } from "react-router-dom"
import Home from "./pages/Home"
import Login from "./pages/Login"
import Register from "./pages/Register"
import Welcome from "./pages/Welcome"

const AppRoutes = () => (
  <> <Route exact path="/" component={Welcome} />
    <Route path="/home" component={Home} exact />
    <Route path="/register" component={Register} />
    <Route path="/login" component={Login} />
     <Route path="/welcome" component={Welcome} />
\
  </>
)

export default AppRoutes
