diff --git a/apps/web/src/app/stores/[id]/page.tsx b/apps/web/src/app/stores/[id]/page.tsx index 38b0839..a9adece 100644 --- a/apps/web/src/app/stores/[id]/page.tsx +++ b/apps/web/src/app/stores/[id]/page.tsx @@ -148,12 +148,7 @@ export default async function StoreDetailPage({ params }: { params: Promise<{ id

매매 정보

- {store.sale?.listingDescription && ( -

- {store.sale.listingDescription} -

- )} - + {/* 핵심 지표 (첫번째 캡쳐) */}
@@ -175,47 +170,99 @@ export default async function StoreDetailPage({ params }: { params: Promise<{ id />
- {(store.sale?.locationHighlight || store.sale?.saleReason) && ( -
- {store.sale?.locationHighlight && ( -
-

입지 특징

-

- {store.sale.locationHighlight} -

-
+ {/* 매물설명 + 매장사진 (두번째 캡쳐) */} + {(store.sale?.listingDescription || store.photos.length > 0) && ( +
+

매물 설명

+ {store.sale?.listingDescription ? ( +

+ {store.sale.listingDescription} +

+ ) : ( +

설명이 등록되지 않았습니다

)} - {store.sale?.saleReason && ( -
-

매매 사유

-

{store.sale.saleReason}

+ + {store.photos[0] && ( +
+ {/* eslint-disable-next-line @next/next/no-img-element */} + 매장 대표 사진
)}
)} -
- {/* 매장 사진 */} - {store.photos.length > 0 && ( -
-

매장 사진

-
- {store.photos.map((photo) => ( -
- {/* eslint-disable-next-line @next/next/no-img-element */} - 매장 사진 +

매출 / 월수익

+
+
+ + +
- ))} +
-
- )} + )} + + {/* 입지특징 */} + {store.sale?.locationHighlight && ( +
+

입지 특징

+

+ {store.sale.locationHighlight} +

+
+ )} + + {/* 매매사유 */} + {store.sale?.saleReason && ( +
+

매매 사유

+

+ {store.sale.saleReason} +

+
+ )} + + {/* 현장사진 (대표 사진 제외한 나머지) */} + {store.photos.length > 1 && ( +
+

현장 사진

+
+ {store.photos.slice(1).map((photo) => ( +
+ {/* eslint-disable-next-line @next/next/no-img-element */} + 현장 사진 +
+ ))} +
+
+ )} + {/* 임대 정보 */}