From 3cc39ddde5b2ed681e502bcb46f65378d2fbd274 Mon Sep 17 00:00:00 2001 From: kdhye1119 Date: Fri, 22 May 2026 16:47:39 +0900 Subject: [PATCH] =?UTF-8?q?[Refactor]svg=EB=A7=8C=20=EB=94=B0=EB=A1=9C=20?= =?UTF-8?q?=EB=AA=A8=EC=95=84=EB=91=98=20=EC=88=98=20=EC=9E=88=EA=B2=8C=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/App.js | 2 + frontend/src/components/qna_svg.js | 56 +++++++++++++++ frontend/src/pages/qna/QnADetailePage.js | 0 .../src/pages/qna/QnADetailePage.module.css | 0 frontend/src/pages/qna/QnAListPage.js | 68 +++---------------- 5 files changed, 68 insertions(+), 58 deletions(-) create mode 100644 frontend/src/components/qna_svg.js create mode 100644 frontend/src/pages/qna/QnADetailePage.js create mode 100644 frontend/src/pages/qna/QnADetailePage.module.css diff --git a/frontend/src/App.js b/frontend/src/App.js index f9a9e38..a7d1527 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -4,6 +4,7 @@ import LoginPage from './pages/login/LoginPage'; import OnboardingPage from './pages/OnboardingPage'; import QnAMainPage from './pages/qna/QnAMainPage'; import QnAListPage from './pages/qna/QnAListPage'; +import QnADetailePage from './pages/qna/QnADetailePage'; import CurriculumPage from './pages/curriculum/CurriculumPage'; function App() { @@ -20,6 +21,7 @@ function App() { }> } /> } /> + } /> } /> diff --git a/frontend/src/components/qna_svg.js b/frontend/src/components/qna_svg.js new file mode 100644 index 0000000..cc6fe51 --- /dev/null +++ b/frontend/src/components/qna_svg.js @@ -0,0 +1,56 @@ +export const CommentImoji = () => ( + + + + +); + +export const MeCuriousToo = () => ( + + + + + + + + +); + +export const StaffCheck = () => ( + + + + + +); + +export const SortBtn = () => ( + +); + +export const OBtn = () => ( + + + + + + + + +); + +export const XBtn = () => ( + + + + +); + +export const CommentCommentArraw = () => ( + +); + +export const SumitBtn = () => ( + + +); \ No newline at end of file diff --git a/frontend/src/pages/qna/QnADetailePage.js b/frontend/src/pages/qna/QnADetailePage.js new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/pages/qna/QnADetailePage.module.css b/frontend/src/pages/qna/QnADetailePage.module.css new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/pages/qna/QnAListPage.js b/frontend/src/pages/qna/QnAListPage.js index 6aa0b19..83e66ca 100644 --- a/frontend/src/pages/qna/QnAListPage.js +++ b/frontend/src/pages/qna/QnAListPage.js @@ -1,64 +1,16 @@ import { useState } from 'react'; import styles from './QnAListPage.module.css'; import { FiChevronLeft, FiChevronRight } from 'react-icons/fi'; - - -const CommentImoji = () => ( - - - - -); - -const MeCuriousToo = () => ( - - - - - - - - -); - -const StaffCheck = () => ( - - - - - -); - -const SortBtn = () => ( - -); - -const OBtn = () => ( - - - - - - - - -); - -const XBtn = () => ( - - - - -); - -const CommentCommentArraw = () => ( - -); - -const SumitBtn = () => ( - - -); +import { + CommentImoji, + MeCuriousToo, + StaffCheck, + SortBtn, + OBtn, + XBtn, + CommentCommentArraw, + SumitBtn, +} from '../../components/qna_svg'; const UNDERSTAND = ['이해했다', '성공했다'];