From e60111b8d3dc817c553da33ab7d90cad0a73bb4e Mon Sep 17 00:00:00 2001 From: Sea10wood Date: Sun, 11 Aug 2024 07:44:08 +0900 Subject: [PATCH] =?UTF-8?q?Add:=20result=5Fpage=E3=81=AEview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 2 ++ src/pages/result/index.module.css | 6 ++++++ src/pages/result/index.tsx | 13 +++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 src/pages/result/index.module.css create mode 100644 src/pages/result/index.tsx 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;