feat(auth): put login and register templates in files

This commit is contained in:
Constantin Simonis 2025-05-07 15:10:21 +02:00
commit 8ba6d4e4d9
No known key found for this signature in database
GPG key ID: 3878FF77C24AF4D2
6 changed files with 172 additions and 182 deletions

View file

@ -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 {
}