ngx-admin/src/app/@theme/layouts/one-column/one-column.layout.ts
2017-04-28 14:59:24 +03:00

26 lines
585 B
TypeScript

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 {
}