Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
chore: make boilerplate stories
Browse files Browse the repository at this point in the history
TODO have framework generate these
  • Loading branch information
virtuoushub committed Apr 1, 2022
1 parent 6c15adf commit 54b46eb
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 0 deletions.
17 changes: 17 additions & 0 deletions web/src/layouts/PostsLayout/PostsLayout.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//@ts-check
import PostsLayout from './PostsLayout'

export const generated = (args) => {
return (
<PostsLayout {...args}>
<></>
</PostsLayout>
)
}

export default {
title: 'Layouts/PostsLayout',
parameters: {
layout: 'fullscreen',
},
}
13 changes: 13 additions & 0 deletions web/src/pages/FatalErrorPage/FatalErrorPage.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//@ts-check
import FatalErrorPage from './FatalErrorPage'

export default {
title: 'Pages/FatalErrorPage',
component: FatalErrorPage,
parameters: {
layout: 'fullscreen',
},
}
const Template = (args) => <FatalErrorPage {...args} />

export const generated = Template.bind({})
13 changes: 13 additions & 0 deletions web/src/pages/ForgotPasswordPage/ForgotPasswordPage.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//@ts-check
import ForgotPasswordPage from './ForgotPasswordPage'

export default {
title: 'Pages/ForgotPasswordPage',
component: ForgotPasswordPage,
parameters: {
layout: 'fullscreen',
},
}
const Template = (args) => <ForgotPasswordPage {...args} />

export const generated = Template.bind({})
13 changes: 13 additions & 0 deletions web/src/pages/NotFoundPage/NotFoundPage.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//@ts-check
import NotFoundPage from './NotFoundPage'

export default {
title: 'Pages/NotFoundPage',
component: NotFoundPage,
parameters: {
layout: 'fullscreen',
},
}
const Template = (args) => <NotFoundPage {...args} />

export const generated = Template.bind({})
13 changes: 13 additions & 0 deletions web/src/pages/ResetPasswordPage/ResetPasswordPage.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//@ts-check
import ResetPasswordPage from './ResetPasswordPage'

export default {
title: 'Pages/ResetPasswordPage',
component: ResetPasswordPage,
parameters: {
layout: 'fullscreen',
},
}
const Template = (args) => <ResetPasswordPage {...args} />

export const generated = Template.bind({})

0 comments on commit 54b46eb

Please sign in to comment.