mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-25 17:34:08 +01:00
chore: base layout
This commit is contained in:
parent
1fb884a633
commit
d82d691681
19 changed files with 195 additions and 44 deletions
1
src/app/@theme/layouts/index.ts
Normal file
1
src/app/@theme/layouts/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from './one-coll-layout/one-coll.layout';
|
||||
18
src/app/@theme/layouts/one-coll-layout/one-coll.layout.ts
Normal file
18
src/app/@theme/layouts/one-coll-layout/one-coll.layout.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'one-coll-layout',
|
||||
template: `
|
||||
<nga-layout>
|
||||
<nga-layout-header fixed></nga-layout-header>
|
||||
<nga-sidebar fixed></nga-sidebar>
|
||||
<nga-layout-column>
|
||||
<ng-content></ng-content>
|
||||
</nga-layout-column>
|
||||
<nga-layout-footer fixed></nga-layout-footer>
|
||||
</nga-layout>
|
||||
`,
|
||||
})
|
||||
export class RootLayoutComponent {
|
||||
constructor() { }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue