From 188ff36f110900c7c7dcdb6a89d1a58a0517742a Mon Sep 17 00:00:00 2001 From: KANGYONGSU23 Date: Fri, 17 Nov 2023 15:32:26 +0900 Subject: [PATCH] =?UTF-8?q?file=20::=20=EB=84=A4=EC=9D=B4=EB=B0=8D=20?= =?UTF-8?q?=EC=B2=B4=EC=9D=B8=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SuggestionHeader.tsx | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/components/SuggestionHeader.tsx b/src/components/SuggestionHeader.tsx index 6f39bc7..d5d20e3 100644 --- a/src/components/SuggestionHeader.tsx +++ b/src/components/SuggestionHeader.tsx @@ -2,6 +2,7 @@ import { Icon } from "@team-return/design-system"; import { MyProfile } from "@/apis/students"; +import Link from "next/link"; interface PropsType { listType: "Company" | "Recruitments" | "BookMark"; @@ -9,15 +10,15 @@ interface PropsType { export default function SuggestionHeader({ listType }: PropsType) { const { data } = MyProfile(); - - const fix_data = { + + const suggestionHeaderDummy = { Company: { title: "🏒 이런 기업은 μ–΄λ– μ„Έμš”?", - router: "/company", + router: "/companies", }, Recruitments: { - title: `πŸ‘©β€πŸ’» ${data?.data.student_name || 'μ‚¬μš©μž'}λ‹˜μ˜ 관심 λΆ„μ•Όμ—μš”`, - router: "/recruitements", + title: `πŸ‘©β€πŸ’» ${data?.data.student_name || "μ‚¬μš©μž"}λ‹˜μ˜ 관심 λΆ„μ•Όμ—μš”`, + router: "/recruitments", }, BookMark: { title: "πŸ“Œ λ‚΄κ°€ μ €μž₯ν•œ λͺ¨μ§‘μ˜λ’°μ„œ", @@ -26,12 +27,17 @@ export default function SuggestionHeader({ listType }: PropsType) { return (
-

{fix_data[listType].title}

+

{suggestionHeaderDummy[listType].title}

- + {listType !== "BookMark" && ( + + 전체보기 + + + )}
); }