Skip to content

Commit

Permalink
Merge pull request #179 from CodeitFESI4-Team1/Fix/178/ReviewableList
Browse files Browse the repository at this point in the history
Fix/178/reviewable list
  • Loading branch information
HaeJungg authored Nov 22, 2024
2 parents 4cd9239 + 4509aa8 commit 7c42a0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,21 @@ export default function ReviewableGatheringCardList() {

// 로딩 중일 때 스켈레톤 표시
if (isLoading) {
return <MyReviewSkeletonList />;
return (
<section className="item-center mt-8 flex flex-col">
<MyReviewSkeletonList />
</section>
);
}

return (
<ul className="flex flex-col items-center gap-4">
<ul className="mt-8 flex flex-col items-center gap-4">
{/* 데이터가 비었을 때 메시지 */}
{isDataEmpty ? (
<div className="text-gray-500">아직 모임이 없습니다.</div>
<section className="py-16 text-center">
<h3 className="text-xl font-bold text-blue-500">리뷰 가능한 약속이 없어요</h3>
<p className="mt-4 text-gray-600">크루의 약속에 참여해보세요🙌</p>
</section>
) : (
// 카드 컴포넌트 배열 렌더링
data.pages.map((page, pageIndex) => (
Expand Down
Binary file removed src/app/favicon.ico
Binary file not shown.

0 comments on commit 7c42a0d

Please sign in to comment.