-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor: PR 리뷰를 바탕으로 코드 수정 - 모달창 경로 수정 - styled-components와 mui 구분 - 그 외는 리뷰 참고 Co-authored-by: herrakam <herrakam@users.noreply.github.com> * [FE] result페이지 UI 구현 (#33) * Design: 기존 스타일 수정 - 라우터에 따른 스타일 변경 추가 Co-authored-by: herrakam <herrakam@users.noreply.github.com> * Design: Result 페이지 UI 구현 Co-authored-by: herrakam <herrakam@users.noreply.github.com> * Rename: Hotel.tsx 파일 경로 이동 * Design: result 페이지의 숙소 리스트 컴포넌트와 일부 컴포넌트의 스타일 변경 * Design: Hotel 컴포넌트와 관련된 스켈레톤 UI 생성 * Refactoer: 서치바 리팩토링 - 각 컴포넌트를 공통된 스타일 컴포넌트로 변경 - 일부 태그 변경 - hover 이펙트 추가 Co-authored-by: herrakam <herrakam@users.noreply.github.com> * Chore: dependencies 관련 수정 (#40) - devDependencies에 설치된 스타일 라이브러리를 dependencies로 재설치함 Co-authored-by: jm <jm.dev.study@gmail.com> Co-authored-by: herrakam <herrakam@users.noreply.github.com> Co-authored-by: 도비 <85747667+JiminKim-dev@users.noreply.github.com>
- Loading branch information
1 parent
737956a
commit cbbb792
Showing
22 changed files
with
29,961 additions
and
29,717 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,29 @@ | ||
import styled from 'styled-components'; | ||
import { | ||
Personnel as PersonnelContainer, | ||
CommonWrapper, | ||
CommonButton, | ||
Label, | ||
Btn, | ||
InputState, | ||
StyledCrossIcon, | ||
} from 'components/Header/SearchBar/searchBar.styled'; | ||
|
||
function Personnel() { | ||
return ( | ||
<PersonnelContainer> | ||
<CommonWrapper> | ||
<> | ||
<CommonButton aria-label="게스트 추가 버튼" style={{ width: '124px' }}> | ||
<Label>인원</Label> | ||
<Btn aria-label="게스트 추가 버튼">게스트 추가</Btn> | ||
</CommonWrapper> | ||
<PersonnelInputState>게스트 2명, 유아 2명</PersonnelInputState> | ||
</CommonButton> | ||
<button type="button" aria-label="게스트 추가 취소 버튼"> | ||
<StyledCrossIcon /> | ||
</button> | ||
</PersonnelContainer> | ||
</> | ||
); | ||
} | ||
|
||
const PersonnelInputState = styled(InputState)` | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
`; | ||
|
||
export default Personnel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.