-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: 월간조회 데스크탑뷰 QA 이슈 해결 * feat: 날짜 이동 버튼 추가 * feat: 엑셀 다운로드 버튼에 툴팁 추가 * fix: lint 에러 수정 * fix: lint 에러 수정 * fix: 모바일 드롭다운 컴포넌트 이름 변경 * refactor: QA 반영 * refactor: 엑셀 다운로드 기능 부분 수정 * fix: lint 에러 수정 * refactor: Setting1 네이밍 변경 및 위치 이동 * fix: 스타일 수정 * fix: 코드 중복 제거 * fix: z-index 값 수정 및 css 주석 제거 * fix: 커스텀 훅 사용 * refactor: 조건부 렌더링을 props 전달 방식으로 변경 * fix: lint 에러 수정 --------- Co-authored-by: d0dam <[email protected]>
- Loading branch information
1 parent
925342e
commit 2b15f7a
Showing
34 changed files
with
908 additions
and
163 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -36,3 +36,7 @@ button { | |
ul { | ||
list-style: none; | ||
} | ||
|
||
input::-webkit-inner-spin-button { | ||
appearance: none; | ||
} |
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,50 @@ | ||
.container { | ||
position: absolute; | ||
display: flex; | ||
top: 80px; | ||
right: 0; | ||
width: 100%; | ||
background-color: #f5f5f5; | ||
box-shadow: 0 5px 7px rgb(0 0 0 / 10%); | ||
z-index: 10; | ||
flex-direction: column; | ||
} | ||
|
||
.setting-item__link { | ||
text-decoration: none; | ||
color: #333; | ||
padding: 10px; | ||
text-align: left; | ||
width: calc(100% - 20px); | ||
|
||
&:hover { | ||
background-color: #f0f0f0; | ||
} | ||
} | ||
|
||
.setting-item__button { | ||
padding: 10px; | ||
text-align: left; | ||
width: 100%; | ||
background: none; | ||
border: none; | ||
cursor: pointer; | ||
|
||
&:hover { | ||
background-color: #f0f0f0; | ||
} | ||
} | ||
|
||
.setting-item__word { | ||
font-size: 16px; | ||
height: 30px; | ||
color: #1f1f1f; | ||
padding-left: 20px; | ||
} | ||
|
||
.setting-item__warning { | ||
font-size: 16px; | ||
height: 30px; | ||
color: #ec2d30; | ||
padding-left: 20px; | ||
} |
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,34 @@ | ||
import { Link } from 'react-router-dom'; | ||
|
||
import { useLogout } from 'query/auth'; | ||
|
||
import styles from './Dropdown.module.scss'; | ||
|
||
interface MobileDropdownProps { | ||
view: boolean; | ||
} | ||
|
||
function MobileDropdown({ view }: MobileDropdownProps) { | ||
const { logout } = useLogout(); | ||
|
||
const handleLogout = () => { | ||
logout(); | ||
}; | ||
|
||
return ( | ||
<div> | ||
{view && ( | ||
<div className={styles.container}> | ||
<Link className={styles['setting-item__link']} to="https://forms.gle/wqD6PkjZoaaHJ1bo8" target="_blank" rel="noopener noreferrer"> | ||
<div className={styles['setting-item__word']}>BCSD Lab에 문의하기</div> | ||
</Link> | ||
<button type="button" className={styles['setting-item__button']} onClick={handleLogout}> | ||
<div className={styles['setting-item__warning']}>로그아웃</div> | ||
</button> | ||
</div> | ||
)} | ||
</div> | ||
); | ||
} | ||
|
||
export default MobileDropdown; |
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.