Skip to content

Commit 6f62bf5

Browse files
committed
feat: 대화 주제 추천, 대화 꿀팁 페이지 -> 정적 페이지로 변경 + 대화 온도 페이지 로직 변경 및 오타 수정
1 parent e44da9d commit 6f62bf5

File tree

9 files changed

+231
-234
lines changed

9 files changed

+231
-234
lines changed

src/App.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ import {
55
Route,
66
useLocation
77
} from "react-router-dom";
8+
import { initGA, trackPageView } from "@/libs/analytics";
89
import Home from "@/pages/Home";
910
import SelectInfo from "@/pages/SelectInfo";
1011
import Chat from "@/pages/Chat";
1112
import ChatRecommend from "@/pages/ChatRecommend";
1213
import ChatTips from "@/pages/ChatTips";
13-
import ChatTemporature from "@/pages/ChatTemporature";
14+
import ChatTemperature from "@/pages/ChatTemperature";
1415
import Content from "@/pages/Content";
1516
import Login from "@/pages/Login";
1617
import MyInfo from "@/pages/MyInfo";
@@ -19,7 +20,6 @@ import MbtiTestIntro from "@/pages/MbtiTestIntro";
1920
import MbtiTestQuestions from "@/pages/MbtiTestQuestions";
2021
import MbtiTestResult from "@/pages/MbtiTestResult";
2122
import CenteredLayout from "@/components/CenteredLayout";
22-
import { initGA, trackPageView } from "@/libs/analytics";
2323
import Error from "@/pages/Error";
2424

2525
const PageTracker = () => {
@@ -85,8 +85,8 @@ const App = () => {
8585
<Route path="/chat-recommend/:mbti" element={<ChatRecommend />} />
8686
<Route path="/chat-tips/:mbti" element={<ChatTips />} />
8787
<Route
88-
path="/chat-temporature/:conversationId"
89-
element={<ChatTemporature />}
88+
path="/chat-temperature/:conversationId"
89+
element={<ChatTemperature />}
9090
/>
9191
<Route path="/contents/:id" element={<Content />} />
9292
<Route path="/login" element={<Login />} />

src/components/tips/TipsMenu.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const TipsMenu = ({
55
mbti,
66
conversationId
77
}: {
8-
mode: "topic" | "conversation" | "temporature";
8+
mode: "topic" | "conversation" | "temperature";
99
mbti?: string;
1010
conversationId?: string;
1111
}) => {
@@ -24,10 +24,10 @@ const TipsMenu = ({
2424
imageUrl = "/icon/lightbulb.svg";
2525
href = `/chat-tips/${mbti}`;
2626
break;
27-
case "temporature":
27+
case "temperature":
2828
text = "현재 대화의 온도 측정하기";
2929
imageUrl = "/icon/thermometer.svg";
30-
href = `/chat-temporature/${conversationId}`;
30+
href = `/chat-temperature/${conversationId}`;
3131
break;
3232
default:
3333
return;

src/components/tips/TipsMenuContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const TipsMenuContainer = ({
1111
<>
1212
<TipsMenu mode="topic" mbti={mbti} />
1313
<TipsMenu mode="conversation" mbti={mbti} />
14-
<TipsMenu mode="temporature" conversationId={conversationId} />
14+
<TipsMenu mode="temperature" conversationId={conversationId} />
1515
</>
1616
);
1717
};

src/mock/chatTips.ts

Lines changed: 0 additions & 160 deletions
This file was deleted.

0 commit comments

Comments
 (0)