-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat : top bar 개발 * story : top bar 스토리 작성 * chore : letter 페이지 경로 변경 * chore : 코드 오너 멘토님 추가 * chore : git에 올라간 common 파일 삭제 * chore : 에러 발생 시 스토리북에서 무시하도록 처리 * chore : ci 파일 수정 * chore : 빌드 에러 수정
- Loading branch information
Showing
18 changed files
with
70 additions
and
252 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 +1 @@ | ||
* @HelloWook @kangminguu @cmlim0070 @mmjjaa | ||
* @HelloWook @kangminguu @cmlim0070 @mmjjaa @saseungmin |
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,28 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { TopBar } from './TopBar'; | ||
|
||
const meta: Meta<typeof TopBar> = { | ||
component: TopBar, | ||
title: 'TopBar', | ||
tags: ['autodocs'], | ||
argTypes: {}, | ||
decorators: [ | ||
(Story) => ( | ||
<div style={{ width: '351px', border: '1px solid #ccc' }}> | ||
<Story /> | ||
</div> | ||
) | ||
] | ||
}; | ||
export default meta; | ||
|
||
type Story = StoryObj<typeof TopBar>; | ||
|
||
export const Default: Story = { | ||
args: { | ||
onClick: () => { | ||
alert('즐겁다'); | ||
} | ||
} | ||
}; |
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,13 @@ | ||
import React from 'react'; | ||
import { BackButton } from '../BackButton/BackButton'; | ||
|
||
type TopBaerProps = { onClick: () => void }; | ||
|
||
export const TopBar = ({ onClick }: TopBaerProps) => { | ||
return ( | ||
<div className="flex items-center justify-between w-full px-4 text-2xl "> | ||
<BackButton onClick={onClick} /> | ||
<p className="">완료</p> | ||
</div> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { CreateLetterPage } from './CreateLetterPage'; | ||
|
||
const meta: Meta<typeof CreateLetterPage> = { | ||
component: CreateLetterPage, | ||
title: 'Pages/CreateLetterPage', | ||
tags: ['autodocs'], | ||
argTypes: {} | ||
}; | ||
export default meta; | ||
|
||
type Story = StoryObj<typeof CreateLetterPage>; | ||
|
||
export const Default: Story = { | ||
args: {} | ||
}; |
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,7 @@ | ||
import React from 'react'; | ||
|
||
export const CreateLetterPage = () => { | ||
return ( | ||
<div className="bg-slate-500 w-[375px] max-w-[768px] h-[815px]"></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