From 864a581afb7f771563a137090a0c06f000a065c2 Mon Sep 17 00:00:00 2001 From: seyun31 <2ne1jenna@naver.com> Date: Sun, 15 Feb 2026 21:34:49 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=A7=A4=EC=B9=AD=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EB=B0=8F=20=EB=A7=A4=EC=B9=AD=20=EA=B2=80?= =?UTF-8?q?=EC=82=AC=20UI=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 매칭리스트 필터 태그 칩 디자인 통일 - 매칭리스트 및 비즈니스 상단 탭 컴포넌트 통일 - 매칭검사 하단 패딩 배경색 오류 수정 --- app/components/common/FilterButton.tsx | 9 +++--- app/components/common/Tabs.tsx | 2 +- .../business/calendar/calendar-content.tsx | 31 ++++++------------- .../brand/components/BrandFilterBar.tsx | 4 +-- .../matching/components/MatchingFilter.tsx | 21 +++---------- .../matching/test/components/SelectChip.tsx | 3 +- .../matching/test/step1/step1-content.tsx | 2 +- 7 files changed, 23 insertions(+), 49 deletions(-) diff --git a/app/components/common/FilterButton.tsx b/app/components/common/FilterButton.tsx index 8e8911e3..8375a935 100644 --- a/app/components/common/FilterButton.tsx +++ b/app/components/common/FilterButton.tsx @@ -16,11 +16,10 @@ export default function FilterButton({ }: FilterButtonProps) { return ( - - + setMainTab(value as "collaboration" | "matching")} + />
{mainTab === "collaboration" ? ( diff --git a/app/routes/matching/brand/components/BrandFilterBar.tsx b/app/routes/matching/brand/components/BrandFilterBar.tsx index f3b6256e..77077ff8 100644 --- a/app/routes/matching/brand/components/BrandFilterBar.tsx +++ b/app/routes/matching/brand/components/BrandFilterBar.tsx @@ -16,7 +16,7 @@ export default function BrandFilterBar({ category, onCategoryChange, searchKeywo
{(filterData[subTab as keyof typeof filterData] as readonly string[]).map((tag) => { const selected = currentTags.includes(tag); - if (filterType === "BEAUTY") { - return ( - toggleTag(tag)} - /> - ); - } return ( - toggleTag(tag)} + isSelected={selected} + onToggle={() => toggleTag(tag)} /> ); })} diff --git a/app/routes/matching/test/components/SelectChip.tsx b/app/routes/matching/test/components/SelectChip.tsx index b54518ba..fb0c743b 100644 --- a/app/routes/matching/test/components/SelectChip.tsx +++ b/app/routes/matching/test/components/SelectChip.tsx @@ -18,11 +18,10 @@ export default function SelectChip({ disabled={disabled} className={[ "flex items-center justify-center", - "h-[28px] px-[10px] py-1", + "h-[28px] px-2.5 py-1", "rounded-[20px]", "border", "text-body1", - "shadow-[0_1px_3px_0_var(--color-text-gray4)]", "transition-colors", disabled ? "opacity-50 cursor-not-allowed" : "active:opacity-90", isSelected diff --git a/app/routes/matching/test/step1/step1-content.tsx b/app/routes/matching/test/step1/step1-content.tsx index 1c4ccbbc..3084272b 100644 --- a/app/routes/matching/test/step1/step1-content.tsx +++ b/app/routes/matching/test/step1/step1-content.tsx @@ -86,7 +86,7 @@ export default function MatchingTestContent({
-
+

관심 있는 뷰티 특성