feat: login and register, style is not ready
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ import { ThemeService } from './services/theme.service';
|
|||||||
styleUrl: './app.css'
|
styleUrl: './app.css'
|
||||||
})
|
})
|
||||||
export class App implements OnInit {
|
export class App implements OnInit {
|
||||||
constructor(private readonly themeService: ThemeService) {}
|
constructor(private readonly themeService: ThemeService) { }
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.themeService.initTheme();
|
this.themeService.initTheme();
|
||||||
|
|||||||
@@ -25,9 +25,9 @@
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@if (showLoginDialog) {
|
@if (showLoginDialog) {
|
||||||
<app-login-dialog (onClose)="closeLoginDialog()" (onSuccess)="onLoginSuccess()" />
|
<app-login-dialog (onClose)="closeLoginDialog()" (onSuccess)="onLoginSuccess()" />
|
||||||
}
|
}
|
||||||
|
|
||||||
@if (showRegisterDialog) {
|
@if (showRegisterDialog) {
|
||||||
<app-register-dialog (onClose)="closeRegisterDialog()" (onSuccess)="onRegisterSuccess()" />
|
<app-register-dialog (onClose)="closeRegisterDialog()" (onSuccess)="onRegisterSuccess()" />
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user