Skip to content

feat : IT News 리스트 페이지 UI #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 21, 2024
Merged

feat : IT News 리스트 페이지 UI #53

merged 4 commits into from
Nov 21, 2024

Conversation

Junseong0112
Copy link
Collaborator

@Junseong0112 Junseong0112 commented Nov 8, 2024

IT News 리스트 페이지 UI

image

Copy link
Contributor

@KIMSEUNGGYU KIMSEUNGGYU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리뷰 남겼는데 확인 부탁드립니다!!

제가 메인 페이지 만들때 ITNewsComponent 를 재사용하려고 했는데 한 번 고민해줬으면 좋겠습니다.
백엔드 API 스키마가 나온 경우 해당 부분도 참고해주시면 사용할때 편할거 같아요!

만약 너무 부담된다면 pass 하셔도 됩니다. 제가 수정하고 후에 공유하도록 하겠습니다.

수고하셨습니다.

<Card className="relative w-[400px] rounded-[20px] border border-black">
<CardHeader className="relative w-full pb-56 rounded-tl-[20px] rounded-tr-[20px] overflow-hidden">
<Card className="relative w-[calc(33.33%-26.667px)] rounded-[20px] border border-black">
<CardHeader className="relative w-full pb-56 pt-0 rounded-tl-[20px] rounded-tr-[20px] overflow-hidden">
<Image src={thumbnailSrc} alt={title} layout="fill" />
</CardHeader>
<Link href={`/news/${id}`}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 부분에 Link 가 있으면 (찜하기? 즐겨찾기?) 별표 아이콘 클릭할때 해당 이벤트가 발생하지 않고, 더 나아가서 해당 컴포넌트 재사용성이 떨어질거 같아요!

현재 제가 main 페이지에서 해당 컴포넌트 재사용하려는데 재사용성이 떨어지는거 같아서 해당 부분은 외부에 위임하는게 좋을거 같아요!!

@Junseong0112
Copy link
Collaborator Author

네 확인해주셔서 감사합니다!
일단 수정 먼저 진행해보고 진전이 없다면 따로 도움을 구하도록 하겠습니다.

KIMSEUNGGYU
KIMSEUNGGYU previously approved these changes Nov 21, 2024
Copy link
Contributor

@KIMSEUNGGYU KIMSEUNGGYU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다.

@Junseong0112 Junseong0112 merged commit 2f34aaa into main Nov 21, 2024
1 check passed
@Junseong0112 Junseong0112 deleted the page/ITNews branch November 21, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants