From 46e0d91b4220268ef1e9ef7b43eca003354dd5cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=95=9C=EC=9E=88=EB=8A=94-=EC=9C=A0=EC=A0=80?= =?UTF-8?q?=EB=84=A4=EC=9E=84?= Date: Mon, 18 Aug 2025 18:56:24 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=98=A4=ED=94=88=EC=B1=84=ED=8C=85?= =?UTF-8?q?=EB=B0=A9=20=EB=A9=94=EC=9D=B8=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=EC=9E=91=EC=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\354\235\230_\353\214\200\355\231\224.svg" | 52 +++++++++++++++++++ ...\354\235\230_\353\214\200\355\231\224.svg" | 26 ++++++++++ src/components/Profile.tsx | 4 +- src/components/TopicProfileContainer.tsx | 9 ++-- 4 files changed, 86 insertions(+), 5 deletions(-) create mode 100644 "public/image/F\354\235\230_\353\214\200\355\231\224.svg" create mode 100644 "public/image/N\354\235\230_\353\214\200\355\231\224.svg" diff --git "a/public/image/F\354\235\230_\353\214\200\355\231\224.svg" "b/public/image/F\354\235\230_\353\214\200\355\231\224.svg" new file mode 100644 index 0000000..ef96965 --- /dev/null +++ "b/public/image/F\354\235\230_\353\214\200\355\231\224.svg" @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/public/image/N\354\235\230_\353\214\200\355\231\224.svg" "b/public/image/N\354\235\230_\353\214\200\355\231\224.svg" new file mode 100644 index 0000000..2eb4998 --- /dev/null +++ "b/public/image/N\354\235\230_\353\214\200\355\231\224.svg" @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/Profile.tsx b/src/components/Profile.tsx index 36895d9..579a0eb 100644 --- a/src/components/Profile.tsx +++ b/src/components/Profile.tsx @@ -12,6 +12,7 @@ interface ProfileProps { topicData?: { chatTitle: string; description: string; + image: string; }; } const Profile = ({ @@ -64,8 +65,7 @@ const Profile = ({ if (mode === "friend" && info) { return `/public/image/${info.mbti}_profile.png`; } else if (mode === "topic" && topicData) { - //FIXME: 디자인 정해지면 수정 - return "/icon/starbubble.svg"; + return topicData.image; } return ""; }; diff --git a/src/components/TopicProfileContainer.tsx b/src/components/TopicProfileContainer.tsx index 4085b79..c76d331 100644 --- a/src/components/TopicProfileContainer.tsx +++ b/src/components/TopicProfileContainer.tsx @@ -3,16 +3,19 @@ import Profile from "@/components/Profile"; type TopicData = { chatTitle: string; description: string; + image: string; }; const topicData: TopicData[] = [ { - chatTitle: "T의 대화", - description: "mbti t인사람들 모임" + chatTitle: "N의 대화", + description: "망상력 N% 대화방", + image: "/image/N의_대화.svg" }, { chatTitle: "F의 대화", - description: "mbti f인사람들 모임" + description: "F 감성 대화방", + image: "/image/F의_대화.svg" } ];