From 8c14ce906201ada1229f18c088d1999d010e29d8 Mon Sep 17 00:00:00 2001 From: chan Date: Thu, 19 Feb 2026 10:18:14 +0900 Subject: [PATCH] =?UTF-8?q?fix:=EA=B3=B5=EA=B3=A0=20=EB=A6=AC=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20/=20=EA=B3=B5=EA=B3=A0=20=EC=B9=B4=EB=93=9C=20?= =?UTF-8?q?=EC=84=B9=EC=85=98=20/=20=EC=8B=9C=ED=8A=B8=20=EC=A1=B0?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/ui/components/homeFullSheet.tsx | 6 +++--- src/features/home/ui/homeUrgentNoticeList.tsx | 2 +- src/features/listings/hooks/listingsHooks.tsx | 13 ++++++------ .../ui/listingsContents/listingsBookMark.tsx | 17 +++++++++++++-- .../listingsContents/listingsContentCard.tsx | 21 ++++++++----------- .../listingsFullSheet/listingsFullSheet.tsx | 10 ++++++--- .../mobileFrameWithSheetPortal.tsx | 2 +- 7 files changed, 43 insertions(+), 28 deletions(-) diff --git a/src/features/home/ui/components/homeFullSheet.tsx b/src/features/home/ui/components/homeFullSheet.tsx index 0ed5cc2..a2215aa 100644 --- a/src/features/home/ui/components/homeFullSheet.tsx +++ b/src/features/home/ui/components/homeFullSheet.tsx @@ -30,7 +30,7 @@ export const HomeSheet = () => { {open && ( <> { /> { animate={{ x: 0, opacity: 1 }} exit={{ x: -100, opacity: 0 }} transition={{ duration: 0.5, ease: "easeInOut" }} - className="flex h-full flex-col justify-between" + className="z-11 flex h-full flex-col justify-between" > {mode?.key === "pinpoints" && } {mode?.key === "maxTime" && } diff --git a/src/features/home/ui/homeUrgentNoticeList.tsx b/src/features/home/ui/homeUrgentNoticeList.tsx index dd64225..f73b259 100644 --- a/src/features/home/ui/homeUrgentNoticeList.tsx +++ b/src/features/home/ui/homeUrgentNoticeList.tsx @@ -34,7 +34,7 @@ export const UrgentNoticeList = () => {

전체보기 diff --git a/src/features/listings/hooks/listingsHooks.tsx b/src/features/listings/hooks/listingsHooks.tsx index 9d72bf0..e1b40c0 100644 --- a/src/features/listings/hooks/listingsHooks.tsx +++ b/src/features/listings/hooks/listingsHooks.tsx @@ -37,9 +37,9 @@ const normalizeRentType = (rentType: string) => { }; export const getListingIcon = (type: string, housingType: string, size = 78) => { - const Nyear = normalizeRentType(type); + const Near = normalizeRentType(type); - const IconComp = LISTING_ICON_MAP[Nyear]?.[housingType]; + const IconComp = LISTING_ICON_MAP[Near]?.[housingType]; if (!IconComp) return null; return ; @@ -160,14 +160,15 @@ export const HouseICons = (item: ListingNormalized) => { type HouseRentalProps = ListingNormalized & { query: "listingListInfinite" | "listingSearchInfinite" | "notice"; }; -// ListingNormalized +// ListingNormalized export const HouseRental = ({ query, ...item }: HouseRentalProps) => { - const rantalText = getListingsRental(item.type); - if (!rantalText) return null; + const Near = normalizeRentType(item.type); + const rentalText = getListingsRental(Near); + if (!rentalText) return null; return ( - + ); diff --git a/src/features/listings/ui/listingsContents/listingsBookMark.tsx b/src/features/listings/ui/listingsContents/listingsBookMark.tsx index 41c2e6a..4c3b8bd 100644 --- a/src/features/listings/ui/listingsContents/listingsBookMark.tsx +++ b/src/features/listings/ui/listingsContents/listingsBookMark.tsx @@ -6,13 +6,26 @@ export const ListingBookMark = ({ item, border }: { item: string; border: string aria-label="Toggle bookmark" size="sm" variant="outline" - className={`data-[state=on]:*:[svg]:fill-blue-500 data-[state=on]:*:[svg]:stroke-blue-500 ${border}`} + className={` ${border} data-[state=on]:*:[svg]:fill-blue-500 data-[state=on]:*:[svg]:stroke-blue-500 max-w-full overflow-hidden rounded-[4px]`} > -

{item}

+

{item}

); }; +// export const ListingBookMark = ({ item, border }: { item: string; border: string }) => { +// return ( +// +//

{item}

+//
+// ); +// }; + export const ListingBgBookMark = ({ item, bg, diff --git a/src/features/listings/ui/listingsContents/listingsContentCard.tsx b/src/features/listings/ui/listingsContents/listingsContentCard.tsx index 6410a06..8b6a01e 100644 --- a/src/features/listings/ui/listingsContents/listingsContentCard.tsx +++ b/src/features/listings/ui/listingsContents/listingsContentCard.tsx @@ -27,9 +27,9 @@ export const ListingContentsCard = ({ data }: { data: T[ onClick={() => handleRouter(normalized.id)} >
-
+
-

+

{normalized.supplier}

@@ -38,26 +38,23 @@ export const ListingContentsCard = ({ data }: { data: T[
-
-
{ - e.stopPropagation(); - }} - > +
+
e.stopPropagation()}>
+
-

+

+
-

모집일정

-

+

모집일정

+

{formatApplyPeriod(normalized.applyPeriod)}

diff --git a/src/features/listings/ui/listingsFullSheet/listingsFullSheet.tsx b/src/features/listings/ui/listingsFullSheet/listingsFullSheet.tsx index 37f2802..743d300 100644 --- a/src/features/listings/ui/listingsFullSheet/listingsFullSheet.tsx +++ b/src/features/listings/ui/listingsFullSheet/listingsFullSheet.tsx @@ -253,7 +253,7 @@ const FilterSheetContainer = ({ exit={{ opacity: 0 }} /> void }) => { <>
-
+

공고 필터

-
diff --git a/src/shared/ui/globalRender/mobileFrameWithSheetPortal.tsx b/src/shared/ui/globalRender/mobileFrameWithSheetPortal.tsx index 70c66c4..1a3f979 100644 --- a/src/shared/ui/globalRender/mobileFrameWithSheetPortal.tsx +++ b/src/shared/ui/globalRender/mobileFrameWithSheetPortal.tsx @@ -39,7 +39,7 @@ export function MobileFrameWithSheetPortal({
{/* 바텀시트가 이 컨테이너에만 렌더되도록 포탈 타깃 */}