diff options
Diffstat (limited to '')
| -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 />  | 
