diff options
| author | Akash Keshav <112591754+domesticchores@users.noreply.github.com> | 2025-04-04 14:53:32 -0400 | 
|---|---|---|
| committer | Akash Keshav <112591754+domesticchores@users.noreply.github.com> | 2025-04-04 14:53:32 -0400 | 
| commit | b4a9cd9d540d42a61bee9045d41ada392305a8d5 (patch) | |
| tree | 3cddb6389800788cb5d8b397cf21dbd40142be1b /ufund-ui/src/app/app.component.html | |
| parent | 8cdf84ae4a6765db8f462cc71e2685c1d3514f08 (diff) | |
| download | JellySolutions-b4a9cd9d540d42a61bee9045d41ada392305a8d5.tar.gz JellySolutions-b4a9cd9d540d42a61bee9045d41ada392305a8d5.tar.bz2 JellySolutions-b4a9cd9d540d42a61bee9045d41ada392305a8d5.zip  | |
add light/dark mode toggle, only homepage is fully functional. -ak
Diffstat (limited to '')
| -rw-r--r-- | ufund-ui/src/app/app.component.html | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/ufund-ui/src/app/app.component.html b/ufund-ui/src/app/app.component.html index f697695..a6e6e6a 100644 --- a/ufund-ui/src/app/app.component.html +++ b/ufund-ui/src/app/app.component.html @@ -5,12 +5,13 @@          </a>      </div>      <div> -        <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> +        <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>  <!--        <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>      </div>  </div>  | 
