-
Notifications
You must be signed in to change notification settings - Fork 11
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
9회차 과제 - 구준혁 #9
base: main
Are you sure you want to change the base?
9회차 과제 - 구준혁 #9
Conversation
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.
정말 가독성 좋게 잘 구현하신 것 같아요! style 적용하는 것도 너무 보기 좋게 잘 하신 것 같아요!! 정말 많이 배우고 갑니다!! 수고하셨습니다~
else if (e.target.innerText === "Introduction") navigate("/introduction"); | ||
else if (e.target.innerText === "Target") navigate("/target"); | ||
else if (e.target.innerText === "Notice") navigate("/notice"); | ||
else navigate("*"); |
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.
조건문을 사용해서 이렇게 한번에 navigate를 사용하는 방법도 있군요! 함수 여러 개로 만들지 않고 구현하여 정말 깔끔한 것 같습니다! 많이 배우고 갑니다~
const new_Notice = [ | ||
...noticeList, | ||
{ | ||
id: noticeList.length + 1, |
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.
저는 id를 date.now()를 통해서 부여했는데 이렇게 작성하면 개발자 입장에서 id 읽기도 쉬울 것 같네요. 👍
@YoonKeumJae 코드리뷰 완료했습니다!! |
UI
1) 홈 화면
2) 회사 소개
3) 회사 목표
4) 공지 사항
4-1) 초기 화면
4-2) 공지 사항 추가
4-3) 공지 사항 수정
4-3-1) 수정 버튼 클릭 시
4-3-2) 수정 후 제출 시
1. 내가 개발한 기능
react-router-dom
을 이용한 중첩 라우팅 .2. 내가 유의 깊게 개발한 사항
내용을 입력하는 태그를
input
이 아닌textarea
를 사용하여 줄바꿈 지원.수정
버튼을 클릭 했을 때 별도의 입력 form을 새롭게 생성.NavigationBar
의 각 버튼hover
효과 적용.3. 개발하면서 들었던 의문 사항