diff --git a/src/main/frontend/src/app/aiChatbot/pageComponents.tsx b/src/main/frontend/src/app/aiChatbot/pageComponents.tsx index 13c14af7..a5ee921b 100644 --- a/src/main/frontend/src/app/aiChatbot/pageComponents.tsx +++ b/src/main/frontend/src/app/aiChatbot/pageComponents.tsx @@ -241,7 +241,7 @@ const AiChatbotPage: React.FC = () => {
-
+
+
커스텀 로드맵 목록
+
직무별 스킬 목록
{skillData.map((cate) => ( diff --git a/src/main/frontend/src/app/customRoadmap/pageComponent.tsx b/src/main/frontend/src/app/customRoadmap/pageComponent.tsx index 3e210e89..e4bd6b11 100644 --- a/src/main/frontend/src/app/customRoadmap/pageComponent.tsx +++ b/src/main/frontend/src/app/customRoadmap/pageComponent.tsx @@ -78,7 +78,16 @@ export default function CustomRoadmapPage() { const [skillDetailData, setSkillDetailData] = useState(null); const [isDetailVisible, setIsDetailVisible] = useState(false); const [selectedState, setSelectedState] = useState(0); + const [isSidePanelOpen, setSidePanelOpen] = useState(false); const [allCategorySkills, setAllCategorySkills] = useState([]); + + const toggleSidePanel = () => { + setSidePanelOpen(!isSidePanelOpen); + }; + + const closeSidePanel = () => { + setSidePanelOpen(false); + }; useEffect(() => { const allCategorySkills = async () => { @@ -416,53 +425,63 @@ export default function CustomRoadmapPage() { return (
-
-
- {isEditMode ? ( - - ) : ( - - )} -
-
나의 커스텀 로드맵
+
+
+
+ {isEditMode ? ( + + ) : ( + + )} +
+
+
+
+ +
+
나의 커스텀 로드맵
+
{isEditMode ? ( - <> +
-
+
- {'축소하기(-)'} + {'축소(-)'}
- {'확대하기(+)'} + {'확대(+)'}
updateRoadmap()} - >저장하기
+ >저장
- +
) : ( - <> -
{selectedRoadmap.name}
+
+
{selectedRoadmap.name}