송용우

Merge commit '72d1e011' into develop

...@@ -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 }
......
1 +import React from 'react';
2 +import { makeStyles } from '@material-ui/core/styles';
3 +import Paper from '@material-ui/core/Paper';
4 +import Grid from '@material-ui/core/Grid';
5 +import palette from '../../lib/styles/palette';
6 +const ChallengeForm = () => {
7 + return <div></div>;
8 +};
9 +
10 +/*
11 +Todo
12 +챌린지 이름
13 +챌린지 기간 (Start - End)
14 +챌린지 세션 정보 (일 간격과 목표 문제)
15 +그룹 원 정보.
16 +*/
17 +export default ChallengeForm;
...@@ -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 { useSelector, useDispatch } from 'react-redux';
3 +import { withRouter } from 'react-router-dom';
4 +import ChallengeForm from '../../components/challenge/ChallengeForm';
5 +
6 +const ChallengeContainer = () => {
7 + return <div></div>;
8 +};
9 +
10 +export default ChallengeContainer;
1 +import React from 'react';
2 +import HeaderContainer from '../containers/common/HeaderContainer';
3 +import ChallengeContainer from '../containers/challenge/ChallengeContainer';
4 +const ChallengePage = () => {
5 + return (
6 + <div>
7 + <HeaderContainer />
8 + <ChallengeContainer />
9 + </div>
10 + );
11 +};
12 +
13 +export default ChallengePage;