-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: 모달창 닫을 때 리스트 업데이트되도록 수정 * style: 모달창 스타일 수정 * fix: 메모 줄바꿈 안됨 오류 수정 * fix: 메모 동시 수정 시 마지막만 반영되는 오류 수정 * style: 기수별 지원서 조회 퍼블리싱 * feat: 지원서 기수별 필터링 기능 추가 * fix: skeleton에 memo version 추가 * feat: 드롭다운리스트 기수 선택 시 사라지기 추가 * fix: 기수정보 초기화 데이터 수정 및 기수별 조회 버튼 이름 수정
- Loading branch information
1 parent
8fce87b
commit a5c9d9b
Showing
11 changed files
with
161 additions
and
26 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
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,60 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
import { displayCenter } from '@gdg/styles/LayoutStyle'; | ||
|
||
import { DividingLine } from './ApplyDetailModal.style'; | ||
|
||
const DropdownContainer = styled.div` | ||
position: relative; | ||
top: 0; | ||
left: 0; | ||
margin-top: 2px; | ||
z-index: 10; | ||
background-color: var(--color-white); | ||
border-radius: 12px; | ||
padding: 15px; | ||
${displayCenter} | ||
align-items: center; | ||
flex-direction: column; | ||
`; | ||
|
||
const YearIdButton = styled.div` | ||
${displayCenter} | ||
width: 100%; | ||
background-color: transparent; | ||
color: var(--color-black); | ||
border: none; | ||
outline: none; | ||
&:hover { | ||
cursor: pointer; | ||
font-weight: bold; | ||
} | ||
`; | ||
|
||
const ClassYearIdDropDown = ({ | ||
onYearIdClick, | ||
}: { | ||
onYearIdClick: (id: number) => void; | ||
}) => { | ||
const yearIdList = [1, 2, 3, 4]; | ||
|
||
return ( | ||
<DropdownContainer> | ||
{yearIdList.map((id) => ( | ||
<div key={id}> | ||
<YearIdButton | ||
onClick={() => onYearIdClick(id)} | ||
>{`${id}기`}</YearIdButton> | ||
{id < yearIdList.length && <DividingLine />} | ||
</div> | ||
))} | ||
</DropdownContainer> | ||
); | ||
}; | ||
|
||
export default ClassYearIdDropDown; |
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.