refactor: Redirect to orginal route after login, restructure project files

This commit is contained in:
Phan Huy Tran 2025-02-13 10:29:13 +01:00 committed by Huy
parent 29d3c53b19
commit 704cc22858
6 changed files with 20 additions and 12 deletions

View file

@ -0,0 +1,5 @@
@if (isLoggedIn) {
<button routerLink="/home">Zur Homepage</button>
} @else {
<button (click)="login()">Einloggen</button>
}