diff --git a/src/components/ui/PhotoGallery.tsx b/src/components/ui/PhotoGallery.tsx index 1ca4f8a..4dcdc36 100644 --- a/src/components/ui/PhotoGallery.tsx +++ b/src/components/ui/PhotoGallery.tsx @@ -70,6 +70,10 @@ function PhotoGallery({ ))} + {/* Figma QA(nodeId 2849:60815/60786): 사진 위 뒤로가기가 잘 보이도록 상단에 어두운 + 그라데이션을 깐다. 오버레이 버튼보다 아래(먼저) 그려야 버튼이 그 위에 얹힌다. */} +
+ {overlay} {/* group + 웹 전용(hover:hover) 미디어에서만 화살표를 보여준다 — 터치 기기는 hover 자체가 diff --git a/src/components/ui/ScreenLayout.tsx b/src/components/ui/ScreenLayout.tsx index b746d8b..94a753a 100644 --- a/src/components/ui/ScreenLayout.tsx +++ b/src/components/ui/ScreenLayout.tsx @@ -23,7 +23,16 @@ function getBottomNavValueFromPath(pathname: string): BottomNavValue { const matched = ( Object.entries(BOTTOM_NAV_PATHS) as [BottomNavValue, string][] ).find(([, path]) => path === pathname); - return matched?.[0] ?? "home"; + if (matched) { + return matched[0]; + } + // 열린피드백은 "게시판" 탭 소속이지만 상세(모아보기)·글쓰기 화면은 각자 다른 경로 + // (/feedbacks/:feedbackId, /feedbacks/new)라 위 exact-match로는 안 잡힌다 — 진입 시에도 + // 계속 "게시판"이 활성으로 보여야 한다(Figma QA nodeId 2849:56863). + if (pathname.startsWith("/feedbacks")) { + return "board"; + } + return "home"; } // 화면 전체 배경. 카드형 화면(빌릴게·신청서)은 흰 카드가 뜨도록 회색 여백(alternative)이 필요하고, diff --git a/src/features/events/EventsDetailScreen.tsx b/src/features/events/EventsDetailScreen.tsx index d407a92..94b9cbb 100644 --- a/src/features/events/EventsDetailScreen.tsx +++ b/src/features/events/EventsDetailScreen.tsx @@ -65,7 +65,7 @@ function EventsDetailScreen() { onClick={() => navigate(-1)} variant="icon" > -