-
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 #282 from KakaoFunding/feat/242
Feat/242
- Loading branch information
Showing
4 changed files
with
55 additions
and
2 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,9 @@ | ||
@import 'styles/mixins.module'; | ||
|
||
.title { | ||
@include font(28px, 800); | ||
|
||
margin: 40px 0 30px; | ||
line-height: 38px; | ||
white-space: pre-line; | ||
} |
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,5 +1,30 @@ | ||
import Tabs from 'components/ui/Tabs'; | ||
|
||
import { Tab } from 'types/tab'; | ||
|
||
import styles from './index.module.scss'; | ||
|
||
const userName = '보경'; | ||
const FundingHistory = () => { | ||
return <>펀딩내역</>; | ||
const tabs: Tab[] = [ | ||
{ | ||
id: 0, | ||
name: '내가 등록한 펀딩', | ||
content: <>내가 등록한 펀딩</>, | ||
}, | ||
{ | ||
id: 1, | ||
name: '내가 기여한 펀딩', | ||
content: <>내가 기여한 펀딩</>, | ||
}, | ||
]; | ||
|
||
return ( | ||
<> | ||
<div className={styles.title}>{`${userName}님의 \n펀딩내역`}</div> | ||
<Tabs initialTabId={0} mode="funding_history" tabs={tabs} /> | ||
</> | ||
); | ||
}; | ||
|
||
export default FundingHistory; |