Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
배포 URL
https://pandamarket-fe-eunbi.netlify.app/
기본 요구사항
공통
랜딩 페이지
중고마켓 페이지
상품 등록 페이지
PC, Tablet, Mobile 디자인에 해당하는 상품 등록 페이지를 만들어 주세요.
상품 등록 url path는 "/registration"입니다.
상품 등록은 본인이 만든 POST 메서드를 사용해 주세요.
등록 성공 시, 해당 상품 상세 페이지로 이동합니다. (빈페이지)
[x]심화 요구사항
[x]상품 등록 페이지
모든 입력 input box에 빈 값이 있을 경우, 등록 버튼이 비활성화됩니다.
태그를 입력한 후 엔터키를 누르면, 그 태그가 칩 형태로 쌓입니다.
상품명, 상품 소개, 판매 가격, 태그에 대한 유효성 검사 Custom Hook을 만들어주세요. 유효성 검사를 통과하지 않을 경우, 각 input에 빨간색 테두리와, 각각의 Input 아래에 빨간색 에러 메시지를 보여주세요.
- 유효한 조건
- [x] 상품명: 1자 이상, 10자 이내
- [x] 상품 소개: 10자 이상, 100자 이내
- [x] 판매 가격: 1자 이상, 숫자
- [x] 태그: 5글자 이내
멘토에게