diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2025-04-06 15:52:10 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2025-04-06 15:52:10 -0400 |
commit | 7df725c6e048ceaf5b8228f6157372c90cc9cc58 (patch) | |
tree | 12536f1c65517d6cd8fbec8f2fbe5dc989438dec /ufund-ui | |
parent | ca4443d0d0c5e2a3ee31ffe4a957bcfc3cac8114 (diff) | |
download | JellySolutions-7df725c6e048ceaf5b8228f6157372c90cc9cc58.tar.gz JellySolutions-7df725c6e048ceaf5b8228f6157372c90cc9cc58.tar.bz2 JellySolutions-7df725c6e048ceaf5b8228f6157372c90cc9cc58.zip |
Restore header
Diffstat (limited to 'ufund-ui')
-rw-r--r-- | ufund-ui/src/app/app.component.css | 2 | ||||
-rw-r--r-- | ufund-ui/src/app/app.component.html | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/ufund-ui/src/app/app.component.css b/ufund-ui/src/app/app.component.css index 2ed8131..3f3d053 100644 --- a/ufund-ui/src/app/app.component.css +++ b/ufund-ui/src/app/app.component.css @@ -84,6 +84,4 @@ /* opacity: 1;*/ /* transform: translate3d(0, 0.2em, 0);*/ /*}*/ - - } diff --git a/ufund-ui/src/app/app.component.html b/ufund-ui/src/app/app.component.html index 8a0fd04..aebf9be 100644 --- a/ufund-ui/src/app/app.component.html +++ b/ufund-ui/src/app/app.component.html @@ -6,13 +6,13 @@ </a> </div> <div> - <button *ngIf="(currentUser | async)?.type === userType.MANAGER" routerLink="/dashboard">Dashboard</button> - <button routerLink="/cupboard">Cupboard</button> - <button *ngIf="(currentUser | async)?.type === userType.HELPER" routerLink="/basket">Basket</button> + <a *ngIf="(currentUser | async)?.type === userType.MANAGER" routerLink="/dashboard">Dashboard</a> + <a routerLink="/cupboard">Cupboard</a> + <a *ngIf="(currentUser | async)?.type === userType.HELPER" routerLink="/basket">Basket</a> <!-- <span>{{currentUser$ | async}}</span>--> <button *ngIf="currentUser | async" (click)="logout()">Log Out</button> <button *ngIf="!(currentUser | async)" (click)="login()">Log In</button> - <button class="button" (click)="toggleColorScheme()"><span class="icon">brightness_7</span></button> + <a href="#" (click)="$event.preventDefault(); toggleColorScheme()"><span class="icon">brightness_7</span></a> </div> </div> |