-
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.
storybook: SVG, PNG 에셋 스토리북 추가 및 불필요한 에셋 삭제 적용
- Loading branch information
1 parent
1eaf3d0
commit 0fe32c1
Showing
15 changed files
with
368 additions
and
31 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
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,72 @@ | ||
import { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { | ||
PNGAgreementBackground, | ||
PNGBottomBackground, | ||
PNGIdeaBackground1, | ||
PNGIdeaBackground2, | ||
PNGIdeaBackground3, | ||
PNGIdeaBackground4, | ||
PNGIdeaBackground5, | ||
} from '..'; | ||
|
||
const meta = { | ||
title: 'Assets/PNG/Common', | ||
tags: ['autodocs'], | ||
} as Meta<object>; | ||
|
||
export default meta; | ||
type Story = StoryObj<object>; | ||
|
||
export const Default: Story = { | ||
render: () => ( | ||
<div style={{ display: 'flex', flexWrap: 'wrap', gap: '20px' }}> | ||
<div> | ||
<img | ||
width={331} | ||
height={331} | ||
src={PNGAgreementBackground} | ||
alt="PNGAgreementBackground" | ||
/> | ||
<img | ||
width={375} | ||
height={75} | ||
src={PNGBottomBackground} | ||
alt="PNGBottomBackground" | ||
/> | ||
</div> | ||
<div style={{ display: 'flex', flexWrap: 'wrap', gap: '20px' }}> | ||
<img | ||
width={140} | ||
height={180} | ||
src={PNGIdeaBackground1} | ||
alt="PNGIdeaBackground1" | ||
/> | ||
<img | ||
width={140} | ||
height={180} | ||
src={PNGIdeaBackground2} | ||
alt="PNGIdeaBackground2" | ||
/> | ||
<img | ||
width={140} | ||
height={180} | ||
src={PNGIdeaBackground3} | ||
alt="PNGIdeaBackground3" | ||
/> | ||
<img | ||
width={140} | ||
height={180} | ||
src={PNGIdeaBackground4} | ||
alt="PNGIdeaBackground4" | ||
/> | ||
<img | ||
width={140} | ||
height={180} | ||
src={PNGIdeaBackground5} | ||
alt="PNGIdeaBackground5" | ||
/> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { | ||
SVGCardComment14, | ||
SVGCardLike14, | ||
SVGCardScrap14, | ||
SVGCardView14, | ||
} from '..'; | ||
|
||
const meta = { | ||
title: 'Assets/SVG/Card', | ||
tags: ['autodocs'], | ||
} as Meta<object>; | ||
|
||
export default meta; | ||
type Story = StoryObj<object>; | ||
|
||
export const Default: Story = { | ||
render: () => ( | ||
<div style={{ display: 'flex', gap: '20px' }}> | ||
<SVGCardComment14 /> | ||
<SVGCardLike14 /> | ||
<SVGCardScrap14 /> | ||
<SVGCardView14 /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { | ||
SVGAdd24, | ||
SVGCancel, | ||
SVGCheckFilled24, | ||
SVGFeed24, | ||
SVGFeedFilled24, | ||
SVGProfile24, | ||
SVGProfileFilled24, | ||
SVGScrap24, | ||
SVGScrapFilled24, | ||
SVGTextRequired, | ||
SVGTripleDots, | ||
SVGDropdownArrow, | ||
} from '..'; | ||
|
||
const meta = { | ||
title: 'Assets/SVG/Common', | ||
tags: ['autodocs'], | ||
} as Meta<object>; | ||
|
||
export default meta; | ||
type Story = StoryObj<object>; | ||
|
||
export const Default: Story = { | ||
render: () => ( | ||
<div style={{ display: 'flex', gap: '20px' }}> | ||
<SVGAdd24 /> | ||
<SVGDropdownArrow /> | ||
<SVGCancel /> | ||
<SVGCheckFilled24 /> | ||
<SVGFeed24 /> | ||
<SVGFeedFilled24 /> | ||
<SVGProfile24 /> | ||
<SVGProfileFilled24 /> | ||
<SVGScrap24 /> | ||
<SVGScrapFilled24 /> | ||
<SVGTextRequired /> | ||
<SVGTripleDots /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { | ||
SVGFeedWrite40, | ||
SVGFeedLike, | ||
SVGFeedUnLike, | ||
SVGFeedReCommentLine, | ||
SVGFeedMessage, | ||
SVGFeedPencil, | ||
SVGFeedScrap, | ||
SVGFeedUnScrap, | ||
} from '..'; | ||
|
||
const meta = { | ||
title: 'Assets/SVG/Feed', | ||
tags: ['autodocs'], | ||
} as Meta<object>; | ||
|
||
export default meta; | ||
type Story = StoryObj<object>; | ||
|
||
export const Default: Story = { | ||
render: () => ( | ||
<div style={{ display: 'flex', gap: '20px' }}> | ||
<div | ||
style={{ | ||
width: 'min-content', | ||
height: 'min-content', | ||
backgroundColor: '#5F27FF', | ||
}} | ||
> | ||
<SVGFeedWrite40 /> | ||
</div> | ||
<SVGFeedLike /> | ||
<SVGFeedUnLike /> | ||
<SVGFeedMessage /> | ||
<SVGFeedPencil /> | ||
<SVGFeedReCommentLine /> | ||
<SVGFeedScrap /> | ||
<SVGFeedUnLike /> | ||
<SVGFeedUnScrap /> | ||
</div> | ||
), | ||
}; |
Oops, something went wrong.