diff --git a/src/features/notices/NoticesDetailScreen.tsx b/src/features/notices/NoticesDetailScreen.tsx
index 4ca8a2c..4d8576a 100644
--- a/src/features/notices/NoticesDetailScreen.tsx
+++ b/src/features/notices/NoticesDetailScreen.tsx
@@ -1,6 +1,5 @@
import {
ContentBadge,
- PageCounter,
type ThemeColorsToken,
TopNavigationButton,
Typography,
@@ -8,6 +7,7 @@ import {
import { IconChevronLeft } from "@wanteddev/wds-icon";
import { useNavigate, useParams } from "react-router-dom";
+import PhotoGallery from "@/components/ui/PhotoGallery";
import ScreenHeader from "@/components/ui/ScreenHeader";
import { useScreenHeader } from "@/components/ui/useScreenHeader";
import {
@@ -25,20 +25,25 @@ function NoticesDetailScreen() {
const { noticeId } = useParams();
const navigate = useNavigate();
const notice = NOTICES.find((item) => item.id === noticeId);
+ const photoCount = notice?.photoCount ?? 0;
+ const backButton = (
+
navigate(-1)}
+ variant="icon"
+ >
+
+
+ );
+
+ // 사진이 있으면 행사 상세와 같은 방식으로 뒤로가기를 사진 위 오버레이로 그려서 사진이 화면
+ // 최상단부터 시작하게 한다(ScreenLayout 헤더 슬롯을 비우면 0px로 접힌다). 사진이 없으면
+ // 덮을 이미지가 없어서 기존처럼 흰 배경 헤더를 쓴다.
useScreenHeader(
-
navigate(-1)}
- variant="icon"
- >
-
-
- }
- variant="normal"
- />,
+ notice?.hasThumbnail ? null : (
+
+ ),
);
if (!notice) {
@@ -59,13 +64,16 @@ function NoticesDetailScreen() {
return (
{notice.hasThumbnail && (
-
+
{backButton}
+ }
+ photoCount={photoCount}
+ showCounter
+ slideClassName="aspect-square"
+ />
)}