2017-04-13 14:24:23 +03:00
|
|
|
import { Component } from '@angular/core';
|
|
|
|
|
|
2017-06-08 23:18:11 +03:00
|
|
|
// TODO: move layouts into the framework
|
2017-04-13 14:24:23 +03:00
|
|
|
@Component({
|
2017-05-06 15:35:15 +03:00
|
|
|
selector: 'ngx-one-column-layout',
|
2017-06-08 23:06:33 +03:00
|
|
|
styleUrls: ['./one-column.layout.scss'],
|
2017-04-13 14:24:23 +03:00
|
|
|
template: `
|
2017-08-01 17:42:21 +03:00
|
|
|
<nb-layout>
|
|
|
|
|
<nb-layout-header fixed>
|
2017-05-06 14:52:41 +03:00
|
|
|
<ngx-header></ngx-header>
|
2017-08-01 17:42:21 +03:00
|
|
|
</nb-layout-header>
|
2017-04-17 19:01:47 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
<nb-sidebar class="menu-sidebar" tag="menu-sidebar" responsive>
|
|
|
|
|
<nb-sidebar-header>
|
2017-09-29 19:34:07 +03:00
|
|
|
<a href="#" class="btn btn-hero-success main-btn">
|
2017-07-26 20:39:12 +03:00
|
|
|
<i class="ion ion-social-github"></i> <span>Support Us</span>
|
2017-09-18 19:48:11 +03:00
|
|
|
</a>
|
2017-08-01 17:42:21 +03:00
|
|
|
</nb-sidebar-header>
|
|
|
|
|
<ng-content select="nb-menu"></ng-content>
|
|
|
|
|
</nb-sidebar>
|
2017-04-18 15:45:49 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
<nb-layout-column>
|
2017-04-14 18:28:27 +03:00
|
|
|
<ng-content select="router-outlet"></ng-content>
|
2017-08-01 17:42:21 +03:00
|
|
|
</nb-layout-column>
|
2017-04-18 15:45:49 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
<nb-layout-footer fixed>
|
2017-05-06 14:52:41 +03:00
|
|
|
<ngx-footer></ngx-footer>
|
2017-08-01 17:42:21 +03:00
|
|
|
</nb-layout-footer>
|
|
|
|
|
</nb-layout>
|
2017-04-13 14:24:23 +03:00
|
|
|
`,
|
|
|
|
|
})
|
2017-04-28 14:59:24 +03:00
|
|
|
export class OneColumnLayoutComponent {
|
2017-04-13 14:24:23 +03:00
|
|
|
}
|