This commit is contained in:
tiago.kayaya
2022-01-03 18:19:11 +01:00
parent 2e05e9410c
commit d6cc05a312
2 changed files with 25 additions and 3 deletions
+6 -2
View File
@@ -4,6 +4,10 @@ ion-tab-bar{
--color: #061b52;
}
ion-icon {
color: blue;
}
// Badge
// --------------------------------------------------
@@ -18,7 +22,7 @@ ion-badge {/* */
/* display: inline-block;*/
min-width: 18px;
min-width: 18px;
font-size: $badge-font-size;
/* font-weight: $badge-font-weight;
line-height: 1;
@@ -41,4 +45,4 @@ ion-badge {/* */
ion-tabs.tab .bottoms{
display: none;
}
}
}
+19 -1
View File
@@ -99,7 +99,25 @@ export class HeaderPage implements OnInit {
}
locationPathname(): string {
return window.location.pathname
let path = window.location.pathname;
if(path.includes('/home/events')){
return '/home/events';
}
else if(path.includes('/home/agenda')){
return '/home/agenda';
}
else if(path.includes('/home/gabinete-digital')){
return '/home/gabinete-digital';
}
else if(path.includes('/home/publications')){
return '/home/publications';
}
else if(path.includes('/home/chat')){
return '/home/chat';
}
else{
return path;
}
}
async openSearch() {