From 1e5286b7fb951c2e98ef69a0b2c80c59cf8a15c6 Mon Sep 17 00:00:00 2001 From: JiHongkyu Date: Tue, 12 Sep 2023 16:35:29 +0900 Subject: [PATCH] =?UTF-8?q?Test:=20PR=ED=85=8C=EC=8A=A4=ED=8A=B8=EC=9A=A9?= =?UTF-8?q?=20=EC=BB=A4=EB=B0=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 12 +++++++----- src/pages/NoticePage/Notice.tsx | 7 +++++++ 2 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 src/pages/NoticePage/Notice.tsx diff --git a/src/App.tsx b/src/App.tsx index feffce14..e6de1020 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,25 +1,27 @@ import React from 'react'; import { Routes, Route } from 'react-router-dom'; import './App.css'; -import { Layout, Home, About, Dashboard, NoMatch } from "./pages/TestPage/Test" +import { Layout, Home, About, Dashboard, NoMatch } from './pages/TestPage/Test'; import Login from './pages/LoginPage/Login'; +import Notice from './pages/NoticePage/Notice'; function App() { return ( {/* *Route 기초* 추후 삭제 예정 */} {/* Route는 아래처럼 중첩 라우팅이 가능합니다! */} - }> + }> } /> - } /> - } /> + } /> + } /> {/* Using path="*"" means "match anything", so this route acts like a catch-all for URLs that we don't have explicit routes for. */} - } /> + } /> {/* *Route 기초* */} } /> + } /> ); } diff --git a/src/pages/NoticePage/Notice.tsx b/src/pages/NoticePage/Notice.tsx new file mode 100644 index 00000000..56dc61a5 --- /dev/null +++ b/src/pages/NoticePage/Notice.tsx @@ -0,0 +1,7 @@ +import React from 'react'; + +function Notice() { + return
Notice
; +} + +export default Notice;