Skip to content

Commit

Permalink
[SKULL-16] Main page & Rules
Browse files Browse the repository at this point in the history
  • Loading branch information
siwoo-jung committed Dec 12, 2023
1 parent b6b7c66 commit f4adf99
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
11 changes: 5 additions & 6 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ function App() {
// >
// <GridBoard />
// </div>
<>
<Routes>
<Route path="/" element={<MainPage />} />
<Route path="/rules" element={<Rules />} />
</Routes>
</>

<Routes>
<Route path="/" element={<MainPage />} />
<Route path="/rules" element={<Rules />} />
</Routes>
);
}

Expand Down
8 changes: 4 additions & 4 deletions src/components/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ function MainPage() {
<img src="src/images/logo2.png"></img>
</div>
<div className="btn-container">
<button className="btn" id="btn-play">
<Link to="/play" id="btn-play-link">
<Link to="/play" id="btn-play-link">
<button className="btn" id="btn-play">
PLAY
</Link>
</button>
</button>
</Link>
<Link to="/rules" id="btn-rules-link">
<button className="btn" id="btn-rules">
RULES
Expand Down

0 comments on commit f4adf99

Please sign in to comment.