Skip to content

Commit

Permalink
Merge pull request #183 from 100-hours-a-week/feature/lucy
Browse files Browse the repository at this point in the history
Feature/lucy
  • Loading branch information
lucy726j authored Sep 3, 2024
2 parents fa26ab1 + a8bb455 commit c310a73
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/Pages/game/gameStocks.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const GameStocks = () => {
return <div> 게임에 나온 주식들의 상세 정보를 확인 </div>;
};

export default GameStocks;
5 changes: 5 additions & 0 deletions src/Pages/game/infoPage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const InfoPage = () => {
return <div>정보거래소 페이지</div>;
};

export default InfoPage;
5 changes: 5 additions & 0 deletions src/Pages/game/playPage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const PlayPage = () => {
return <div>게임 플레이 페이지</div>
};

export default PlayPage;
5 changes: 5 additions & 0 deletions src/Pages/game/playResult.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const PlayResult = () => {
return <div>매 턴 마다의 결과를 보여주는 페이지</div>;
};

export default PlayResult;
5 changes: 5 additions & 0 deletions src/Pages/game/rank.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const Rank = () => {
return <div>게임 랭킹 페이지</div>;
};

export default Rank;
5 changes: 5 additions & 0 deletions src/Pages/game/totalResult.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const TotalResult = () => {
return <div>게임 최종 결과 페이지</div>;
};

export default TotalResult;
16 changes: 15 additions & 1 deletion src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ import { useAuth } from "./contexts/authContext";
import NoUserPage from "./Pages/404/noUser";
import LoginPage from "./Pages/404/loginPage";
import ErrorPage from "./Pages/404/errorPage";
import PlayPage from "./Pages/game/playPage";
import InfoPage from "./Pages/game/infoPage";
import PlayResult from "./Pages/game/playResult";
import TotalResult from "./Pages/game/totalResult";
import GameStocks from "./Pages/game/gameStocks";
import Rank from "./Pages/game/rank";

const Router = () => {
const { user } = useAuth();
Expand All @@ -32,10 +38,18 @@ const Router = () => {
) : (
<Route path="/*" element={<NoUserPage />} />
)}
<Route path="/game" element={<SkrrrGamePage />} />
<Route path="/auth/callback" element={<CallBackPage />} />
<Route path="/error" element={<ErrorPage />} />

<Route path="/game" element={<SkrrrGamePage />} />
<Route path="/play/:year" element={<PlayPage />} />
<Route path="/info/:year" element={<InfoPage />} />
<Route path="/result/:year" element={<PlayResult />} />
<Route path="/result/total" element={<TotalResult />} />
<Route path="/gameStocks" element={<GameStocks />} />
<Route path="/rank" element={<Rank />} />
</Routes>
{/* <Routes></Routes> */}
</Layout>
</BrowserRouter>
);
Expand Down

0 comments on commit c310a73

Please sign in to comment.