Skip to content

Commit

Permalink
logo and homebridge text should link to status page
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Nov 30, 2024
1 parent 105fdd8 commit a75c68d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Plugin developers:
- add plugin config validation functionality
- refactor status and child bridge widgets
- update default dashboard layout
- logo and `homebridge` text should link to status page

### Other Changes

Expand Down
36 changes: 20 additions & 16 deletions ui/src/app/shared/layout/sidebar/sidebar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@
[attr.aria-label]="'menu.sidebar.aria_menu' | translate"
>
<span class="mr-2 d-block d-lg-none" style="font-size: 0.9rem; color: #dddddd"></span>
<img
style="height: 35px; width: 35px"
ngSrc="../../../../assets/homebridge-logo.svg"
alt="HB Logo"
height="35"
width="35"
/>
<div class="hb-logo-text-mobile">Homebridge</div>
<a [routerLink]="['/']" [attr.aria-label]="'menu.label_status' | translate">
<img
style="height: 35px; width: 35px"
ngSrc="../../../../assets/homebridge-logo.svg"
alt="HB Logo"
height="35"
width="35"
/>
<div class="hb-logo-text-mobile">Homebridge</div>
</a>
<div class="hamburger-icon" [ngClass]="{ 'hamburger-icon-cross': isExpanded }">
<span></span>
<span></span>
Expand All @@ -27,14 +29,16 @@

<div class="sidebar" [ngClass]="{ 'expanded': isExpanded }" role="navigation" id="sidebar">
<div class="header" (click)="toggleSidebar()" tabindex="0" role="button" (keydown)="handleKeydown($event)">
<img
style="height: 35px; width: 35px"
ngSrc="../../../../assets/homebridge-logo.svg"
alt="HB Logo"
height="35"
width="35"
/>
<div class="hb-logo-text">Homebridge</div>
<a [routerLink]="['/']" [attr.aria-label]="'menu.label_status' | translate">
<img
style="height: 35px; width: 35px"
ngSrc="../../../../assets/homebridge-logo.svg"
alt="HB Logo"
height="35"
width="35"
/>
<div class="hb-logo-text">Homebridge</div>
</a>
</div>
<div class="link-wrapper">
<div class="link">
Expand Down

0 comments on commit a75c68d

Please sign in to comment.