fix(pages): fix titles and descriptions

This commit is contained in:
Alex 2020-04-02 19:22:11 +03:00
parent ef1421ee80
commit cca53006f4
11 changed files with 59 additions and 18 deletions

View file

@ -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');
}
}