mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 09:30:17 +00:00
892eb489e6
* VectorTabs.stories.js and Navigation.stories.js were updated to reflect this change. Bug: T243281 Change-Id: I96a3b9b2c9a8d799a5835de1f296bc1a779803ee
21 lines
690 B
JavaScript
21 lines
690 B
JavaScript
import mustache from 'mustache';
|
|
import { navTemplate, NAVIGATION_TEMPLATE_DATA,
|
|
NAVIGATION_TEMPLATE_PARTIALS } from './Navigation.stories.data';
|
|
import '../.storybook/common.less';
|
|
import '../resources/skins.vector.styles/Navigation.less';
|
|
import '../resources/skins.vector.styles/watchstar.less';
|
|
|
|
export default {
|
|
title: 'Navigation (Header + Sidebar)'
|
|
};
|
|
|
|
export const navigationLoggedOutWithVariants = () => mustache.render( navTemplate,
|
|
NAVIGATION_TEMPLATE_DATA.loggedOutWithVariants,
|
|
NAVIGATION_TEMPLATE_PARTIALS
|
|
);
|
|
|
|
export const navigationLoggedInWithMore = () => mustache.render( navTemplate,
|
|
NAVIGATION_TEMPLATE_DATA.loggedInWithMoreActions,
|
|
NAVIGATION_TEMPLATE_PARTIALS
|
|
);
|