Skip to content

Commit

Permalink
Chore : Connect Welcome and SelectTypePage #103
Browse files Browse the repository at this point in the history
  • Loading branch information
sinji2102 committed Oct 10, 2023
1 parent 528f0ac commit 31a78e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/main/Welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const Welcome = (ref) => {
learn more
</LearnmoreBtn>
{Logined === true ? (
<LoginBtn variant="contained" onClick={() => navigate("/step1")}>
<LoginBtn variant="contained" onClick={() => navigate("/select")}>
get started
</LoginBtn>
) : (
Expand Down
2 changes: 2 additions & 0 deletions src/routes/router.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { BrowserRouter, Route, Routes } from "react-router-dom";
import MainPage from "../pages/MainPage";
import LoginPage from "../pages/Login";
import SelectTypePage from "../pages/SelectTypePage";
import PRTemplatePage from "../pages/PRTemplatePage";
import { Layout } from "../layout/Layout";
import CreateRepo from "../pages/CreateRepoPage";
Expand All @@ -14,6 +15,7 @@ const Router = () => {
<Routes>
<Route path="/" element={<MainPage />} />
<Route path="/login" element={<LoginPage />} />
<Route path="/select" element={<SelectTypePage />} />
<Route element={<Layout />}>
<Route path="/step1" element={<CreateRepo />} />
<Route path="/step2" element={<LicensePage />} />
Expand Down

0 comments on commit 31a78e6

Please sign in to comment.