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: `
|
|
|
|
|
<nga-layout>
|
2017-04-17 08:28:11 +03:00
|
|
|
<nga-layout-header fixed>
|
2017-05-06 14:52:41 +03:00
|
|
|
<ngx-header></ngx-header>
|
2017-04-17 08:28:11 +03:00
|
|
|
</nga-layout-header>
|
2017-04-17 19:01:47 +03:00
|
|
|
|
2017-07-21 18:40:39 +03:00
|
|
|
<nga-sidebar responsive>
|
2017-07-21 19:31:01 +03:00
|
|
|
<button class="btn btn-hero-success main-btn"><i class="ion ion-social-github-outline"></i> Support Us</button>
|
2017-04-21 17:23:44 +03:00
|
|
|
<ng-content select="nga-menu"></ng-content>
|
2017-04-14 18:28:27 +03:00
|
|
|
</nga-sidebar>
|
2017-04-18 15:45:49 +03:00
|
|
|
|
2017-04-13 14:24:23 +03:00
|
|
|
<nga-layout-column>
|
2017-04-14 18:28:27 +03:00
|
|
|
<ng-content select="router-outlet"></ng-content>
|
2017-04-13 14:24:23 +03:00
|
|
|
</nga-layout-column>
|
2017-04-18 15:45:49 +03:00
|
|
|
|
2017-04-18 15:27:37 +03:00
|
|
|
<nga-layout-footer fixed>
|
2017-05-06 14:52:41 +03:00
|
|
|
<ngx-footer></ngx-footer>
|
2017-04-17 19:01:47 +03:00
|
|
|
</nga-layout-footer>
|
2017-04-13 14:24:23 +03:00
|
|
|
</nga-layout>
|
|
|
|
|
`,
|
|
|
|
|
})
|
2017-04-28 14:59:24 +03:00
|
|
|
export class OneColumnLayoutComponent {
|
2017-04-13 14:24:23 +03:00
|
|
|
}
|