mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
fix(lint): url length ts lint
This commit is contained in:
parent
dad1ef613a
commit
3dd0fb36fd
2 changed files with 4 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ export class ThemeSectionComponent implements OnDestroy {
|
|||
return this.forMaterialTheme ? '#6200ee' : '#00db92';
|
||||
}
|
||||
|
||||
// tslint:disable:max-line-length
|
||||
public get materialLightDemoUrl(): string {
|
||||
return this.forMaterialTheme
|
||||
? 'https://www.akveo.com/ngx-admin/pages/dashboard?theme=material-light&utm_campaign=ngx_admin%20-%20demo%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=ngx_admin_material_themes_material_light'
|
||||
|
|
@ -112,6 +113,7 @@ export class ThemeSectionComponent implements OnDestroy {
|
|||
? 'https://www.akveo.com/ngx-admin/pages/dashboard?theme=corporate&utm_campaign=ngx_admin%20-%20demo%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=ngx_admin_material_themes_corporate'
|
||||
: 'https://www.akveo.com/ngx-admin/pages/dashboard?theme=corporate&utm_campaign=ngx_admin%20-%20demo%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=ngx_admin_landing_themes_corporate';
|
||||
}
|
||||
// tslint:enable:max-line-length
|
||||
|
||||
constructor(
|
||||
private themeService: NbThemeService,
|
||||
|
|
|
|||
|
|
@ -54,11 +54,13 @@ export class NgxStarterComponent implements OnDestroy, OnInit {
|
|||
private metadataService: MetadataService,
|
||||
) {}
|
||||
|
||||
// tslint:disable:max-line-length
|
||||
ngOnInit(): void {
|
||||
this.metadataService.updateTitle('Ngx-admin themes for e-commerce dashboard on Angular 9+ and Nebular');
|
||||
this.metadataService.updateDescription('Choose a theme for ngx-admin e-commerce dashboard: Material, Light and Dark, Cosmic and Corporate.');
|
||||
this.metadataService.updateKeywords('Ngx-admin themes, material theme, ngx-admin cosmic, ngx-admin corporate theme, dark theme ngx-admin');
|
||||
}
|
||||
// tslint:enable:max-line-length
|
||||
|
||||
navigate(themeName: string) {
|
||||
this.currentThemeService.setCurrentTheme(themeName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue