mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
30 lines
748 B
TypeScript
30 lines
748 B
TypeScript
import { Component } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'ngx-two-columns-layout',
|
|
styleUrls: ['./two-columns.layout.scss'],
|
|
template: `
|
|
<nb-layout windowMode>
|
|
<nb-layout-header fixed>
|
|
<ngx-header></ngx-header>
|
|
</nb-layout-header>
|
|
|
|
<nb-sidebar class="menu-sidebar" tag="menu-sidebar" responsive>
|
|
<ng-content select="nb-menu"></ng-content>
|
|
</nb-sidebar>
|
|
|
|
<nb-layout-column class="small">
|
|
</nb-layout-column>
|
|
|
|
<nb-layout-column>
|
|
<ng-content select="router-outlet"></ng-content>
|
|
</nb-layout-column>
|
|
|
|
<nb-layout-footer fixed>
|
|
<ngx-footer></ngx-footer>
|
|
</nb-layout-footer>
|
|
|
|
</nb-layout>
|
|
`,
|
|
})
|
|
export class TwoColumnsLayoutComponent {}
|