송용우

Update Challege Category

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