-
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.
feat(FE) : 로그아웃화면 UI 구현(#171)
- Loading branch information
Showing
5 changed files
with
117 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { $ } from '@/utils'; | ||
import { _ } from '@/utils/customFx'; | ||
|
||
const logout = (label, classname) => { | ||
const logoutTpl = ` | ||
<div class='outside-modal-container outside-${classname} active'> | ||
<section class='modal-section-wrapper ${classname}'> | ||
<section class='modal-section ${classname}'> | ||
<div class='modal-text-container'> | ||
<h4 class='modal-text'>${label}</h4> | ||
<h5 class='modal-do-text'> 하시겠습니까? </h5> | ||
</div> | ||
<section class='modal-button-section'> | ||
<button type='button' class='modal-button'>확인</button> | ||
<button type='button' class='cancel-button'>취소</button> | ||
</section> | ||
</section> | ||
</section> | ||
</div> | ||
`; | ||
|
||
// prettier-ignore | ||
const renderLogoutModal = () => | ||
_.go( | ||
logoutTpl, | ||
$.el, | ||
$.replace($.qs('.main-card-box'))); | ||
|
||
return renderLogoutModal; | ||
}; | ||
|
||
export default logout; |
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