Skip to content

Commit

Permalink
✨ 메인 페이지 스토리북 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
rkskekzzz committed Oct 13, 2023
1 parent 479dedf commit d8c7125
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Filters from '@/components/main/Filters'
import { listMockData } from '@/components/main/list/mock/listMockData'
import MainQuickPanel from '@/components/main/MainQuickPanel'

export default async function Home() {
export default function Home() {
const result = listMockData

return (
Expand Down
20 changes: 20 additions & 0 deletions apps/web/src/stories/pages/Feed.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { Meta, StoryObj } from '@storybook/react'

import { default as Feed$1 } from '../../app/page'

const meta = {
title: 'Pages/Feed',
component: Feed$1,
parameters: {
nextjs: {
appDirectory: true,
},
},
} satisfies Meta<typeof Feed$1>

export default meta
type Story = StoryObj<typeof meta>

export const Feed: Story = {
args: {},
}

0 comments on commit d8c7125

Please sign in to comment.