fix(pages): fix titles

This commit is contained in:
Alex 2020-04-04 14:56:51 +03:00
parent 47c87d9c74
commit 4f23fece97
3 changed files with 5 additions and 4 deletions

View file

@ -37,8 +37,9 @@ export class LandingDocsComponent implements OnDestroy {
private paginationService: NgxPaginationService, private paginationService: NgxPaginationService,
private metadataService: MetadataService) { private metadataService: MetadataService) {
this.metadataService.updateDescription('Use ngx-admin to bootstrap the development of your product and' + this.metadataService.updateDescription('Free and Open Source ngx-admin to bootstrap the development of ' +
' provide an ecosystem for building production-ready apps or prototypes. Free and Open Source!'); 'your product or to learn Angular. Over 40+ Angular Components and 60+ Usage Examples.');
this.metadataService.updateTitle('A front-end admin dashboard on Angular 9+, Bootstrap 4+ and Nebular.');
this.themeService.changeTheme('docs-page'); this.themeService.changeTheme('docs-page');
this.paginationService.setPaginationItems('/docs'); this.paginationService.setPaginationItems('/docs');

View file

@ -17,7 +17,7 @@ export class LandingHomeComponent {
constructor(private themeService: NbThemeService, private metadataService: MetadataService) { constructor(private themeService: NbThemeService, private metadataService: MetadataService) {
this.metadataService.updateDescription('Save more than $33,000 using ngx-admin for personal and commercial' + 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.'); ' 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.metadataService.updateTitle('Ngx-admin - most popular admin dashboard on Angular 9+ and Nebular.');
this.themeService.changeTheme('ngx-landing'); this.themeService.changeTheme('ngx-landing');
} }
} }

View file

@ -14,7 +14,7 @@ export class MaterialLandingComponent {
constructor(private themeService: NbThemeService, private metadataService: MetadataService) { constructor(private themeService: NbThemeService, private metadataService: MetadataService) {
this.metadataService.updateDescription('Ngx-admin material works perfectly with Angular Material and Nebular.' + 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!'); ' Over 40+ Angular Components and 60+ Usage Examples.Take the best from both!');
this.metadataService.updateTitle('New Material theme of ngx-admin dashboard template based on Angular 9+'); this.metadataService.updateTitle('Ngx-admin material dashboard template based on Angular 9+ and Bootstrap 4+');
this.themeService.changeTheme('ngx-landing-material'); this.themeService.changeTheme('ngx-landing-material');
} }
} }