Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/components/ui/PhotoGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ function PhotoGallery({
))}
</div>

{/* Figma QA(nodeId 2849:60815/60786): 사진 위 뒤로가기가 잘 보이도록 상단에 어두운
그라데이션을 깐다. 오버레이 버튼보다 아래(먼저) 그려야 버튼이 그 위에 얹힌다. */}
<div className="pointer-events-none absolute inset-x-0 top-0 h-[187px] bg-gradient-to-b from-[#6e6e6e] to-[rgba(110,110,110,0)]" />

{overlay}

{/* group + 웹 전용(hover:hover) 미디어에서만 화살표를 보여준다 — 터치 기기는 hover 자체가
Expand Down
11 changes: 10 additions & 1 deletion src/components/ui/ScreenLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)이 필요하고,
Expand Down
2 changes: 1 addition & 1 deletion src/features/events/EventsDetailScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function EventsDetailScreen() {
onClick={() => navigate(-1)}
variant="icon"
>
<IconChevronLeft />
<IconChevronLeft className="text-white" />
</TopNavigationButton>
</div>
}
Expand Down
Loading