Add material theme for material landing page

This commit is contained in:
eugene-sinitsyn 2020-03-12 17:41:53 +03:00 committed by Sergey Andrievskiy
parent a962c248a5
commit 64d6a5a23d
4 changed files with 49 additions and 5 deletions

View file

@ -1,4 +1,5 @@
import { Component } from '@angular/core';
import { NbThemeService } from '@nebular/theme';
@Component({
selector: 'ngx-material-landing',
@ -8,4 +9,8 @@ import { Component } from '@angular/core';
'../landing-home.component.scss'
]
})
export class MaterialLandingComponent {}
export class MaterialLandingComponent {
constructor(private themeService: NbThemeService) {
this.themeService.changeTheme('ngx-landing-material');
}
}