-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: userEditModal 스타일 구현 * feat: PUT user * feat: userEdit hook 구현 * fix: PUT 유저정보 update api username필드 필수 지정 제거 * fix: file input에 accep="image/*"추가 * fix: default_user_image 유저의 profile_photo 반영
- Loading branch information
Showing
13 changed files
with
382 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
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,79 @@ | ||
@import "../../utils/common.module.scss"; | ||
|
||
.modalCon { | ||
display: flex; | ||
flex-direction: column; | ||
width: 500px; | ||
border-radius: 10px; | ||
padding: 16px; | ||
background-color: white; | ||
|
||
header { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
margin-bottom: 10px; | ||
|
||
h2 { | ||
font-size: 22px; | ||
font-weight: 700; | ||
} | ||
button { | ||
width: 40px; | ||
background-color: inherit; | ||
margin: 0; | ||
border-style: none; | ||
color: $dark-black; | ||
cursor: pointer; | ||
} | ||
} | ||
.imageCon { | ||
position: relative; | ||
width: 100%; | ||
height: 200px; | ||
margin-bottom: 40px; | ||
|
||
// 기본 파일 업로드 버튼을 숨김 | ||
input[type="file"] { | ||
display: none; | ||
} | ||
.backgroundPhotoEdit { | ||
width: 100%; | ||
height: 100%; | ||
border-style: none; | ||
cursor: pointer; | ||
outline: none; | ||
} | ||
.profilePhotoEdit { | ||
position: absolute; | ||
left: 10px; | ||
bottom: 10px; | ||
width: 80px; | ||
height: 80px; | ||
border-radius: 50%; | ||
border: 1px solid $light-gray; | ||
cursor: pointer; | ||
outline: none; | ||
} | ||
} | ||
.textInputCon { | ||
margin-bottom: 20px; | ||
|
||
label { | ||
height: 12px; | ||
margin: 0; | ||
padding: 0; | ||
background-color: inherit; | ||
font-size: 12px; | ||
font-weight: 400; | ||
color: $medium-gray; | ||
} | ||
input { | ||
width: 100%; | ||
border-style: none; | ||
border-bottom: 1px solid $light-gray; | ||
outline: none; | ||
font-size: 20px; | ||
} | ||
} | ||
} |
Oops, something went wrong.