-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes share buttons on edu content pages (#503)
- Loading branch information
1 parent
be8543f
commit f0a0305
Showing
3 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { ContentPageData } from './../PageContent/PageContent.stories.js' | ||
import PageContent from './../PageContent/PageContent.vue' | ||
|
||
export default { | ||
title: 'Templates/EDU/PageContent', | ||
component: PageContent, | ||
decorators: [ | ||
() => ({ | ||
template: `<div id="storyDecorator" class="ThemeEdu"><story/></div>` | ||
}) | ||
], | ||
parameters: { | ||
html: { | ||
root: '#storyDecorator' | ||
}, | ||
docs: { | ||
description: { | ||
component: | ||
'EDU uses the same `PageContent` component as WWW. The only difference is the theme class used on the site.' | ||
} | ||
} | ||
}, | ||
excludeStories: /.*(Data)$/ | ||
} | ||
|
||
// stories | ||
export const BaseStory = { | ||
args: { | ||
data: ContentPageData | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters