diff --git a/frontend/index.html b/frontend/index.html index 34fc3d4c..ace064c3 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,43 +1,31 @@ - - - - - - - Preview | 실시간 면접 스터디 - - - - - - - - - - - - - - - -
- - - + + + + + + + Preview | 실시간 면접 스터디 + + + + + + + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/frontend/src/components/common/Sidebar/routesConfig.tsx b/frontend/src/components/common/Sidebar/routesConfig.tsx index d16ffdae..29f6ece3 100644 --- a/frontend/src/components/common/Sidebar/routesConfig.tsx +++ b/frontend/src/components/common/Sidebar/routesConfig.tsx @@ -23,7 +23,7 @@ const commonRoutes = [ }, { path: "/sessions", - label: "스터디 세션 목록", + label: "스터디 채널", icon: , }, ]; diff --git a/frontend/src/components/questions/create/QuestionForm/AccessSection/index.tsx b/frontend/src/components/questions/create/AccessSection.tsx similarity index 81% rename from frontend/src/components/questions/create/QuestionForm/AccessSection/index.tsx rename to frontend/src/components/questions/create/AccessSection.tsx index fe00083b..00603bca 100644 --- a/frontend/src/components/questions/create/QuestionForm/AccessSection/index.tsx +++ b/frontend/src/components/questions/create/AccessSection.tsx @@ -1,6 +1,6 @@ import SelectTitle from "@/components/common/Text/SelectTitle"; import AccessButton from "@/components/common/Button/AccessButton"; -import useQuestionFormStore from "@/stores/useQuestionFormStore"; +import useQuestionFormStore from "@/pages/CreateQuestionPage/stores/useQuestionFormStore"; const AccessSection = () => { const { access, setAccess } = useQuestionFormStore(); diff --git a/frontend/src/components/questions/create/QuestionForm/CategorySection/index.tsx b/frontend/src/components/questions/create/CategorySection.tsx similarity index 80% rename from frontend/src/components/questions/create/QuestionForm/CategorySection/index.tsx rename to frontend/src/components/questions/create/CategorySection.tsx index 5a752792..4d645bb4 100644 --- a/frontend/src/components/questions/create/QuestionForm/CategorySection/index.tsx +++ b/frontend/src/components/questions/create/CategorySection.tsx @@ -1,6 +1,6 @@ import SelectTitle from "@/components/common/Text/SelectTitle"; -import { options } from "./data"; -import useQuestionFormStore from "@/stores/useQuestionFormStore"; +import { options } from "./utils/categoryData"; +import useQuestionFormStore from "@/pages/CreateQuestionPage/stores/useQuestionFormStore"; import CategorySelect from "@/components/common/Select/CategorySelect"; const CategorySection = () => { diff --git a/frontend/src/components/questions/create/QuestionForm/QuestionInputSection/EditInput.tsx b/frontend/src/components/questions/create/QuestionInputSection/EditInput.tsx similarity index 95% rename from frontend/src/components/questions/create/QuestionForm/QuestionInputSection/EditInput.tsx rename to frontend/src/components/questions/create/QuestionInputSection/EditInput.tsx index 11f11049..2b29b06f 100644 --- a/frontend/src/components/questions/create/QuestionForm/QuestionInputSection/EditInput.tsx +++ b/frontend/src/components/questions/create/QuestionInputSection/EditInput.tsx @@ -1,5 +1,5 @@ import { useEffect, useRef } from "react"; -import { adjustHeight } from "../utils/textarea"; +import { adjustHeight } from "../utils/textareaHeight"; interface EditInputProps { value: string; diff --git a/frontend/src/components/questions/create/QuestionForm/QuestionInputSection/QuestionInput.tsx b/frontend/src/components/questions/create/QuestionInputSection/QuestionInput.tsx similarity index 92% rename from frontend/src/components/questions/create/QuestionForm/QuestionInputSection/QuestionInput.tsx rename to frontend/src/components/questions/create/QuestionInputSection/QuestionInput.tsx index f3a77322..2de13123 100644 --- a/frontend/src/components/questions/create/QuestionForm/QuestionInputSection/QuestionInput.tsx +++ b/frontend/src/components/questions/create/QuestionInputSection/QuestionInput.tsx @@ -1,7 +1,7 @@ import { useEffect, useRef, useState } from "react"; -import useQuestionFormStore from "@/stores/useQuestionFormStore"; +import useQuestionFormStore from "@/pages/CreateQuestionPage/stores/useQuestionFormStore"; import useToast from "@/hooks/useToast"; -import { adjustHeight } from "../utils/textarea"; +import { adjustHeight } from "../utils/textareaHeight"; const QuestionInput = () => { const toast = useToast(); diff --git a/frontend/src/components/questions/create/QuestionForm/QuestionInputSection/QuestionList.tsx b/frontend/src/components/questions/create/QuestionInputSection/QuestionList.tsx similarity index 94% rename from frontend/src/components/questions/create/QuestionForm/QuestionInputSection/QuestionList.tsx rename to frontend/src/components/questions/create/QuestionInputSection/QuestionList.tsx index e82b7b06..0b44915d 100644 --- a/frontend/src/components/questions/create/QuestionForm/QuestionInputSection/QuestionList.tsx +++ b/frontend/src/components/questions/create/QuestionInputSection/QuestionList.tsx @@ -1,5 +1,5 @@ import { useState } from "react"; -import useQuestionFormStore from "@/stores/useQuestionFormStore"; +import useQuestionFormStore from "@/pages/CreateQuestionPage/stores/useQuestionFormStore"; import QuestionItem from "./QustionItem"; import EditInput from "./EditInput"; diff --git a/frontend/src/components/questions/create/QuestionForm/QuestionInputSection/QustionItem.tsx b/frontend/src/components/questions/create/QuestionInputSection/QustionItem.tsx similarity index 100% rename from frontend/src/components/questions/create/QuestionForm/QuestionInputSection/QustionItem.tsx rename to frontend/src/components/questions/create/QuestionInputSection/QustionItem.tsx diff --git a/frontend/src/components/questions/create/QuestionForm/QuestionInputSection/index.tsx b/frontend/src/components/questions/create/QuestionInputSection/index.tsx similarity index 88% rename from frontend/src/components/questions/create/QuestionForm/QuestionInputSection/index.tsx rename to frontend/src/components/questions/create/QuestionInputSection/index.tsx index 1460844e..e21065d8 100644 --- a/frontend/src/components/questions/create/QuestionForm/QuestionInputSection/index.tsx +++ b/frontend/src/components/questions/create/QuestionInputSection/index.tsx @@ -1,7 +1,7 @@ import SelectTitle from "@/components/common/Text/SelectTitle"; import QuestionInput from "./QuestionInput"; import QuestionList from "./QuestionList"; -import useQuestionFormStore from "@/stores/useQuestionFormStore"; +import useQuestionFormStore from "@/pages/CreateQuestionPage/stores/useQuestionFormStore"; const QuestionInputSection = () => { const questionList = useQuestionFormStore((state) => state.questionList); diff --git a/frontend/src/components/questions/create/QuestionForm/TitleSection/index.tsx b/frontend/src/components/questions/create/TitleSection.tsx similarity index 86% rename from frontend/src/components/questions/create/QuestionForm/TitleSection/index.tsx rename to frontend/src/components/questions/create/TitleSection.tsx index ddb2c00c..0da6e3d9 100644 --- a/frontend/src/components/questions/create/QuestionForm/TitleSection/index.tsx +++ b/frontend/src/components/questions/create/TitleSection.tsx @@ -1,6 +1,6 @@ import SelectTitle from "@/components/common/Text/SelectTitle"; import TitleInput from "@/components/common/Input/TitleInput"; -import useQuestionFormStore from "@/stores/useQuestionFormStore"; +import useQuestionFormStore from "@/pages/CreateQuestionPage/stores/useQuestionFormStore"; const TitleSection = () => { const { setQuestionTitle } = useQuestionFormStore(); diff --git a/frontend/src/components/questions/create/QuestionForm/CategorySection/data.ts b/frontend/src/components/questions/create/utils/categoryData.ts similarity index 100% rename from frontend/src/components/questions/create/QuestionForm/CategorySection/data.ts rename to frontend/src/components/questions/create/utils/categoryData.ts diff --git a/frontend/src/components/questions/create/QuestionForm/utils/textarea.ts b/frontend/src/components/questions/create/utils/textareaHeight.ts similarity index 100% rename from frontend/src/components/questions/create/QuestionForm/utils/textarea.ts rename to frontend/src/components/questions/create/utils/textareaHeight.ts diff --git a/frontend/src/components/sessions/create/SessionForm/AccessSection/index.tsx b/frontend/src/components/sessions/create/SessionForm/AccessSection.tsx similarity index 82% rename from frontend/src/components/sessions/create/SessionForm/AccessSection/index.tsx rename to frontend/src/components/sessions/create/SessionForm/AccessSection.tsx index a350902d..4cbf9e8f 100644 --- a/frontend/src/components/sessions/create/SessionForm/AccessSection/index.tsx +++ b/frontend/src/components/sessions/create/SessionForm/AccessSection.tsx @@ -1,4 +1,4 @@ -import useSessionFormStore from "@/stores/useSessionFormStore"; +import useSessionFormStore from "@/pages/CreateSessionPage/stores/useSessionFormStore"; import SelectTitle from "@/components/common/Text/SelectTitle"; import AccessButton from "@/components/common/Button/AccessButton"; diff --git a/frontend/src/components/sessions/create/SessionForm/CategorySection/index.tsx b/frontend/src/components/sessions/create/SessionForm/CategorySection.tsx similarity index 89% rename from frontend/src/components/sessions/create/SessionForm/CategorySection/index.tsx rename to frontend/src/components/sessions/create/SessionForm/CategorySection.tsx index 544153fd..042a676f 100644 --- a/frontend/src/components/sessions/create/SessionForm/CategorySection/index.tsx +++ b/frontend/src/components/sessions/create/SessionForm/CategorySection.tsx @@ -1,5 +1,5 @@ import SelectTitle from "@/components/common/Text/SelectTitle"; -import useSessionFormStore from "@/stores/useSessionFormStore"; +import useSessionFormStore from "@/pages/CreateSessionPage/stores/useSessionFormStore"; import CategorySelect from "@/components/common/Select/CategorySelect"; const options = [ diff --git a/frontend/src/components/sessions/create/SessionForm/ListSelectModal/CategoryTab/Category.tsx b/frontend/src/components/sessions/create/SessionForm/ListSelectModal/CategoryTab/Category.tsx index 382c9f2d..26da81ae 100644 --- a/frontend/src/components/sessions/create/SessionForm/ListSelectModal/CategoryTab/Category.tsx +++ b/frontend/src/components/sessions/create/SessionForm/ListSelectModal/CategoryTab/Category.tsx @@ -1,4 +1,4 @@ -import useSessionFormStore from "@stores/useSessionFormStore"; +import useSessionFormStore from "@/pages/CreateSessionPage/stores/useSessionFormStore"; interface Props { tabName: "myList" | "savedList"; @@ -11,11 +11,10 @@ const Category = ({ tabName, tabText }: Props) => { return (