-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 서치바 버튼 클릭 시 모달이 켜지고 꺼짐 - 아직 모달 영역 바깥을 클릭하면 꺼지는 기능은 구현 못 함 Dae-Hwa/airbnb/#40
- Loading branch information
1 parent
6412dee
commit 29721bf
Showing
8 changed files
with
96 additions
and
23 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import styled from 'styled-components'; | ||
|
||
function HeadCountModal() { | ||
return ( | ||
<HeadCountContainer> | ||
인원 모달 | ||
</HeadCountContainer> | ||
); | ||
} | ||
|
||
const HeadCountContainer = styled.div` | ||
width: 400px; | ||
height: fit-content; | ||
border-radius: ${({ theme }) => theme.borders.L}; | ||
box-shadow: ${({ theme }) => theme.boxShadow.up2}; | ||
padding: 64px; | ||
margin-top: 16px; | ||
position: absolute; | ||
right: 0; | ||
` | ||
|
||
export default HeadCountModal; |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import styled from 'styled-components'; | ||
|
||
function PriceModal() { | ||
return ( | ||
<PriceModalContainer> | ||
요금 모달 | ||
</PriceModalContainer> | ||
); | ||
} | ||
|
||
const PriceModalContainer = styled.div` | ||
width: 493px; | ||
height: fit-content; | ||
border-radius: ${({ theme }) => theme.borders.L}; | ||
box-shadow: ${({ theme }) => theme.boxShadow.up2}; | ||
padding: 52px 64px; | ||
margin-top: 16px; | ||
position: absolute; | ||
left: 305px; | ||
` | ||
|
||
export default PriceModal; |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export enum SearchBarBtnType { | ||
CHECK_IN_OUT = 'check-in-out', | ||
PRICE = 'price', | ||
HEAD_COUNT = 'head-count', | ||
} | ||
|
||
export type SelectedContentProps = { | ||
contentType: string | ||
} |