Dowan/1week teamcard #1
Open
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.
1주차 스터디 PR - TeamMemberCard 구현
과제 개요
React의 기본 개념인 JSX, 컴포넌트 구조, props를 활용하여 팀원 정보를 보여주는 카드 컴포넌트를 구현했습니다.
구현 내용
1. 기본 과제 ✅
2. 선택 과제 ✅
입사 N년차 표시
calculateYears함수 구현부서별 카드 배경색
getDepartmentColor함수 구현모달로 상세 정보 출력
useReducer를 활용한 모달 상태 관리기술 스택
주요 학습 내용
컴포넌트 구조화
상태 관리
useState를 활용한 검색 기능useReducer를 활용한 모달 상태 관리조건부 렌더링
UI/UX 특징
반응형 디자인
인터랙티브 요소
🔍 코드 구조