mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +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
|
|
@ -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('Ngx-admin - most popular admin dashboard on Angular 9+ and Nebular.');
|
||||
this.themeService.changeTheme('ngx-landing');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue