Skip to content

Commit

Permalink
πŸ› fix: update NotFoundLecture align
Browse files Browse the repository at this point in the history
  • Loading branch information
kyubumjang committed Oct 18, 2024
1 parent c2e3c93 commit d5532a6
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,16 +268,20 @@ const Home = () => {
);
}

if (pickLectureListData && pickLectureListData.length > 0) {
return (
<LectureList
lectureListData={homeLectureList?.data.pickClasses ?? []}
type="pickLecture"
/>
);
}
// if (pickLectureListData && pickLectureListData.length > 0) {
// return (
// <LectureList
// lectureListData={homeLectureList?.data.pickClasses ?? []}
// type="pickLecture"
// />
// );
// }

return <NotFoundLecture />;
return (
<div className="flex w-full items-center justify-center">
<NotFoundLecture />
</div>
);
};

return (
Expand Down Expand Up @@ -339,7 +343,9 @@ const Home = () => {
</div>
</div>
</div>
<div>{renderHomeLectureList()}</div>
<div className="flex justify-center items-center">
{renderHomeLectureList()}
</div>
</div>
</div>
<div className="desktop:px-[120px] tablet:px-8 mobile:px-6 ">
Expand All @@ -358,7 +364,7 @@ const Home = () => {
쑰회 수 λ§Žμ€ μΆ”μ²œ 클래슀λ₯Ό μ†Œκ°œν• κ²Œμš”!
</div>
</div>
<div>{renderPickLectureList()}</div>
<div className="w-full">{renderPickLectureList()}</div>
</div>
</div>
</div>
Expand Down

0 comments on commit d5532a6

Please sign in to comment.