mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 08:50:13 +01:00
fix(pages): fix titles and descriptions
This commit is contained in:
parent
ef1421ee80
commit
cca53006f4
11 changed files with 59 additions and 18 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
import { Component } from '@angular/core';
|
||||
import { NbThemeService } from '@nebular/theme';
|
||||
import {MetadataService} from '../../../../src/app/@core/utils/metadata.service';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-landing-home',
|
||||
|
|
@ -13,8 +14,10 @@ import { NbThemeService } from '@nebular/theme';
|
|||
styleUrls: ['./landing-home.component.scss'],
|
||||
})
|
||||
export class LandingHomeComponent {
|
||||
|
||||
constructor(private themeService: NbThemeService) {
|
||||
constructor(private themeService: NbThemeService, private metadataService: MetadataService) {
|
||||
this.metadataService.updateDescription('Save more than $33,000 using ngx-admin for personal and commercial' +
|
||||
' use. The dashboard is based on Angular 9+ and Bootstrap 4+. Completely FREE and MIT licensed.');
|
||||
this.metadataService.updateTitle('The most popular admin dashboard based on Angular 9+ and Nebular.');
|
||||
this.themeService.changeTheme('ngx-landing');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue