From 8a5cba66a35e5e98400a81d40047938b7f3fff33 Mon Sep 17 00:00:00 2001 From: plumbestie Date: Sun, 17 May 2026 15:40:00 +0900 Subject: [PATCH 1/4] =?UTF-8?q?[Feat]=20=ED=94=BC=EB=A1=9C=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=20=ED=97=A4=EB=8D=94=20=EB=B6=84=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/App.js | 10 ++++++-- frontend/src/components/Header.js | 4 ++-- frontend/src/components/Header.module.css | 24 +++++++++++++++---- frontend/src/components/Layout.js | 4 ++-- frontend/src/pages/pirocheck/PIroCheckMain.js | 7 ++++++ 5 files changed, 38 insertions(+), 11 deletions(-) create mode 100644 frontend/src/pages/pirocheck/PIroCheckMain.js diff --git a/frontend/src/App.js b/frontend/src/App.js index f9a9e38..89aa064 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -5,6 +5,7 @@ import OnboardingPage from './pages/OnboardingPage'; import QnAMainPage from './pages/qna/QnAMainPage'; import QnAListPage from './pages/qna/QnAListPage'; import CurriculumPage from './pages/curriculum/CurriculumPage'; +import PiroCheckMain from './pages/pirocheck/PIroCheckMain'; function App() { return ( @@ -16,12 +17,17 @@ function App() { } /> } /> - {/* 헤더 있는 페이지 */} - }> + {/* 라이트 헤더 페이지 */} + }> } /> } /> } /> + + {/* 다크 헤더 페이지 */} + }> + }/> + diff --git a/frontend/src/components/Header.js b/frontend/src/components/Header.js index 2408fce..6f8e3d0 100644 --- a/frontend/src/components/Header.js +++ b/frontend/src/components/Header.js @@ -1,9 +1,9 @@ import { NavLink } from 'react-router-dom'; import styles from './Header.module.css'; -function Header() { +function Header({ type }) { return ( -
+
PIROIN