Skip to content

Commit 96d05b2

Browse files
feat: TTA-113 Set a new logo for TT - version 2 (#909)
Co-authored-by: Jimmy Jaramillo <[email protected]>
1 parent c32641c commit 96d05b2

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

src/app/modules/shared/components/sidebar/sidebar.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div id="sidebar-wrapper" class="table-row border-r border-grayTW-lighter shadow-sm bg-whiteTW dark:bg-grayTW-dark dark:border-grayTW">
33
<div class="table-cell">
44
<div class="relative flex items-center border-b border-grayTW-lighter dark:border-grayTW sidebar-heading">
5-
<img src="assets/img/time-tracker-logo.png" alt="ioet-logo" width="200" height="auto"/>
5+
<img [src]="urlLogo" alt="ioet-logo" width="200" height="auto"/>
66
</div>
77
<app-user></app-user>
88
<div class="list-group list-group-flush bg-whiteTW dark:bg-grayTW-darker">

src/app/modules/shared/components/sidebar/sidebar.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export class SidebarComponent implements OnInit, OnDestroy {
1919
navStart;
2020
sidebarItems$: Subscription;
2121
isProduction = environment.production === EnvironmentType.TT_PROD_LEGACY;
22+
urlLogo = this.isProduction ? 'assets/img/time-tracker-logo.png' : 'assets/img/time-tracker-logo-v2.png';
2223

2324
constructor(
2425
private router: Router,
18.8 KB
Loading

0 commit comments

Comments
 (0)