diff --git a/src/App.tsx b/src/App.tsx index 669cf16..d2b23a8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -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"; @@ -10,6 +11,7 @@ const AppRoutes = () => { } /> } /> } /> + } /> ); diff --git a/src/pages/result/index.module.css b/src/pages/result/index.module.css new file mode 100644 index 0000000..c07fd05 --- /dev/null +++ b/src/pages/result/index.module.css @@ -0,0 +1,6 @@ +.result-text { + position: absolute; + left: 50%; + transform: translateX(-50%); + font-size: 40px; +} diff --git a/src/pages/result/index.tsx b/src/pages/result/index.tsx new file mode 100644 index 0000000..6761172 --- /dev/null +++ b/src/pages/result/index.tsx @@ -0,0 +1,13 @@ +import styles from "./index.module.css"; + +function Result() { + return ( +
+
+

結果発表!

+
+
+ ); +} + +export default Result;