From 5716ba730d1098ef01f0d3c365fb6fd6277bfd37 Mon Sep 17 00:00:00 2001 From: Sage Date: Mon, 12 Jan 2026 18:29:54 +0900 Subject: [PATCH] =?UTF-8?q?feat(guide):=20=EA=B0=80=EC=9D=B4=EB=93=9C=201,?= =?UTF-8?q?=202,=205=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EB=B0=98=EC=9D=91?= =?UTF-8?q?=ED=98=95=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/notification-sse-provider.tsx | 8 +-- .../guide/ui/pages/guidebook-page1.tsx | 28 ++++---- .../guide/ui/pages/guidebook-page2.tsx | 24 +++---- .../guide/ui/pages/guidebook-page5.tsx | 64 +++++++++---------- 4 files changed, 62 insertions(+), 62 deletions(-) diff --git a/src/features/notification/ui/notification-sse-provider.tsx b/src/features/notification/ui/notification-sse-provider.tsx index 85b5a6ac..2baa90f2 100644 --- a/src/features/notification/ui/notification-sse-provider.tsx +++ b/src/features/notification/ui/notification-sse-provider.tsx @@ -44,9 +44,9 @@ function getPayloadId(payload: NotificationPayload | null): string | null { return null; } -function getPayloadTitle(payload: NotificationPayload | null): string | null { +function getPayloadMessage(payload: NotificationPayload | null): string | null { if (!payload) return null; - const candidate = payload.title; + const candidate = payload.message; return typeof candidate === "string" && candidate.length > 0 ? candidate : null; } @@ -117,8 +117,8 @@ export function NotificationSseProvider() { if (payload) { const didPrepend = prependNotification(queryClient, payload); - const title = getPayloadTitle(payload); - showToast.info(title ?? "새 알림이 도착했어요."); + const message = getPayloadMessage(payload); + showToast.info(message ?? "새 알림이 도착했어요."); if (!didPrepend) { queryClient.invalidateQueries({ queryKey: notificationKeys.all }); diff --git a/src/screens/guide/ui/pages/guidebook-page1.tsx b/src/screens/guide/ui/pages/guidebook-page1.tsx index 3e2e72cd..c7240b77 100644 --- a/src/screens/guide/ui/pages/guidebook-page1.tsx +++ b/src/screens/guide/ui/pages/guidebook-page1.tsx @@ -6,38 +6,38 @@ import { KEYWORDS } from "../../model/guide-data"; export function GuidebookPage1() { return ( -
+
네덜란드 경매 - 시간이 지날수록 가격이 내려가는 독특한 경매 방식 + 시간이 지날수록 가격이 내려가는 독특한 경매 방식 -
+
{KEYWORDS.map((keyword, index) => ( {keyword.label} -

{keyword.description}

+

+ {keyword.description} +

))}
+
-

+

판매자가 정한 Stop Loss까지
5분 @@ -34,18 +34,18 @@ export function GuidebookPage2() {

-
+
{priceData.map((point, index) => (
-
+
0 && ( -

+

💡 원하는 가격이 되면 즉시 구매할 수 있습니다

diff --git a/src/screens/guide/ui/pages/guidebook-page5.tsx b/src/screens/guide/ui/pages/guidebook-page5.tsx index 9102528e..2ffbedc5 100644 --- a/src/screens/guide/ui/pages/guidebook-page5.tsx +++ b/src/screens/guide/ui/pages/guidebook-page5.tsx @@ -17,19 +17,17 @@ export function GuidebookPage5() { }; return ( -
+
-

- 5단계로 간편하게 경매를 등록하세요 -

+

간편하게 경매를 등록하세요

-
+
{steps.map((step, index) => { const isCompleted = completedSteps.includes(index); const isCurrent = index === currentStep; @@ -49,14 +47,14 @@ export function GuidebookPage5() { setCurrentStep(index)} - className="flex flex-col items-center gap-2 transition-all" + className="flex flex-col items-center gap-1.5 transition-all sm:gap-2" initial={{ opacity: 0, scale: 0.8 }} animate={{ opacity: 1, scale: 1 }} transition={{ delay: index * 0.1 }} whileHover={{ scale: 1.05 }} > {isCompleted ? ( - + ) : ( React.createElement(step.icon, { - className: "h-5 w-5 max-[1024px]:h-4 max-[1024px]:w-4", + className: "size-4 sm:size-5", style: { color: iconColor, }, }) )} - + Step {index + 1} {index < steps.length - 1 && (
-
-
+
+
{React.createElement(steps[currentStep].icon, { - className: "h-5 w-5 max-[1024px]:h-4 max-[1024px]:w-4", + className: "size-5", style: { color: "oklch(0.4758 0.2241 288.5)" }, })}
-

- {steps[currentStep].label} -

-

+

{steps[currentStep].label}

+

{steps[currentStep].description}

@@ -136,7 +129,7 @@ export function GuidebookPage5() { {currentStep < steps.length - 1 ? "다음 단계" : "경매 등록하기"} - +
- {completedSteps.length === steps.length && ( +
- + 모든 단계 완료!
- )} +
); }