Commit e9080cda authored by Rajkumar-D's avatar Rajkumar-D
Browse files

Adding EGA logo

parent 152bf11a
Pipeline #173032 passed with stages
in 5 minutes and 1 second
...@@ -60,11 +60,16 @@ nav ul.menu li a{ ...@@ -60,11 +60,16 @@ nav ul.menu li a{
text-align: right; text-align: right;
width: 100%; width: 100%;
} }
.logo{ .enalogo{
width:25%; width:25%;
min-width: 15%; min-width: 15%;
cursor: pointer; cursor: pointer;
} }
.egalogo{
width:17%;
min-width: 12%;
cursor: pointer;
}
.title{ .title{
color:white; color:white;
width:25%; width:25%;
...@@ -90,6 +95,8 @@ nav ul.menu li a{ ...@@ -90,6 +95,8 @@ nav ul.menu li a{
width:15%; width:15%;
cursor: pointer; cursor: pointer;
} }
.title{ .title{
color:white; color:white;
width:25%; width:25%;
......
...@@ -5,10 +5,14 @@ ...@@ -5,10 +5,14 @@
<mat-toolbar color="primary" class="toolbar"> <mat-toolbar color="primary" class="toolbar">
<mat-toolbar-row> <mat-toolbar-row>
<ng-container *ngIf="isAuthenticated()">
<div class="logo" routerLink=""> <div *ngIf="!isEga()" class="enalogo" routerLink="">
<img src="assets/ENA_Logo_notagline.png" alt="ENA Logo"> <img src="assets/ENA_Logo_notagline.png" alt="ENA Logo">
</div> </div>
<div *ngIf="isEga()" class="egalogo" routerLink="">
<img src="assets/ega-logo.png" alt="ENA Logo">
</div>
</ng-container>
<div class="float-left inline-block padding-left-large" id="local-title"> <div class="float-left inline-block padding-left-large" id="local-title">
<a routerLink=""> <a routerLink="">
<div class="title"> <div class="title">
......
...@@ -39,4 +39,8 @@ export class HeaderComponent { ...@@ -39,4 +39,8 @@ export class HeaderComponent {
logout() { logout() {
this._webinAuthenticationService.logout(); this._webinAuthenticationService.logout();
} }
isEga(): boolean {
return this._webinAuthenticationService.ega;
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment