refactor(app): make a bit more neat structure

This commit is contained in:
Dmitry Nehaychik 2017-04-28 14:59:24 +03:00
parent 91c780c256
commit 44f2f562a9
20 changed files with 24 additions and 17 deletions

View file

@ -0,0 +1,26 @@
import { Component } from '@angular/core';
@Component({
selector: 'one-column-layout',
template: `
<nga-layout>
<nga-layout-header fixed>
<base-header></base-header>
</nga-layout-header>
<nga-sidebar>
<ng-content select="nga-menu"></ng-content>
</nga-sidebar>
<nga-layout-column>
<ng-content select="router-outlet"></ng-content>
</nga-layout-column>
<nga-layout-footer fixed>
<base-footer></base-footer>
</nga-layout-footer>
</nga-layout>
`,
})
export class OneColumnLayoutComponent {
}