mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 17:00:13 +01:00
feat(demo): add landing page with docs (#1951)
This commit is contained in:
parent
67c9587b87
commit
43cc3a1556
190 changed files with 15425 additions and 21 deletions
23
docs/app/@core/data/service/header-menu.service.ts
Normal file
23
docs/app/@core/data/service/header-menu.service.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
import { of as observableOf, Observable } from 'rxjs';
|
||||
|
||||
import { NbMenuItem } from '@nebular/theme';
|
||||
|
||||
@Injectable()
|
||||
export class HeaderMenuService {
|
||||
|
||||
private headerMenu: NbMenuItem[] = [
|
||||
{
|
||||
title: 'Home',
|
||||
link: '/',
|
||||
},
|
||||
{
|
||||
title: 'Docs',
|
||||
link: '/docs',
|
||||
},
|
||||
];
|
||||
|
||||
getHeaderMenu(): Observable<NbMenuItem[]> {
|
||||
return observableOf(this.headerMenu);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue