Skip to content

Commit

Permalink
test(storybook): stories for static text pages
Browse files Browse the repository at this point in the history
Add stories for the hoe page, guide page and data page.
  • Loading branch information
eatyourgreens committed Oct 24, 2024
1 parent 66e5bde commit aa3afe7
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions frontend/src/app/pages/DataPage.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { StoryObj, Meta } from '@storybook/react';
import { DataPage } from './DataPage';

const meta = {
title: 'App/DataPage',
component: DataPage,
} as Meta;
type Story = StoryObj<typeof meta>;

export default meta;

export const Default: Story = {};
12 changes: 12 additions & 0 deletions frontend/src/app/pages/GuidePage.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { StoryObj, Meta } from '@storybook/react';
import { GuidePage } from './GuidePage';

const meta = {
title: 'App/GuidePage',
component: GuidePage,
} as Meta;
type Story = StoryObj<typeof meta>;

export default meta;

export const Default: Story = {};
12 changes: 12 additions & 0 deletions frontend/src/app/pages/IntroPage.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { StoryObj, Meta } from '@storybook/react';
import { IntroPage } from './IntroPage';

const meta = {
title: 'App/IntroPage',
component: IntroPage,
} as Meta;
type Story = StoryObj<typeof meta>;

export default meta;

export const Default: Story = {};

0 comments on commit aa3afe7

Please sign in to comment.