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{
text-align: right;
width: 100%;
}
.logo{
.enalogo{
width:25%;
min-width: 15%;
cursor: pointer;
}
.egalogo{
width:17%;
min-width: 12%;
cursor: pointer;
}
.title{
color:white;
width:25%;
......@@ -90,6 +95,8 @@ nav ul.menu li a{
width:15%;
cursor: pointer;
}
.title{
color:white;
width:25%;
......
......@@ -5,10 +5,14 @@
<mat-toolbar color="primary" class="toolbar">
<mat-toolbar-row>
<div class="logo" routerLink="">
<img src="assets/ENA_Logo_notagline.png" alt="ENA Logo">
</div>
<ng-container *ngIf="isAuthenticated()">
<div *ngIf="!isEga()" class="enalogo" routerLink="">
<img src="assets/ENA_Logo_notagline.png" alt="ENA Logo">
</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">
<a routerLink="">
<div class="title">
......
......@@ -39,4 +39,8 @@ export class HeaderComponent {
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