Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Add: result_pageのview
Browse files Browse the repository at this point in the history
  • Loading branch information
Sea10wood committed Aug 10, 2024
1 parent f80e349 commit e60111b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Route, Routes } from "react-router-dom";
import Home from "./pages/home";
import Result from "./pages/result";
import Shooter from "./pages/shooter";
import Yatai from "./pages/yatai";

Expand All @@ -10,6 +11,7 @@ const AppRoutes = () => {
<Route path="/" element={<Home />} />
<Route path="/shooter" element={<Shooter />} />
<Route path="/yatai" element={<Yatai />} />
<Route path="/result" element={<Result />} />
</Routes>
</>
);
Expand Down
6 changes: 6 additions & 0 deletions src/pages/result/index.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.result-text {
position: absolute;
left: 50%;
transform: translateX(-50%);
font-size: 40px;
}
13 changes: 13 additions & 0 deletions src/pages/result/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import styles from "./index.module.css";

function Result() {
return (
<div>
<div className={styles["result-text"]}>
<p>結果発表!</p>
</div>
</div>
);
}

export default Result;

0 comments on commit e60111b

Please sign in to comment.