From 20966d0c6e908ec1382b211bdc6522021d9f411f Mon Sep 17 00:00:00 2001 From: soyeong Date: Sun, 19 Jul 2026 23:56:58 +0900 Subject: [PATCH 1/4] =?UTF-8?q?refactor:=20=EC=9C=84=EC=8B=9C=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EA=B0=80=EC=A0=B8=EC=98=A4=EA=B8=B0=20=ED=83=80?= =?UTF-8?q?=EC=9D=B4=ED=8B=80=C2=B7=EC=84=9C=EB=B8=8C=ED=83=80=EC=9D=B4?= =?UTF-8?q?=ED=8B=80=C2=B7=EC=B9=B4=EC=9A=B4=ED=8A=B8=20=ED=83=80=EC=9D=B4?= =?UTF-8?q?=ED=8F=AC=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../by-wish/_components/WishSelectHeader.tsx | 27 +++++++------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/apps/web/src/app/tournament/[id]/create/by-wish/_components/WishSelectHeader.tsx b/apps/web/src/app/tournament/[id]/create/by-wish/_components/WishSelectHeader.tsx index 06a93d46..eb48cf3e 100644 --- a/apps/web/src/app/tournament/[id]/create/by-wish/_components/WishSelectHeader.tsx +++ b/apps/web/src/app/tournament/[id]/create/by-wish/_components/WishSelectHeader.tsx @@ -16,33 +16,24 @@ function WishSelectHeader({ const renderSubtitle = () => { if (isMaxExceeded) return ( -

- 최대 {MAX_SELECT}개 - 까지 선택할 수 있어요 +

+ 최대 {MAX_SELECT}개까지 선택할 수 있어요

); return ( -

- - {tournamentCandidateCount}개가 - - - {' 담겨있어요\n더 추가하고 싶은 상품을 골라보세요.'} - +

+ {`후보가 ${tournamentCandidateCount}개 담겨있어요.\n후보로 추가할 상품을 선택해주세요.`}

); }; return ( -
-
-

비교할 위시템을 선택해주세요

-
{renderSubtitle()}
-
-

- {selectedCount} - /{totalCount}개 선택 중 +

+ {renderSubtitle()} +

+ {selectedCount} + /{totalCount}개 선택

); From 41ff10fa20a7e83f511c8ca290f74501e672e734 Mon Sep 17 00:00:00 2001 From: soyeong Date: Sun, 19 Jul 2026 23:57:03 +0900 Subject: [PATCH 2/4] =?UTF-8?q?refactor:=20=EC=9C=84=EC=8B=9C=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EA=B0=80=EC=A0=B8=EC=98=A4=EA=B8=B0=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=EB=B0=95=EC=8A=A4=20=EC=8A=A4=ED=83=80=EC=9D=BC=20?= =?UTF-8?q?=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../create/by-wish/_components/WishSelectCard.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/web/src/app/tournament/[id]/create/by-wish/_components/WishSelectCard.tsx b/apps/web/src/app/tournament/[id]/create/by-wish/_components/WishSelectCard.tsx index b1ffcf5c..06e1e160 100644 --- a/apps/web/src/app/tournament/[id]/create/by-wish/_components/WishSelectCard.tsx +++ b/apps/web/src/app/tournament/[id]/create/by-wish/_components/WishSelectCard.tsx @@ -1,4 +1,3 @@ -import CheckboxEmptyIconFill from '@/assets/icons/fill/checkbox-empty.svg'; import CheckboxSelectedIconFill from '@/assets/icons/fill/checkbox-selected.svg'; import WishCard from '@/components/common/wish-card'; @@ -19,12 +18,14 @@ function WishSelectCard({ name, price, imageUrl, isSelected, onSelect }: WishSel className="relative h-full w-full cursor-pointer text-left" > - - + {isSelected ? ( - + <> + + + ) : ( - + )} From 616be858fb3d7630c645946752abf85eaa60a9a1 Mon Sep 17 00:00:00 2001 From: soyeong Date: Sun, 19 Jul 2026 23:57:09 +0900 Subject: [PATCH 3/4] =?UTF-8?q?refactor:=20=EC=9C=84=EC=8B=9C=20=EC=B9=B4?= =?UTF-8?q?=EB=93=9C=20UI=20=EA=B0=9C=ED=8E=B8=20=EB=B0=8F=20=EA=B7=B8?= =?UTF-8?q?=EB=A6=AC=EB=93=9C=C2=B7=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20?= =?UTF-8?q?=ED=8C=A8=EB=94=A9=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_common/_components/ArchivePageLayout.tsx | 4 +-- .../archive/wish/_components/WishlistList.tsx | 2 +- .../wish/_components/wish-grid/index.tsx | 2 +- .../by-wish/_components/ByWishContent.tsx | 28 +++++++++++-------- .../src/components/common/wish-card/index.tsx | 15 ++++++---- 5 files changed, 29 insertions(+), 22 deletions(-) diff --git a/apps/web/src/app/archive/_common/_components/ArchivePageLayout.tsx b/apps/web/src/app/archive/_common/_components/ArchivePageLayout.tsx index 733ee5a7..4885c43e 100644 --- a/apps/web/src/app/archive/_common/_components/ArchivePageLayout.tsx +++ b/apps/web/src/app/archive/_common/_components/ArchivePageLayout.tsx @@ -7,8 +7,8 @@ type Props = { function ArchivePageLayout({ title, children }: Props) { return ( -
-
+
+
} />

diff --git a/apps/web/src/app/archive/wish/_components/WishlistList.tsx b/apps/web/src/app/archive/wish/_components/WishlistList.tsx index e9e7e161..b3800e50 100644 --- a/apps/web/src/app/archive/wish/_components/WishlistList.tsx +++ b/apps/web/src/app/archive/wish/_components/WishlistList.tsx @@ -45,7 +45,7 @@ function WishlistList({ isDeleteMode, selectedIds, onToggleSelect }: WishlistLis /> {isFetchingNextPage && ( -
+
{Array.from({ length: 2 }).map((_, index) => ( ))} diff --git a/apps/web/src/app/archive/wish/_components/wish-grid/index.tsx b/apps/web/src/app/archive/wish/_components/wish-grid/index.tsx index cfb55ad8..cca26401 100644 --- a/apps/web/src/app/archive/wish/_components/wish-grid/index.tsx +++ b/apps/web/src/app/archive/wish/_components/wish-grid/index.tsx @@ -17,7 +17,7 @@ type WishGridProps = { function WishGrid({ items, isDeleteMode = false, selectedIds, onToggleSelect }: WishGridProps) { return ( -
+
{items.map((item, index) => { if (item.status === 'FAILED') return ( diff --git a/apps/web/src/app/tournament/[id]/create/by-wish/_components/ByWishContent.tsx b/apps/web/src/app/tournament/[id]/create/by-wish/_components/ByWishContent.tsx index a44543e8..abd5a7a7 100644 --- a/apps/web/src/app/tournament/[id]/create/by-wish/_components/ByWishContent.tsx +++ b/apps/web/src/app/tournament/[id]/create/by-wish/_components/ByWishContent.tsx @@ -5,6 +5,7 @@ import { toast } from 'sonner'; import BottomCta from '@/components/bottom-cta'; import Button from '@/components/button'; +import { Header, HeaderIcon } from '@/components/header'; import { useGetWishlist } from '@/hooks/useGetWishlist'; import { useGetTournament } from '../../../_common/_hooks/useGetTournament'; @@ -55,16 +56,22 @@ function ByWishContent({ tournamentId }: ByWishContentProps) { }; return ( -
- +
+
+
} + center={

내 위시에서 가져오기

} + /> + +
-
-
+
+
{items.map(item => ( -
); diff --git a/apps/web/src/types/item.ts b/apps/web/src/types/item.ts index 7c52d99b..203516f0 100644 --- a/apps/web/src/types/item.ts +++ b/apps/web/src/types/item.ts @@ -10,6 +10,7 @@ export type ItemT = { currency: string | null; imageUrl: string | null; sourceUrl: string | null; + sourcePlatform: string | null; }; export type ItemStatusT = (typeof ITEM_STATUS)[keyof typeof ITEM_STATUS]; diff --git a/apps/web/src/types/wish.ts b/apps/web/src/types/wish.ts index 1741fba3..8c92f194 100644 --- a/apps/web/src/types/wish.ts +++ b/apps/web/src/types/wish.ts @@ -22,4 +22,5 @@ export type WishItemT = { price: number; imageUrl: string | null; status: ItemStatusT; + sourcePlatform: string | null; };