Skip to content
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

[고재성] Sprint9 #646

Conversation

devjaesung
Copy link
Collaborator

멘토에게

  • 토요일까지 commit 올려서 완성시키겠습니다...

@devjaesung devjaesung requested a review from ding-co June 7, 2024 13:59
@devjaesung devjaesung added the 미완성🫠 죄송합니다.. label Jun 7, 2024
@devjaesung devjaesung changed the title Next.js 고재성 sprint9 [고재성]-Sprint9 Jun 8, 2024
@devjaesung devjaesung changed the title [고재성]-Sprint9 [고재성] Sprint9 Jun 8, 2024
Copy link
Collaborator

Choose a reason for hiding this comment

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

components/Header/index.tsx 로 하면 import 할 때 중복으로 Header/Header 이렇게 안써도 되는 것 참고해주세요~

Copy link
Collaborator

Choose a reason for hiding this comment

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

tailwind 스타일이 우선적으로 적용되어 있어서 만약 기본 스타일을 추가하거나 수정하고 싶으시면
@layer base 이런 것들을 활용하시면 좋을 것 같아요.

Copy link
Collaborator

Choose a reason for hiding this comment

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

이렇게 각각 type을 export 하셔도 되고 아니면 맨 아래에서 export type { Article, ArticleListResponse } 한번에 모아서도 가능한 것 참고해주세요~

Copy link
Collaborator

Choose a reason for hiding this comment

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

파일명을 date로 바꾸는게 확장성에서 좋을 것 같아요~

@@ -0,0 +1,9 @@
export function formatDate(date: Date): string {
Copy link
Collaborator

Choose a reason for hiding this comment

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

format한 date를 얻는 것이기 때문에 getFormatDate라고 해도 괜찮을 것 같습니다.

@ding-co ding-co merged commit 141d979 into codeit-bootcamp-frontend:Next.js-고재성 Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
미완성🫠 죄송합니다..
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants