mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-18 13:05:50 +00:00
698752e38a
Moving all the templateParser calls to one function so its easier to see how the template is composed. The diff of changes to the stories folder highlight the internal changes which are: * html-portals replaced with html-sidebar in main template * new Sidebar template added which outputs to html-sidebar * Mention of "MainMenu" replaced with better understood "Sidebar" This is precursory work to adopt templatePartials Change-Id: I6b2196e39087f818e774d04b2d1b9ab8cb8816a1
12 lines
434 B
JavaScript
12 lines
434 B
JavaScript
import { PORTALS, wrapPortlet } from './portal.stories.data';
|
|
|
|
export default {
|
|
title: 'Portals'
|
|
};
|
|
|
|
export const portal = () => wrapPortlet( PORTALS.example );
|
|
export const navigationPortal = () => wrapPortlet( PORTALS.navigation );
|
|
export const toolbox = () => wrapPortlet( PORTALS.toolbox );
|
|
export const langlinks = () => wrapPortlet( PORTALS.langlinks );
|
|
export const otherProjects = () => wrapPortlet( PORTALS.otherProjects );
|