개요
Explore 페이지와 Editorial 페이지의 데이터 연동 및 UI 완성.
담당: @thxforall
Epic: #35
현재 상태
- Explore (
/explore): ExploreClient — Pinterest 스타일 masonry grid ✅
- 무한 스크롤, 카테고리 필터, 검색 지원
- REST API
GET /api/v1/posts 사용
- Editorial (
/editorial): ExploreClient를 hasMagazine prop으로 재사용 ✅
magazine_id가 있는 post만 필터링
- Explore 카드 컴포넌트:
ExploreCardCell, ExploreFilterBar, ExploreFilterSheet ✅
필요한 작업
참고 파일
packages/web/app/explore/ExploreClient.tsx
packages/web/app/editorial/page.tsx
packages/web/lib/components/explore/ — Explore 컴포넌트
packages/web/app/api/v1/posts/route.ts — 포스트 API
packages/web/lib/hooks/useImages.ts — useInfinitePosts 훅
개요
Explore 페이지와 Editorial 페이지의 데이터 연동 및 UI 완성.
담당: @thxforall
Epic: #35
현재 상태
/explore):ExploreClient— Pinterest 스타일 masonry grid ✅GET /api/v1/posts사용/editorial):ExploreClient를hasMagazineprop으로 재사용 ✅magazine_id가 있는 post만 필터링ExploreCardCell,ExploreFilterBar,ExploreFilterSheet✅필요한 작업
hasMagazine=true일 때 실제로magazine_id있는 post가 반환되는지 확인magazine_id부여참고 파일
packages/web/app/explore/ExploreClient.tsxpackages/web/app/editorial/page.tsxpackages/web/lib/components/explore/— Explore 컴포넌트packages/web/app/api/v1/posts/route.ts— 포스트 APIpackages/web/lib/hooks/useImages.ts— useInfinitePosts 훅