-
Notifications
You must be signed in to change notification settings - Fork 15
[주영준] 기능구현 챌린지 #7
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
base: main
Are you sure you want to change the base?
Conversation
dmswn1004
left a comment
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.
안녕하세요, 영준님
과제를 Next.js로 구현하셨더라고요! 저도 Next.js를 사용해 보려 했는데 아직 어려운 부분이 있어서 사용하지 못했는데, 정말 대단하시네요!!
구현하신 내용 잘 봤어요! 코드 중간중간 주석으로 간단한 설명을 작성해 주셔서 이해하는 데 큰 도움이 되었습니다.
다만, 코드에서 시맨틱 태그를 용도에 맞게 사용하면 더 좋을 것 같다는 생각이 들었어요. 시맨틱 태그를 사용하면 코드의 가독성과 접근성이 향상될 수 있습니다.
과제 진행하느라 고생 많으셨습니다!!👍
| <Image | ||
| src={IG} | ||
| alt="돋보기" | ||
| className="w-[16px] h-[16px] mr-4 " |
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.
이 부분에서 직접 px로 지정하는 것보다
className="w-4 h-4 mr-4 "와 같이 Tailwind CSS의 유틸리티 클래스를 사용하는 것이 더 좋을 것 같습니다. 😀
| <div className="m-6 font-semibold"> | ||
| 현재 모집 중인 임상시험이 없습니다. | ||
| </div> | ||
| <div className="text-gray-400">원하시는 결과가 없나요? </div> | ||
| <div className="text-gray-400"> | ||
| 아래 ‘임상시험 소식받기’를 통해 간단한 정보만 입력해주시면 해당 조건에 | ||
| 맞는 | ||
| </div> | ||
| <div className="text-gray-400"> | ||
| 새로운 임상시험이 등록 되었을 때 빠르게 알려드리겠습니다. | ||
| </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.
아래 코드 부분에서는 div 태그 대신 p 태그를 사용하는 것이 더 좋을 것 같습니다. p 태그는 단락을 나타내는 시맨틱 태그로, 텍스트 블록을 의미 있게 구조화할 수 있고, 접근성 향상과 SEO 측면에서도 유리해서 추천드립니다!!
<�p className="m-6 font-semibold">
현재 모집 중인 임상시험이 없습니다.
</p>
<p className="text-gray-400">원하시는 결과가 없나요?</p>
<p className="text-gray-400">
아래 ‘임상시험 소식받기’를 통해 간단한 정보만 입력해주시면 해당 조건에 맞는
</p>
<p className="text-gray-400">
새로운 임상시험이 등록 되었을 때 빠르게 알려드리겠습니다.
</p>
https://clinicaltrialskorea.com/studies/{검색어ID}링크로 이동console.info("calling api")출력을 통해 콘솔창에서 API 호출 횟수 확인이 가능하도록 설정계속되는 net::ERR_TOO_MANY_REDIRECTS, cors 에러로 api 호출을 못하였습니다.