ngx-admin/docs/app/pages/home/material-landing/material-landing.component.ts

21 lines
902 B
TypeScript
Raw Normal View History

2020-03-12 13:31:36 +03:00
import { Component } from '@angular/core';
import { NbThemeService } from '@nebular/theme';
import {MetadataService} from '../../../../../src/app/@core/utils/metadata.service';
2020-03-12 13:31:36 +03:00
@Component({
selector: 'ngx-material-landing',
templateUrl: './material-landing.component.html',
styleUrls: [
'./material-landing.component.scss',
2020-03-23 15:29:27 +03:00
'../landing-home.component.scss',
],
2020-03-12 13:31:36 +03:00
})
export class MaterialLandingComponent {
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');
}
2020-03-23 15:29:27 +03:00
}