From dec87e2a665c5cd1c75686dda388c042a1b042f6 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 9 Nov 2019 08:28:09 +0100 Subject: Add stories for Header & JoinUs --- components/TheHeader.stories.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 components/TheHeader.stories.js (limited to 'components/TheHeader.stories.js') diff --git a/components/TheHeader.stories.js b/components/TheHeader.stories.js new file mode 100644 index 0000000..ee320b7 --- /dev/null +++ b/components/TheHeader.stories.js @@ -0,0 +1,24 @@ +import { storiesOf } from '@storybook/vue' +import { routes } from './TheFooter.stories' + +import TheHeader from './TheHeader' + +const header = { + routes, + title: '19 PDH Puszcza', + logo: '/assets/krajka-logo.svg' +} + +const alwaysTop = () => ({ + template: `
` +}) + +storiesOf('TheHeader', module) + .addDecorator(alwaysTop) + .add('default', () => { + return { + components: { TheHeader }, + template: ``, + data: () => header + } + }) -- cgit 1.4.1