-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(community): 공지사항 상세글 페이지 #45
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
function Content({ content }: { content: string }) { | ||
return <div className={styles.content}>{content}</div>; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Content의 content
는 Render Props 패턴으로 되어 있는데 의도하신 이유가 있나요? children
이 더 적절해보이는데 특별한 이유가 있는지 궁금합니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
현재 목데이터로 swagger의 예시 데이터를 사용하고 있는데요, 저도 children이 더 적절하다고 생각하였으나 해당 목데이터의 content가 노드가 아닌 단순 string 값으로 설정되어 있어 render props로 렌더링 중입니다! 혹시 적절한 방법이 있을까요?
… into feature/notice-detail-page
@SunwooJaeho 이전글이나 다음글 등 다른 포스트 네이게이터를 추가할 계획은 없나요? |
현재 api 상에서는 이전글과 다음글에 대한 정보를 불러오지 않아 어떤 방식으로 구현하면 좋을 지 고민 중입니다! 따라서 현재는 목록으로 돌아가는 버튼만 추가해두었어요😄 |
Summary
공지사항 상세글 페이지 퍼블리싱을 했어요.
Tasks
To Reviewer
모든 상세글 페이지의 디자인을 해당 레이아웃과 동일하게 해도 좋을 지에 대한 의견이 궁금합니다!
(최소한 학부 소식은 동일 레이아웃으로 가는 걸 고민 중입니다!)
Screenshot