diff options
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..3058117 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"> +    <span> +        <a routerLink="/"> +            <h1>Jelly Solutions</h1> +        </a> +    </span> +    <div> +        <a routerLink="/dashboard">Dashboard</a> +        <a routerLink="/cupboard">Cupboard</a> +        <a routerLink="/basket">Basket</a> +        <span>{{currentUser$ | async}}</span> +        <button *ngIf="currentUser$.value != 'Logged out.'" onclick="location.href='/';"> Log Out</button> +        <button *ngIf="currentUser$.value == 'Logged out.'" routerLink="/login"> Log In</button> +    </div> +</div>  <router-outlet />  | 
