-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: 충전소 검색창에 임의로 디자인된 주변 충전소 목록을 추가한다 (#313)
* design: 아코디언 버튼 디자인 변경 [#312] * refactor: 검색창에 주변 충전소 목록 추가 [#312] * design: 버튼 디자인 수정 [#312] * refactor: 필요없는 코드 제거 [#312]
- Loading branch information
Showing
12 changed files
with
183 additions
and
97 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
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
36 changes: 36 additions & 0 deletions
36
frontend/src/components/ui/StationList/StationListWindow.tsx
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,36 @@ | ||
import { css, styled } from 'styled-components'; | ||
|
||
import Text from '@common/Text'; | ||
|
||
import StationList from './StationList'; | ||
|
||
const StationListWindow = () => { | ||
return ( | ||
<S.Container> | ||
<Text tag="h2" fontSize={1.7} weight="bold" css={labelText}> | ||
주변 충전소 | ||
</Text> | ||
<StationList /> | ||
</S.Container> | ||
); | ||
}; | ||
|
||
const S = { | ||
Container: styled.section` | ||
width: 34rem; | ||
height: 100vh; | ||
background: #fcfcfc; | ||
outline: 1.5px solid #e1e4eb; | ||
padding: 2.8rem 2.2rem 5.2rem; | ||
& > ul { | ||
height: calc(100vh - 7.8rem); | ||
} | ||
`, | ||
}; | ||
|
||
const labelText = css` | ||
padding: 0.8rem 0 2.2rem; | ||
`; | ||
|
||
export default StationListWindow; |
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.