- 상단
Code
버튼을 눌러 레포지토리를 클론 받습니다.
$ git clone https://github.com/Jeong-jeong/wanted-preonboarding-course.git
- 패키지를 설치합니다.
$ yarn install
- 서버를 실행합니다.
$ yarn start
react
^17.0.2react-router-dom
6react-scripts
4.0.3react-responsive
^.9.0.0-beta.5emotion
^11.7.1craco
^6.4.3axios
^0.24.0storybook
^6.4.9commitizen
^4.2.4
- 원티드 페이지 상단 영역 React 기반 클론
sm < 768px |
---|
768px <= md < 992px |
992px <= lg < 1100px |
1100px <= xl < 1200px |
스와이프 이벤트 |
---|
자동 스와이프 이벤트 |
왼쪽/오른쪽 버튼 이동 |
가운데 정렬 |
threshold(120) 이상 스와이프 처리 |
마우스 아웃 처리 |
const breakpoints = {
xl: 1200,
lg: 1100,
md: 992,
sm: 768,
}