From 05202c753f8f3101798096ee4c3d74b83b0d39ef Mon Sep 17 00:00:00 2001 From: Seongeun Kim Date: Thu, 27 Jul 2023 18:41:12 +0900 Subject: [PATCH] =?UTF-8?q?STYLE=20:=20=EC=A0=84=EC=97=AD=20=EC=8A=A4?= =?UTF-8?q?=ED=83=80=EC=9D=BC=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 5 ++--- .../adminpage.module.scss => Admin/admin.module.scss} | 0 src/pages/Admin/admin.tsx | 8 ++++++-- src/pages/Adminpage/adminpage.module.scss.d.ts | 4 ---- src/pages/Adminpage/adminpage.tsx | 11 ----------- 5 files changed, 8 insertions(+), 20 deletions(-) rename src/pages/{Adminpage/adminpage.module.scss => Admin/admin.module.scss} (100%) delete mode 100644 src/pages/Adminpage/adminpage.module.scss.d.ts delete mode 100644 src/pages/Adminpage/adminpage.tsx diff --git a/src/App.tsx b/src/App.tsx index 6c40cb31..b690ff33 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,9 +1,8 @@ import Main from "./pages/Main/main.tsx"; -import Admin from "./pages/Adminpage/adminpage.tsx"; -import { Route, Routes } from "react-router-dom"; import Mypage from "./pages/Mypage/mypage.tsx"; +import Admin from "./pages/Admin/admin.tsx"; +import { Route, Routes } from "react-router-dom"; // import ProtectedRoute from "./Components/ProtectedRoute.tsx"; -// import Admin from "./pages/Admin/admin.tsx"; function App() { return ( diff --git a/src/pages/Adminpage/adminpage.module.scss b/src/pages/Admin/admin.module.scss similarity index 100% rename from src/pages/Adminpage/adminpage.module.scss rename to src/pages/Admin/admin.module.scss diff --git a/src/pages/Admin/admin.tsx b/src/pages/Admin/admin.tsx index 9d502c16..07cfd8e9 100644 --- a/src/pages/Admin/admin.tsx +++ b/src/pages/Admin/admin.tsx @@ -1,7 +1,11 @@ +import styles from "./adminpage.module.scss"; + export default function Admin() { return ( <> -

Admin

+
+

Adminpage

+
- ) + ); } diff --git a/src/pages/Adminpage/adminpage.module.scss.d.ts b/src/pages/Adminpage/adminpage.module.scss.d.ts deleted file mode 100644 index 3f2da25b..00000000 --- a/src/pages/Adminpage/adminpage.module.scss.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const classNames: { - readonly section: "section"; -}; -export = classNames; diff --git a/src/pages/Adminpage/adminpage.tsx b/src/pages/Adminpage/adminpage.tsx deleted file mode 100644 index 43945b58..00000000 --- a/src/pages/Adminpage/adminpage.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import styles from "./adminpage.module.scss"; - -export default function Adminpage() { - return ( - <> -
-

Adminpage

-
- - ); -}