diff --git a/src/App.js b/src/App.js
index 021903f..4d17377 100644
--- a/src/App.js
+++ b/src/App.js
@@ -7,6 +7,7 @@ import ConferenceRoom from './pages/ConferenceRoom';
import NotFound from './pages/404';
import LoginPage from './pages/LoginPage';
import QuestionListPage from './pages/QuestionListPage';
+import QuestionPage from './pages/QuestionPage';
export default function App() {
return (
@@ -15,6 +16,7 @@ export default function App() {
+
diff --git a/src/components/QuestionCardView/QuestionCardView.js b/src/components/QuestionCardView/QuestionCardView.js
index f350c0b..b123dbe 100644
--- a/src/components/QuestionCardView/QuestionCardView.js
+++ b/src/components/QuestionCardView/QuestionCardView.js
@@ -13,6 +13,7 @@ const Box = styled.div`
background-color: #ffffff;
box-sizing: content-box;
user-select: none;
+ cursor: pointer;
`;
const Content = styled.div`
@@ -28,7 +29,6 @@ const Number = styled.div`
`;
const NumberText = styled.div`
- display: inline-block;
float: left;
font-family: TitilliumWeb;
font-size: 55px;
diff --git a/src/components/StudyCardView/StudyCardView.js b/src/components/StudyCardView/StudyCardView.js
index 1ce5512..c4d5a29 100644
--- a/src/components/StudyCardView/StudyCardView.js
+++ b/src/components/StudyCardView/StudyCardView.js
@@ -27,13 +27,13 @@ const Content = styled.div`
border-radius: 20px;
background-image: linear-gradient(to bottom, #2323de, #4848da);
box-shadow: 0 6px 12px 0 rgba(4, 4, 161, 0.1);
- & > div, & > div > span {
+ &>div, &>div>span {
color: #ffffff;
}
- & > div > div {
+ &>div>div {
color: #0c0c59;
}
- & : nth-child(4) {
+ &:nth-child(4) {
background: #fcfcfc;
}
}
diff --git a/src/pages/QuestionListPage/IsQuestionList/IsQuestionList.js b/src/pages/QuestionListPage/IsQuestionList/IsQuestionList.js
index 5d0a7d1..e44bbd9 100644
--- a/src/pages/QuestionListPage/IsQuestionList/IsQuestionList.js
+++ b/src/pages/QuestionListPage/IsQuestionList/IsQuestionList.js
@@ -1,6 +1,7 @@
/* eslint-disable react/prop-types */
import React, { useState } from 'react';
import styled from 'styled-components';
+import { Link } from 'react-router-dom';
import QuestionCardView from '../../../components/QuestionCardView';
import { getQuestionItemAPI } from '../../../repository/questionListRepository';
import { QuestionItemMock } from '../../../mocks/QuestionItemMock';
@@ -50,14 +51,16 @@ export default function IsQuestionList({ questionList }) {
<>
-
-
-
-
-
- 질문 리스트 추가
-
-
+
+
+
+
+
+
+ 질문 리스트 추가
+
+
+
{questionList?.map((val) => {
const [count, setCount] = useState(0);
@@ -66,11 +69,13 @@ export default function IsQuestionList({ questionList }) {
});
return (
-
+
+
+
);
})}
diff --git a/src/pages/QuestionListPage/NoList/NoList.js b/src/pages/QuestionListPage/NoList/NoList.js
index be93b14..6b55afa 100644
--- a/src/pages/QuestionListPage/NoList/NoList.js
+++ b/src/pages/QuestionListPage/NoList/NoList.js
@@ -29,6 +29,7 @@ const Button = styled.div`
background-image: linear-gradient(to bottom, #2323de, #4848da);
justify-content: center;
align-items: center;
+ cursor: pointer;
`;
const ButtonText = styled.span`
height: 30px;
@@ -48,12 +49,14 @@ export default function NoList() {
<>
등록된 질문 리스트가 없습니다.
-
+
+
+
>
);
}
diff --git a/src/pages/QuestionListPage/QuestionListPage.js b/src/pages/QuestionListPage/QuestionListPage.js
index 6410111..4fb658b 100644
--- a/src/pages/QuestionListPage/QuestionListPage.js
+++ b/src/pages/QuestionListPage/QuestionListPage.js
@@ -46,12 +46,12 @@ const Select = styled.div`
export default function QuestionListPage() {
const authSelector = useSelector(get('auth'));
- const [questionList, setQuestionList] = useState();
+ const [questionList, setQuestionList] = useState([]);
const fetch = async () => {
getQuestionListAPI().then((response) => {
setQuestionList(response.data);
});
- }
+ };
useEffect(() => {
fetch();
}, []);
diff --git a/src/pages/QuestionPage/QuestionPage.js b/src/pages/QuestionPage/QuestionPage.js
new file mode 100644
index 0000000..c01557f
--- /dev/null
+++ b/src/pages/QuestionPage/QuestionPage.js
@@ -0,0 +1,65 @@
+import React from 'react';
+import styled from 'styled-components';
+import { useSelector } from 'react-redux';
+import ProfileMenuContiner from '../../components/ProfileMenuContainer';
+import { get } from '../../utils/snippet';
+import Icon from '../../components/Icon';
+
+const ProfileWrapper = styled.div`
+ float: right;
+ margin: 53px 105px 0 0;
+`;
+
+const Wrapper = styled.div`
+ display: flex;
+ width: 100%;
+ height: 100vh-137px;
+ margin-top: 137px;
+ flex-direction: column;
+ align-items: center;
+`;
+
+const Title = styled.div`
+ font-family: AppleSDGothicNeoEB00;
+ font-size: 36px;
+ font-weight: normal;
+ font-stretch: normal;
+ font-style: normal;
+ line-height: 1.44;
+ letter-spacing: normal;
+ color: #000000;
+`;
+
+const InputQuestion = styled.div`
+ display: flex;
+ align-self: center;
+ width: 1027px;
+ height: 30px;
+ font-size: 24px;
+ padding: 25px;
+ border: none;
+ outline: none;
+ border-radius: 10px;
+ box-shadow: 0 6px 12px 0 rgba(4, 4, 161, 0.04);
+ background-color: #f6f6f6;
+
+`;
+
+export default function QuestionPage({ match }) {
+ const authSelector = useSelector(get('auth'));
+ const { id } = match.params;
+ return (
+ <>
+
+
+
+
+
+ 면접 질문 작성 및 수정하기
+
+
+
+
+ >
+ );
+}
diff --git a/src/pages/QuestionPage/index.js b/src/pages/QuestionPage/index.js
new file mode 100644
index 0000000..de30656
--- /dev/null
+++ b/src/pages/QuestionPage/index.js
@@ -0,0 +1 @@
+export { default } from './QuestionPage';