-
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.
Merge pull request #372 from SejongPeer/feature/24
feat : [24] 게시글 작성 데탑버전 & 게시글 작성 후 페이지 이동
- Loading branch information
Showing
12 changed files
with
638 additions
and
609 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
.submitBtn, | ||
.submitBtn_notReady { | ||
width: 100%; | ||
height: 52px; | ||
background-color: #ff4b4b; | ||
text-align: center; | ||
color: #ffffff; | ||
border: none; | ||
border-radius: 28px; | ||
font-size: 1.7vh; | ||
font-weight: 700; | ||
} | ||
.submitBtn:hover { | ||
cursor: pointer; | ||
} | ||
.submitBtn { | ||
width: 343px; | ||
height: 52px; | ||
background-color: #ff4b4b; | ||
text-align: center; | ||
color: #ffffff; | ||
border: none; | ||
border-radius: 28px; | ||
font-size: 18px; | ||
font-weight: 700; | ||
background-color: #ff4b4b; | ||
} | ||
.submitBtn_notReady { | ||
width: 343px; | ||
height: 52px; | ||
background-color: #E5E5E5; | ||
text-align: center; | ||
color: #ffffff; | ||
border: none; | ||
border-radius: 28px; | ||
font-size: 18px; | ||
font-weight: 700; | ||
} | ||
background-color: #ffffff; | ||
} |
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 |
---|---|---|
@@ -1,71 +1,123 @@ | ||
@media (min-width: 768px) { | ||
.iamgeContainer { | ||
.iamgeContainer { | ||
width: 100%; | ||
height: 170px; | ||
padding: 0 25px; | ||
background-color: #ffffff; | ||
border-bottom: 1px solid #e5e5e5; | ||
} | ||
.iamgeContainer p { | ||
width: 100%; | ||
font-size: 1.7vh; | ||
font-weight: 600; | ||
margin-bottom: 10px; | ||
} | ||
|
||
} | ||
.iamgeContainer p{} | ||
.uploadImgWrapper{} | ||
.image{} | ||
.uploadImg{} | ||
.uploadImgWrapper { | ||
width: 100%; | ||
display: flex; | ||
gap: 10px; | ||
position: relative; | ||
} | ||
.imageWrapper { | ||
width: 100px; | ||
height: 100px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
position: relative; | ||
cursor: pointer; | ||
} | ||
.imageWrapper img.upload { | ||
width: 100%; | ||
height: 100%; | ||
border-radius: 8px; | ||
} | ||
.uploadImg { | ||
width: 24px; | ||
height: 24px; | ||
margin: 0; | ||
cursor: pointer; | ||
position: relative; | ||
} | ||
.uploadImg img { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.hiddenInput { | ||
display: none; | ||
} | ||
.delete { | ||
width: 28px; | ||
height: 28px; | ||
background-image: url('../../assets/image/close_with_circle.png'); | ||
background-size: cover; | ||
z-index: 4; | ||
position: absolute; | ||
top: 4px; | ||
right: 4px; | ||
cursor: pointer; | ||
} | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.iamgeContainer { | ||
width: 100%; | ||
height: 154px; | ||
padding: 0 16px; | ||
background-color: #FFFFFF; | ||
border-bottom: 1px solid #E5E5E5; | ||
} | ||
.iamgeContainer p{ | ||
width: 100%; | ||
font-size: 15px; | ||
font-weight: 600; | ||
margin-bottom: 10px; | ||
} | ||
.iamgeContainer { | ||
width: 100%; | ||
height: 154px; | ||
padding: 0 16px; | ||
background-color: #ffffff; | ||
border-bottom: 1px solid #e5e5e5; | ||
} | ||
.iamgeContainer p { | ||
width: 100%; | ||
font-size: 15px; | ||
font-weight: 600; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.uploadImgWrapper{ | ||
width: 100%; | ||
display: flex; | ||
gap: 10px; | ||
position: relative; | ||
} | ||
.imageWrapper{ | ||
width: 100px; | ||
height: 100px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
position: relative; | ||
cursor: pointer; | ||
} | ||
.imageWrapper img.upload { | ||
width: 100%; | ||
height: 100%; | ||
border-radius: 8px; | ||
} | ||
.uploadImg{ | ||
width: 24px; | ||
height: 24px; | ||
margin: 0; | ||
cursor: pointer; | ||
position: relative; | ||
} | ||
.uploadImg img { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.hiddenInput { | ||
display: none; | ||
} | ||
.delete{ | ||
width: 28px; | ||
height: 28px; | ||
background-image: url('../../assets/image/close_with_circle.png'); | ||
background-size: cover; | ||
z-index: 4; | ||
position: absolute; | ||
top: 4px; | ||
right: 4px; | ||
cursor: pointer; | ||
} | ||
} | ||
.uploadImgWrapper { | ||
width: 100%; | ||
display: flex; | ||
gap: 10px; | ||
position: relative; | ||
} | ||
.imageWrapper { | ||
width: 100px; | ||
height: 100px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
position: relative; | ||
cursor: pointer; | ||
} | ||
.imageWrapper img.upload { | ||
width: 100%; | ||
height: 100%; | ||
border-radius: 8px; | ||
} | ||
.uploadImg { | ||
width: 24px; | ||
height: 24px; | ||
margin: 0; | ||
cursor: pointer; | ||
position: relative; | ||
} | ||
.uploadImg img { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.hiddenInput { | ||
display: none; | ||
} | ||
.delete { | ||
width: 28px; | ||
height: 28px; | ||
background-image: url('../../assets/image/close_with_circle.png'); | ||
background-size: cover; | ||
z-index: 4; | ||
position: absolute; | ||
top: 4px; | ||
right: 4px; | ||
cursor: pointer; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,15 +1,23 @@ | ||
import style from './PostHeader.module.css'; | ||
import cancelBtn from '../../assets/image/cancel.png'; | ||
|
||
const Header = ({onOpenConfirmModal}) => { | ||
return ( | ||
<div className={style.header}> | ||
<h3 style={{ fontFamily: 'jalnan', marginTop: '21px', fontWeight: 500 }}> | ||
팀원 모으기 | ||
</h3> | ||
<img src={cancelBtn} onClick={onOpenConfirmModal} alt="Cancel" /> | ||
</div> | ||
); | ||
} | ||
const Header = ({ onOpenConfirmModal }) => { | ||
return ( | ||
<div className={style.header}> | ||
<h3 | ||
style={{ | ||
fontFamily: 'jalnan', | ||
marginTop: '21px', | ||
fontWeight: 500, | ||
fontSize: '25px', | ||
paddingTop: '5px', | ||
}} | ||
> | ||
팀원 모으기 | ||
</h3> | ||
<img src={cancelBtn} onClick={onOpenConfirmModal} alt="Cancel" /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Header; | ||
export default Header; |
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 |
---|---|---|
@@ -1,24 +1,25 @@ | ||
@media (min-width: 768px) { | ||
.header { | ||
width: 28vw; | ||
height: 7vh; | ||
background-color: #ffffff; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
border-bottom: 1px solid #E5E5E5; | ||
} | ||
.header { | ||
width: 674px; | ||
height: 7vh; | ||
background-color: #ffffff; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
border-bottom: 1px solid #e5e5e5; | ||
padding: 0 25px; | ||
} | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.header { | ||
width: 100vw; | ||
height: 48px; | ||
background-color: #ffffff; | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: center; | ||
gap: 200px; | ||
border-bottom: 1px solid #E5E5E5; | ||
} | ||
} | ||
.header { | ||
width: 100vw; | ||
height: 48px; | ||
background-color: #ffffff; | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: center; | ||
gap: 200px; | ||
border-bottom: 1px solid #e5e5e5; | ||
} | ||
} |
Oops, something went wrong.