-
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.
Browse files
Browse the repository at this point in the history
Feat/#173 마이페이지 빈집중개 - 내 매물 관리 페이지
- Loading branch information
Showing
36 changed files
with
1,114 additions
and
98 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { HiOutlineDotsHorizontal } from 'react-icons/hi'; | ||
import styles from './styles.module.scss'; | ||
|
||
type NoPostsProps = { | ||
text: string; | ||
subText?: string; | ||
padding?: boolean; | ||
}; | ||
|
||
export default function NoPosts({ | ||
text, | ||
subText, | ||
padding = true, | ||
}: NoPostsProps) { | ||
return ( | ||
<div | ||
className={styles.wrapper} | ||
style={padding ? { padding: '10rem 0' } : {}} | ||
> | ||
<HiOutlineDotsHorizontal className={styles.ellipsis} /> | ||
<p>{text}</p> | ||
{subText && <p>{subText}</p>} | ||
</div> | ||
); | ||
} |
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
3 changes: 2 additions & 1 deletion
3
...ents/Common/Pagenation/styles.module.scss → ...ents/Common/Pagination/styles.module.scss
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,35 @@ | ||
import styles from './styles.module.scss'; | ||
|
||
type ButtonProps = { | ||
text: string; | ||
borderColor?: string; | ||
textColor?: string; | ||
backgroundColor?: string; | ||
disabled?: boolean; | ||
onClick: () => void; | ||
}; | ||
|
||
export default function Button({ | ||
text, | ||
borderColor, | ||
textColor, | ||
backgroundColor, | ||
disabled, | ||
onClick, | ||
}: ButtonProps) { | ||
return ( | ||
<button | ||
type="button" | ||
className={disabled ? styles.disabledButton : styles.button} | ||
style={{ | ||
borderColor: borderColor || 'black', | ||
backgroundColor: backgroundColor || 'transparent', | ||
color: textColor || 'black', | ||
}} | ||
onClick={onClick} | ||
disabled={disabled} | ||
> | ||
{text} | ||
</button> | ||
); | ||
} |
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,20 @@ | ||
.button { | ||
border-style: solid; | ||
border-width: 1px; | ||
width: 5.624rem; | ||
height: 2.5rem; | ||
border-radius: 4px; | ||
outline: none; | ||
cursor: pointer; | ||
&:hover { | ||
opacity: 0.8; | ||
} | ||
} | ||
|
||
.disabledButton { | ||
@extend .button; | ||
cursor: auto; | ||
&:hover { | ||
opacity: 1; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.