Skip to content

Commit

Permalink
Fix header logo link
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jan 30, 2025
1 parent 858d7b1 commit 28abdd8
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
<header>
<a class="skip-to-content" (activated)='skipToMainContent()' clickOnReturn>דלג לתוכן עיקרי</a>
<div class="logo">
<a [routerLink]='logoRouterLink' [queryParamsHandling]='"preserve"' aria-label='homepage' [style.background-image]='"url(assets/common/img/" + globalSettings.theme.siteLogo + ")"'>
</a>
@if (globalSettings.theme.siteUrl) {
<a [href]='globalSettings.theme.siteUrl' aria-label='homepage' [style.background-image]='"url(assets/common/img/" + globalSettings.theme.siteLogo + ")"'>
</a>
} @else {
<a [routerLink]='logoRouterLink' [queryParamsHandling]='"preserve"' aria-label='homepage' [style.background-image]='"url(assets/common/img/" + globalSettings.theme.siteLogo + ")"'>
</a>
}
</div>
<div *ngIf="showSearchBar" class="search-div layout-desktop">
<app-bk-search-bar [fake]='fakeSearchBar' (submit)='doSearch($event)'></app-bk-search-bar>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ export class BkHeaderComponent {

constructor (public globalSettings: GlobalSettingsService, private router: Router, private platform: PlatformService, private window: WindowService, public seo: SeoService) {
this.showAuth = !globalSettings.theme.disableAuth && this.platform.browser();
if (this.globalSettings.themeId === 'soproc') {
this.logoRouterLink = ['/i/units/gov_social_service_unit/main'];
}
}

doSearch(href?: string) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,6 @@
"searchPlaceholder": "חפשו הכל... סעיף תקציבי, ארגון, אדם או כל דבר אחר העולה על דעתכם..",
"siteLogo": "budgetkey.svg",
"siteName": "מפתח התקציב",
"siteUrl": "https://next.obudget.org",
"themeId": "budgetkey",
"userGroup": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,6 @@
"searchPlaceholder": "ابحثوا عن كل شيء.. بند في الميزانية, منظمة, شخص, او كل شيء اخر يدور في خلدك",
"siteLogo": "budgetkey.svg",
"siteName": "مفتاح الميزاينة",
"siteUrl": "https://next.obudget.org",
"themeId": "budgetkey",
"userGroup": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,6 @@
"searchPlaceholder": "Search for anything... budget items, organizations or anything you can think of",
"siteLogo": "budgetkey.svg",
"siteName": "The Budget Key",
"siteUrl": "https://next.obudget.org",
"themeId": "budgetkey",
"userGroup": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,6 @@
"searchPlaceholder": "חפשו הכל... סעיף תקציבי, ארגון, אדם או כל דבר אחר העולה על דעתכם..",
"siteLogo": "budgetkey.svg",
"siteName": "מפתח התקציב",
"siteUrl": "https://next.obudget.org",
"themeId": "budgetkey",
"userGroup": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,6 @@
"searchPlaceholder": "חפשו הכל... סעיף תקציבי, ארגון, אדם או כל דבר אחר העולה על דעתכם..",
"siteLogo": "budgetkey.svg",
"siteName": "מפתח התקציב",
"siteUrl": "https://next.obudget.org",
"themeId": "budgetkey",
"userGroup": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
}
],
"searchPlaceholder": "חפשו סעיפי תקציב...",
"siteLogo": "muni-logo-jaljulye.png",
"siteName": "מפתח התקציב העירוני - ג׳לג׳וליה",
"siteUrl": "https://next.obudget.org/i/org/municipality/500206271?theme=muni-jaljulye",
"themeId": "muni-jaljulye"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
}
],
"searchPlaceholder": "חפשו סעיפי תקציב...",
"siteLogo": "muni-logo-jaljulye.png",
"siteName": "מפתח התקציב העירוני - ג׳לג׳וליה",
"siteUrl": "https://next.obudget.org/i/org/municipality/500206271?theme=muni-jaljulye",
"themeId": "muni-jaljulye"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
}
],
"searchPlaceholder": "חפשו סעיפי תקציב...",
"siteLogo": "muni-logo-jaljulye.png",
"siteName": "מפתח התקציב העירוני - ג׳לג׳וליה",
"siteUrl": "https://next.obudget.org/i/org/municipality/500206271?theme=muni-jaljulye",
"themeId": "muni-jaljulye"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
}
],
"searchPlaceholder": "חפשו סעיפי תקציב...",
"siteLogo": "muni-logo-jaljulye.png",
"siteName": "מפתח התקציב העירוני - ג׳לג׳וליה",
"siteUrl": "https://next.obudget.org/i/org/municipality/500206271?theme=muni-jaljulye",
"themeId": "muni-jaljulye"
Expand Down
1 change: 0 additions & 1 deletion themes/theme.budgetkey.he.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
},
"BUDGETKEY_NG2_COMPONENTS_THEME": {
"themeId": "budgetkey",
"siteUrl": "https://next.obudget.org",
"siteLogo": "budgetkey.svg",
"siteName": "מפתח התקציב",
"searchPlaceholder": "חפשו הכל... סעיף תקציבי, ארגון, אדם או כל דבר אחר העולה על דעתכם..",
Expand Down

0 comments on commit 28abdd8

Please sign in to comment.