mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 16:00:14 +01:00
add meta data (#5641)
* fix(pages): fix titles and descriptions * fix(pages): titles and discriptions * fix(pages): tripple * fix(pages): fix titles * feat(app): add og logo
This commit is contained in:
parent
34b8e77d09
commit
ee88d60f8b
18 changed files with 112 additions and 30 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { NbThemeService } from '@nebular/theme';
|
||||
import {MetadataService} from '../../../../../src/app/@core/utils/metadata.service';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-material-landing',
|
||||
|
|
@ -10,7 +11,10 @@ import { NbThemeService } from '@nebular/theme';
|
|||
],
|
||||
})
|
||||
export class MaterialLandingComponent {
|
||||
constructor(private themeService: NbThemeService) {
|
||||
constructor(private themeService: NbThemeService, private metadataService: MetadataService) {
|
||||
this.metadataService.updateDescription('Ngx-admin material works perfectly with Angular Material and Nebular.' +
|
||||
' Over 40+ Angular Components and 60+ Usage Examples.Take the best from both!');
|
||||
this.metadataService.updateTitle('Ngx-admin material dashboard template based on Angular 9+ and Bootstrap 4+');
|
||||
this.themeService.changeTheme('ngx-landing-material');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue