송용우

Update Challege Category

...@@ -5,6 +5,7 @@ import LoginPage from './pages/LoginPage'; ...@@ -5,6 +5,7 @@ import LoginPage from './pages/LoginPage';
5 import RegisterPage from './pages/RegisterPage'; 5 import RegisterPage from './pages/RegisterPage';
6 import HomePage from './pages/HomePage'; 6 import HomePage from './pages/HomePage';
7 import SettingPage from './pages/SettingPage'; 7 import SettingPage from './pages/SettingPage';
8 +import ChallengePage from './pages/ChallengePage';
8 9
9 function App() { 10 function App() {
10 return ( 11 return (
...@@ -13,6 +14,7 @@ function App() { ...@@ -13,6 +14,7 @@ function App() {
13 <Route component={LoginPage} path="/login" /> 14 <Route component={LoginPage} path="/login" />
14 <Route component={RegisterPage} path="/register" /> 15 <Route component={RegisterPage} path="/register" />
15 <Route component={SettingPage} path="/setting" /> 16 <Route component={SettingPage} path="/setting" />
17 + <Route component={ChallengePage} path="/challenge" />
16 </> 18 </>
17 ); 19 );
18 } 20 }
......
...@@ -8,6 +8,10 @@ const categories = [ ...@@ -8,6 +8,10 @@ const categories = [
8 text: '홈', 8 text: '홈',
9 }, 9 },
10 { 10 {
11 + name: 'challenge',
12 + text: '챌린지',
13 + },
14 + {
11 name: 'setting', 15 name: 'setting',
12 text: '설정', 16 text: '설정',
13 }, 17 },
......
1 +import React from 'react';
2 +import HeaderContainer from '../containers/common/HeaderContainer';
3 +
4 +const ChallengePage = () => {
5 + return (
6 + <div>
7 + <HeaderContainer />
8 + </div>
9 + );
10 +};
11 +
12 +export default ChallengePage;