diff options
| author | Tyler Ferrari <69283684+Sowgro@users.noreply.github.com> | 2025-04-01 02:17:25 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-01 02:17:25 -0400 | 
| commit | 233fe120d2a9b30e0150401ebdfeb946dc9c2c07 (patch) | |
| tree | 98583e1b1d21d1a0cc57e8ff3489fbbf758eccff /ufund-ui/src/app/app.component.html | |
| parent | c6bbb29f42eaea7d0c8aebdb7b95be0287cbf4f9 (diff) | |
| parent | 0e9c0803e35a23ef2e873dc7ebf224a49a92f207 (diff) | |
| download | JellySolutions-233fe120d2a9b30e0150401ebdfeb946dc9c2c07.tar.gz JellySolutions-233fe120d2a9b30e0150401ebdfeb946dc9c2c07.tar.bz2 JellySolutions-233fe120d2a9b30e0150401ebdfeb946dc9c2c07.zip  | |
Merge pull request #22 from RIT-SWEN-261-02/css
Merge css into main
Diffstat (limited to 'ufund-ui/src/app/app.component.html')
| -rw-r--r-- | ufund-ui/src/app/app.component.html | 19 | 
1 files changed, 15 insertions, 4 deletions
diff --git a/ufund-ui/src/app/app.component.html b/ufund-ui/src/app/app.component.html index a490237..959eada 100644 --- a/ufund-ui/src/app/app.component.html +++ b/ufund-ui/src/app/app.component.html @@ -1,6 +1,17 @@ - -<h1>jelly solutions</h1> -<span>{{currentUser$ | async}}</span> <br> <button *ngIf="currentUser$.value != 'Logged out.'" (click)="reloadPage()"> Log Out</button> -<hr> +<div id="header"> +    <div> +        <a routerLink="/"> +            <h1>Jelly Solutions</h1> +        </a> +    </div> +    <div> +        <a routerLink="/dashboard">Dashboard</a> +        <a routerLink="/cupboard">Cupboard</a> +        <a 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> +    </div> +</div>  <router-outlet />  | 
