From d8c712506040baf0cb855e9c168110eb8b6d1682 Mon Sep 17 00:00:00 2001 From: rkskekzzz Date: Fri, 13 Oct 2023 23:39:29 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=EB=A9=94=EC=9D=B8=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EC=8A=A4=ED=86=A0=EB=A6=AC=EB=B6=81=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/src/app/page.tsx | 2 +- apps/web/src/stories/pages/Feed.stories.tsx | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 apps/web/src/stories/pages/Feed.stories.tsx diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index bfb564c..2e35eee 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -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 ( diff --git a/apps/web/src/stories/pages/Feed.stories.tsx b/apps/web/src/stories/pages/Feed.stories.tsx new file mode 100644 index 0000000..573b470 --- /dev/null +++ b/apps/web/src/stories/pages/Feed.stories.tsx @@ -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 + +export default meta +type Story = StoryObj + +export const Feed: Story = { + args: {}, +}