Refactored complex custom meta jank to use Angular SSR instead
This commit is contained in:
1 parent
d291409097
commit
febbc63f35
21 files changed
+1680
-657
No files matched your search
@@ -3,8 +3,8 @@ import {AuthService} from '../shared/services/auth.service';
|
||||
import {Router} from '@angular/router';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {ViewportService} from '../shared/services/viewport.service';
|
||||
import { Title } from '@angular/platform-browser';
|
||||
import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
||||
import {SeoService} from '../shared/services/seo.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-login',
|
||||
@@ -27,11 +27,14 @@ export class LoginComponent implements OnInit {
|
||||
private authService: AuthService,
|
||||
private router: Router,
|
||||
private deviceService: ViewportService,
|
||||
private titleService: Title,
|
||||
private seo: SeoService,
|
||||
) {}
|
||||
|
||||
ngOnInit() {
|
||||
this.titleService.setTitle('Login | itzMiney')
|
||||
this.seo.update({
|
||||
title:'Login',
|
||||
desc: 'Admin Panel Login'
|
||||
})
|
||||
this.isNarrow = this.deviceService.isNarrow;
|
||||
|
||||
if (this.authService.token) {
|
||||
|
||||
Reference in new issue
Block a user