From 5a0887348a68406b19ca3e7848b6b09e8b9cf215 Mon Sep 17 00:00:00 2001 From: jeungseulki Date: Mon, 10 Aug 2026 15:14:09 +0900 Subject: [PATCH 1/6] =?UTF-8?q?fix:=20=EA=B2=AC=EC=A0=81=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EC=8A=A4=EC=BC=88=EB=A0=88=ED=86=A4=20UI?= =?UTF-8?q?=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/estimates/received/page.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/estimates/received/page.tsx b/src/app/estimates/received/page.tsx index 1cac12df..2456ef7c 100644 --- a/src/app/estimates/received/page.tsx +++ b/src/app/estimates/received/page.tsx @@ -1,7 +1,6 @@ import type { Metadata } from "next"; import CustomerAuthGate from "@/components/auth/CustomerAuthGate"; -import { ReceivedEstimatesLoadingSkeleton } from "@/components/estimate/EstimateLoadingSkeletons"; import ReceivedEstimatesPageClient from "@/components/estimate/received/ReceivedEstimatesPageClient"; export const metadata: Metadata = { @@ -11,7 +10,7 @@ export const metadata: Metadata = { export default function ReceivedEstimatesPage() { return ( - }> + ); From f51c1b728b89f90a9a357a7a8a4027e166f7fc4f Mon Sep 17 00:00:00 2001 From: jeungseulki Date: Mon, 10 Aug 2026 15:18:24 +0900 Subject: [PATCH 2/6] =?UTF-8?q?fix:=20top=20=EB=B2=84=ED=8A=BC=20=ED=8F=AC?= =?UTF-8?q?=EC=BB=A4=EC=8A=A4=20=EC=A0=91=EA=B7=BC=EC=84=B1=20=EA=B0=9C?= =?UTF-8?q?=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/ScrollToTopButton.tsx | 44 ++++++++++++++----- .../landing/LandingBottomBanner.tsx | 2 +- .../landing/LandingFeatureCompare.tsx | 6 +-- .../landing/LandingFeatureRequest.tsx | 6 +-- src/components/landing/LandingHero.tsx | 4 +- src/components/landing/LandingMoveTypes.tsx | 2 +- 6 files changed, 44 insertions(+), 20 deletions(-) diff --git a/src/components/common/ScrollToTopButton.tsx b/src/components/common/ScrollToTopButton.tsx index 97446494..5a1ce65c 100644 --- a/src/components/common/ScrollToTopButton.tsx +++ b/src/components/common/ScrollToTopButton.tsx @@ -29,6 +29,7 @@ function shouldHideScrollToTop(pathname: string): boolean { if (pathname.startsWith("/oauth/")) { return true; } + return SCROLL_TO_TOP_HIDDEN_PATHS.has(pathname); } @@ -37,6 +38,7 @@ function isMoverDetailPath(pathname: string): boolean { if (pathname === APP_ROUTES.MOVERS.ROOT || pathname === APP_ROUTES.MOVERS.FAVORITES) { return false; } + return pathname.startsWith(`${APP_ROUTES.MOVERS.ROOT}/`); } @@ -47,10 +49,15 @@ function isMoverDetailPath(pathname: string): boolean { */ export default function ScrollToTopButton() { const pathname = usePathname(); + const [scrolledPastThreshold, setScrolledPastThreshold] = useState(false); + const [isFocused, setIsFocused] = useState(false); + const hiddenByRoute = shouldHideScrollToTop(pathname); const raiseForStickyCta = isMoverDetailPath(pathname); - const show = !hiddenByRoute && scrolledPastThreshold; + + // 버튼에 포커스가 남아 있는 동안에는 숨기지 않음 + const show = !hiddenByRoute && (scrolledPastThreshold || isFocused); useEffect(() => { if (hiddenByRoute) { @@ -62,11 +69,15 @@ export default function ScrollToTopButton() { }; updateVisibility(); - window.addEventListener("scroll", updateVisibility, { passive: true }); + + window.addEventListener("scroll", updateVisibility, { + passive: true, + }); + return () => { window.removeEventListener("scroll", updateVisibility); }; - }, [pathname, hiddenByRoute]); + }, [hiddenByRoute]); if (hiddenByRoute) { return null; @@ -76,22 +87,34 @@ export default function ScrollToTopButton() { diff --git a/src/components/landing/LandingBottomBanner.tsx b/src/components/landing/LandingBottomBanner.tsx index ed8a159d..06776660 100644 --- a/src/components/landing/LandingBottomBanner.tsx +++ b/src/components/landing/LandingBottomBanner.tsx @@ -21,7 +21,7 @@ export default function LandingBottomBanner() { height={60} unoptimized draggable={false} - className="pointer-events-none select-none h-[34px] w-[33px] object-contain md:h-[60px] md:w-[58px]" + className="pointer-events-none h-[34px] w-[33px] object-contain select-none md:h-[60px] md:w-[58px]" /> diff --git a/src/components/landing/LandingFeatureCompare.tsx b/src/components/landing/LandingFeatureCompare.tsx index f57074e8..d2d02ab3 100644 --- a/src/components/landing/LandingFeatureCompare.tsx +++ b/src/components/landing/LandingFeatureCompare.tsx @@ -23,7 +23,7 @@ export default function LandingFeatureCompare() { alt="여러 업체의 견적 카드 비교 예시" fill draggable={false} - className="pointer-events-none select-none object-cover object-top" + className="pointer-events-none object-cover object-top select-none" sizes="(min-width: 1280px) 1920px, 100vw" />

@@ -42,7 +42,7 @@ export default function LandingFeatureCompare() { alt="여러 업체의 견적 카드 비교 예시" fill draggable={false} - className="pointer-events-none select-none object-cover object-top" + className="pointer-events-none object-cover object-top select-none" sizes="100vw" />

@@ -61,7 +61,7 @@ export default function LandingFeatureCompare() { alt="여러 업체의 견적 카드 비교 예시" fill draggable={false} - className="pointer-events-none select-none object-cover object-top" + className="pointer-events-none object-cover object-top select-none" sizes="100vw" /> @@ -73,7 +73,7 @@ export default function LandingFeatureRequest() { alt="견적 상세 화면 예시" fill draggable={false} - className="pointer-events-none select-none object-cover object-top" + className="pointer-events-none object-cover object-top select-none" sizes="100vw" /> diff --git a/src/components/landing/LandingHero.tsx b/src/components/landing/LandingHero.tsx index 421df35b..85ea4e25 100644 --- a/src/components/landing/LandingHero.tsx +++ b/src/components/landing/LandingHero.tsx @@ -20,7 +20,7 @@ export default function LandingHero() { fill priority draggable={false} - className="pointer-events-none select-none object-cover object-bottom opacity-80" + className="pointer-events-none object-cover object-bottom opacity-80 select-none" sizes="100vw" />
@@ -32,7 +32,7 @@ export default function LandingHero() { width={160} height={99} draggable={false} - className="pointer-events-none select-none h-[62px] w-[100px] object-contain md:h-[99px] md:w-160" + className="pointer-events-none h-[62px] w-[100px] object-contain select-none md:h-[99px] md:w-160" unoptimized /> diff --git a/src/components/landing/LandingMoveTypes.tsx b/src/components/landing/LandingMoveTypes.tsx index 05cbc525..aef4c75f 100644 --- a/src/components/landing/LandingMoveTypes.tsx +++ b/src/components/landing/LandingMoveTypes.tsx @@ -67,7 +67,7 @@ export default function LandingMoveTypes() { height={item.featured ? 156 : 99} draggable={false} className={cn( - "pointer-events-none select-none max-w-none shrink-0 object-contain", + "pointer-events-none max-w-none shrink-0 object-contain select-none", item.imageClassName, )} /> From b415cb70a82077c6e468ebeadfc2d810f21e90b4 Mon Sep 17 00:00:00 2001 From: jeungseulki Date: Mon, 10 Aug 2026 16:03:17 +0900 Subject: [PATCH 3/6] =?UTF-8?q?fix:=20=EB=B9=88=20=EC=83=81=ED=83=9C=20?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pending/PendingEstimatesPageClient.tsx | 2 +- .../received/ReceivedEstimatesPageClient.tsx | 2 +- .../requests/EstimateRequestsList.tsx | 25 +++++++++++-------- .../requests/EstimateRequestsPageClient.tsx | 6 +---- 4 files changed, 17 insertions(+), 18 deletions(-) diff --git a/src/components/estimate/pending/PendingEstimatesPageClient.tsx b/src/components/estimate/pending/PendingEstimatesPageClient.tsx index d6c71d4a..6d35ebda 100644 --- a/src/components/estimate/pending/PendingEstimatesPageClient.tsx +++ b/src/components/estimate/pending/PendingEstimatesPageClient.tsx @@ -22,7 +22,7 @@ export default function PendingEstimatesPageClient() { const showRefetchError = isError && hasData; return ( -
+
{showInitialSkeleton ? : null} {showBlockingError ? ( diff --git a/src/components/estimate/received/ReceivedEstimatesPageClient.tsx b/src/components/estimate/received/ReceivedEstimatesPageClient.tsx index 25bf1704..b010099e 100644 --- a/src/components/estimate/received/ReceivedEstimatesPageClient.tsx +++ b/src/components/estimate/received/ReceivedEstimatesPageClient.tsx @@ -27,7 +27,7 @@ export default function ReceivedEstimatesPageClient() { return (
diff --git a/src/components/estimate/requests/EstimateRequestsList.tsx b/src/components/estimate/requests/EstimateRequestsList.tsx index fce497ae..a21a23bd 100644 --- a/src/components/estimate/requests/EstimateRequestsList.tsx +++ b/src/components/estimate/requests/EstimateRequestsList.tsx @@ -91,17 +91,20 @@ export default function EstimateRequestsList({ if (pagination.totalCount === 0) { return isAllFilter ? ( - - 아직 보낸 견적 요청이 없어요 -
- 견적 요청을 작성하고 기사님의 견적을 받아보세요 - - } - buttonLabel="견적 요청하기" - href={APP_ROUTES.ESTIMATE_REQUEST} - /> +
+ + 아직 보낸 견적 요청이 없어요 +
+ 견적 요청을 작성하고 기사님의 견적을 받아보세요 + + } + buttonLabel="견적 요청하기" + href={APP_ROUTES.ESTIMATE_REQUEST} + alignWithFilter + /> +
) : (
diff --git a/src/components/estimate/requests/EstimateRequestsPageClient.tsx b/src/components/estimate/requests/EstimateRequestsPageClient.tsx index d32894ab..1dcc4429 100644 --- a/src/components/estimate/requests/EstimateRequestsPageClient.tsx +++ b/src/components/estimate/requests/EstimateRequestsPageClient.tsx @@ -64,10 +64,6 @@ export default function EstimateRequestsPageClient() { const totalPages = Math.max(1, pagination?.totalPages ?? 1); const currentPage = pagination?.page ?? Math.min(Math.max(1, page), totalPages); const hasData = !isLoading && !isError && Boolean(pagination); - // placeholder(이전 필터) 기준으로 Empty py를 바꾸지 않음 - const isEmpty = - hasData && pagination != null && !isPlaceholderData && pagination.totalCount === 0; - const handlePageChange = (nextPage: number) => { setPage(nextPage); window.scrollTo({ top: 0, behavior: "smooth" }); @@ -79,7 +75,7 @@ export default function EstimateRequestsPageClient() { }; return ( -
+
{isLoading ? : null} {isError ? ( From 73acfaff8221bab1536b42047a9450820fff89d4 Mon Sep 17 00:00:00 2001 From: jeungseulki Date: Mon, 10 Aug 2026 17:15:37 +0900 Subject: [PATCH 4/6] =?UTF-8?q?fix:=20=EC=83=81=EC=84=B8=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=ED=95=84=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EA=B2=80?= =?UTF-8?q?=EC=9D=80=EC=A4=84=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/DetailHeroBanner.tsx | 14 +++++++++----- .../estimate/detail/EstimateDetailLayout.tsx | 17 ++++++++++++++++- .../detail/EstimateDetailPageSkeleton.tsx | 2 +- .../requests/EstimateRequestsPageClient.tsx | 6 +++++- 4 files changed, 31 insertions(+), 8 deletions(-) diff --git a/src/components/common/DetailHeroBanner.tsx b/src/components/common/DetailHeroBanner.tsx index 5baa99f4..777fe6af 100644 --- a/src/components/common/DetailHeroBanner.tsx +++ b/src/components/common/DetailHeroBanner.tsx @@ -8,6 +8,8 @@ interface DetailHeroBannerProps { showProfile?: boolean; imageUrl?: string | null; name?: string; + /** 첫 화면 LCP 프로필 이미지를 preload할지 여부 */ + preloadProfileImage?: boolean; } /** @@ -18,12 +20,13 @@ export default function DetailHeroBanner({ showProfile = true, imageUrl = null, name = "", + preloadProfileImage = false, }: DetailHeroBannerProps) { if (!showProfile) { return (
- - + +
); } @@ -36,15 +39,15 @@ export default function DetailHeroBanner({ {/* 2026.07.25 정슬기 - [수정] Figma hero-decoration SVG(캡슐 벡터)로 원형 CSS 대체 */} {/* 우측: AABB x=1112(50%+152), 주황 배너 하단에 맞춤 */} {/* 2026.07.26 정슬기 - [수정] Tailwind arbitrary calc 연산자 공백을 _로 표기 */} - - + +
{/* 2026.07.24 정슬기 - [수정] margin 토큰 유틸(left-margin-*) 사용 */} {/* 2026.07.25 정슬기 - [수정] Desktop 아바타 x=359 (Figma 8091:47378), 129×137, r20, top=122 */} {/* 2026.07.26 정슬기 - [수정] Tablet 프로필 Figma 100×100·r12 (1:9171 / 1:11975) — size-25 */} {/* 프로필은 Figma처럼 둥근 네모(원형 X). 기본 아이콘도 사각 배경으로 맞춤 */} -
+
{imageUrl ? ( {`${name} ) : ( diff --git a/src/components/estimate/detail/EstimateDetailLayout.tsx b/src/components/estimate/detail/EstimateDetailLayout.tsx index 9baabbcb..9ca11d33 100644 --- a/src/components/estimate/detail/EstimateDetailLayout.tsx +++ b/src/components/estimate/detail/EstimateDetailLayout.tsx @@ -119,6 +119,7 @@ export function EstimateDetailQueryState({ actionBusy={actionBusy} className={className} /> + {secondaryAction}
@@ -154,7 +155,17 @@ export function EstimateDetailLoadingState({ - + {showProfile ? ( +
+
+ +
+ +
+
+ ) : ( + + )}
+
@@ -219,11 +231,13 @@ export function EstimateDetailLoadingState({ @@ -246,6 +260,7 @@ export function EstimateDetailLoadingState({
+
diff --git a/src/components/estimate/detail/EstimateDetailPageSkeleton.tsx b/src/components/estimate/detail/EstimateDetailPageSkeleton.tsx index 8f6de39b..cf7d98fe 100644 --- a/src/components/estimate/detail/EstimateDetailPageSkeleton.tsx +++ b/src/components/estimate/detail/EstimateDetailPageSkeleton.tsx @@ -21,7 +21,7 @@ export default function EstimateDetailPageSkeleton() { return (
{ setPage(nextPage); window.scrollTo({ top: 0, behavior: "smooth" }); @@ -75,7 +79,7 @@ export default function EstimateRequestsPageClient() { }; return ( -
+
{isLoading ? : null} {isError ? ( From b7a8e09cc4d8591850bcd21cbaa3372014e97991 Mon Sep 17 00:00:00 2001 From: jeungseulki Date: Mon, 10 Aug 2026 17:25:09 +0900 Subject: [PATCH 5/6] =?UTF-8?q?fix:=20=ED=95=84=ED=84=B0=20=EC=8A=A4?= =?UTF-8?q?=EC=BC=88=EB=A0=88=ED=86=A4=20=EC=9C=84=EC=B9=98=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 --- .../estimate/requests/EstimateRequestLoadingSkeletons.tsx | 2 +- .../estimate/requests/EstimateRequestsPageClient.tsx | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/estimate/requests/EstimateRequestLoadingSkeletons.tsx b/src/components/estimate/requests/EstimateRequestLoadingSkeletons.tsx index b7e9d597..1018b338 100644 --- a/src/components/estimate/requests/EstimateRequestLoadingSkeletons.tsx +++ b/src/components/estimate/requests/EstimateRequestLoadingSkeletons.tsx @@ -66,7 +66,7 @@ export function EstimateRequestListSkeleton({ aria-label="보낸 견적 요청을 불러오는 중" > {showFilter ? ( -