Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ 메인 페이지 스토리북 추가 #155

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: {},
}