From 6445388f7651d87c03693c04011f585f44888417 Mon Sep 17 00:00:00 2001 From: nixa <4dmitr@gmail.com> Date: Tue, 3 May 2016 11:56:21 +0300 Subject: [PATCH] typography menu link --- .../ui/components/typography/typography.component.ts | 2 +- src/app/pages/ui/components/typography/typography.html | 1 + src/app/theme/sidebar/sidebar.service.ts | 8 +++++++- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 src/app/pages/ui/components/typography/typography.html diff --git a/src/app/pages/ui/components/typography/typography.component.ts b/src/app/pages/ui/components/typography/typography.component.ts index 6c80005d..c4697816 100644 --- a/src/app/pages/ui/components/typography/typography.component.ts +++ b/src/app/pages/ui/components/typography/typography.component.ts @@ -5,7 +5,7 @@ import {Component, ViewEncapsulation} from 'angular2/core'; pipes: [], providers: [], styles: [], - template: 'typography' + template: require('./typography.html'), }) export class Typography { diff --git a/src/app/pages/ui/components/typography/typography.html b/src/app/pages/ui/components/typography/typography.html new file mode 100644 index 00000000..ce013625 --- /dev/null +++ b/src/app/pages/ui/components/typography/typography.html @@ -0,0 +1 @@ +hello diff --git a/src/app/theme/sidebar/sidebar.service.ts b/src/app/theme/sidebar/sidebar.service.ts index 00976d0d..be666c5f 100644 --- a/src/app/theme/sidebar/sidebar.service.ts +++ b/src/app/theme/sidebar/sidebar.service.ts @@ -18,7 +18,13 @@ export class SidebarService { icon: 'ion-android-laptop', selected: false, expanded: false, - order: 200 + order: 200, + subMenu: [ + { + title: 'Typography', + name: 'Typography', + }, + ] }, { title: 'Maps',