feat(auth): put login and register templates in files
This commit is contained in:
parent
b1e173f44b
commit
8ba6d4e4d9
6 changed files with 172 additions and 182 deletions
|
@ -1,7 +1,7 @@
|
|||
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { RouterOutlet } from '@angular/router';
|
||||
import { FooterComponent } from './shared/components/footer/footer.component';
|
||||
import { FooterComponent } from '@shared/components/footer/footer.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
|
@ -12,10 +12,5 @@ import { FooterComponent } from './shared/components/footer/footer.component';
|
|||
styleUrl: './app.component.css',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class AppComponent implements OnInit {
|
||||
ngOnInit() {
|
||||
const count = +(localStorage.getItem('reloadCount') ?? 0);
|
||||
localStorage.setItem('reloadCount', (count + 1).toString());
|
||||
console.log('Reload count from localStorage:', count + 1);
|
||||
}
|
||||
export class AppComponent {
|
||||
}
|
||||
|
|
Reference in a new issue